我正在用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