123456789101112131415 |
- using OpenCV.Core;
- using OpenCV.ImgProc;
- namespace OpencvTest.Droid
- {
- class OpencvHelper : IOpencvHelper
- {
- public void Test()
- {
- var mat = new Mat(100, 100, CvType.Cv8uc1);
- var threshold = Imgproc.Threshold(mat, mat, 100, 255, 0);
- Imgproc.Canny(mat, mat, threshold, 255);
- }
- }
- }
|