Opencv2.4.9+vs2010 due to OpenCV's canny operator cannot be adaptive threshold and have given the right upper and lower thresholds, so only a single image cannot detect a video stream or several images I Otsu method using Adaptive thresholds edge detection. Pictures of code complete, just install can be a good environment, the effect can be ~