我正在用c#和AForge进行图像识别,我得到了很少的匹配,这是伟大的,因为在图片中几乎没有相同的东西。但我该如何选择其中的一个呢?我需要以某种方式改变foreach(){}这里是我的代码: ExhaustiveTemplateMatching tm = new ExhaustiveTemplateMatching(0.925f);
// find all matchings with spec
我得到当前异常: UnsupportedImageFormatException: Unsupported pixel format of the source image.
AForge.Imaging.BlobCounter.BuildObjectsMap (AForge.Imaging.UnmanagedImage image)
AForge.Imaging.BlobCounterBas
我正在尝试使用AForge.net框架来获得一个简单的运动检测程序。在AForge网站是这样一个程序的例子,但它是相当含糊: // create motion detector
MotionDetector detector = new MotionDetector(
new SimpleBackgroundModelingDetector(),
new MotionAreaH