Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

OpenCvSharp.CvConst class missing?

$
0
0

I am working on a project with OpenCvSharp.

I want to port this script to C#:

bool patternfound = findChessboardCorners(gray, patternsize, corners,
        CALIB_CB_ADAPTIVE_THRESH + CALIB_CB_NORMALIZE_IMAGE
        + CALIB_CB_FAST_CHECK);

if(patternfound)
  cornerSubPix(gray, corners, Size(11, 11), Size(-1, -1),
    TermCriteria(CV_TERMCRIT_EPS + CV_TERMCRIT_ITER, 30, 0.1));

drawChessboardCorners(img, patternsize, Mat(corners), patternfound);

and I got everything to work, except for the CV_TERMCRIT_EPS + CV_TERMCRIT_ITER etc. I just can't find theese constants! I looked for them in every package I could think of and searched the entire assembly tree for them with no success.

In the source code and the documentation, CvConst is used but I can't find that class!

I tried installing various NuGet Packages and ended up with the following:

  • OpenCvSharp4
  • OpenCvSharp4.runtime.win
  • OpenCvSharp4.Windows

(the first ones were installed by the last one)

So where is OpenCvSharp.CvConst?


Viewing all articles
Browse latest Browse all 3067

Trending Articles