文章列表
Note:
If you found all of the a4 values are the same as a1, please change the init value of h4 such as:
static HashMap<String, String> h4 = new HashMap<String, String>(1);
package test;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map.Entry;
public cl ...
SVG file:
empty.svg
Just an empty one.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-flat-20030114.dtd">
<svg width="100%" height="100%" ...
Just list some frequence usage
------------------------------
tspan:
Get by type: var tspans = document.getElementsByTagName("tspan");
Get text: var text= tspan.firstChild.nodeValue;
Create text:
var txt=document.createElementNS('http://www.w3.org/2000/svg','text');
var tspan=document ...
KNN Ref:
http://www.hudong.com/wiki/KNN
http://en.wikipedia.org/wiki/K-nearest_neighbor_algorithm
Example Ref: (C Language)
http://www.opencv.org.cn/index.php/%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0%E4%B8%AD%E6%96%87%E5%8F%82%E8%80%83%E6%89%8B%E5%86%8C
from ml import *
from highgui import *
from cv ...
Issue about CreateTrackbar
Creates a trackbar and attaches it to the specified window
Usage:
int cvCreateTrackbar(trackbar name, window name, int* value, int count, callback on change );
value: Pointer to an integer variable, whose value will reflect the position of the slider. Upon creation, the ...
== Env Setup (Windows OS) ==
OpenCV - 2.0
Python - 2.6.5
Step 1: System Parameter setup for Python Path:
set %PYTHON_HOME%=D:\Rotter\OCR\python26
set %PATH%=%PATH%;%PYTHON_HOME%
Step 2: Set OpenCV lib into Python lib path:
Ref:
http://docs.python.org/library/site.html
http://www.juyimeng.com/h ...