|
@@ -7,6 +7,7 @@ namespace OpenCVTest
|
|
|
{
|
|
|
static void Main(string[] args)
|
|
|
{
|
|
|
+ //源码 https://gitee.com/CrazyIterBin/opencvsharp.git
|
|
|
Mat base_img = Cv2.ImRead(@"F:/20191204104138.jpg");
|
|
|
get_answer_from_sheet(base_img);
|
|
|
}
|
|
@@ -24,7 +25,8 @@ namespace OpenCVTest
|
|
|
Mat img = new Mat();
|
|
|
Cv2.Add(h, v,img);
|
|
|
Cv2.ConvertScaleAbs(img,img);
|
|
|
- Cv2.GaussianBlur(img, img, new Size { Width = 3, Height = 3 }, 0);
|
|
|
+ Cv2.GaussianBlur(img, img, new Size { Width = 3, Height = 3 }, 0);
|
|
|
+ //Cv2.Threshold(img, img, 120, 255, cv2);
|
|
|
}
|
|
|
}
|
|
|
}
|