emgucv - how to convert mat to image in (Emgu CV version 3) in c#? -
in many blogs there question still there no answer it."world of programmers"!!!.
image<bgr, byte> imgeorigenal; capture capwebcam = null; imgeorigenal = capwebcam.queryframe();//error line
the error :cannot implicitly convert type 'emgu.cv.mat' 'emgu.cv.image
i need few lines of tested , working code.
thanks
the correct answer first comment @david_d sent under question.
image<bgr, byte> imgeorigenal = capwebcam.queryframe().toimage<bgr, byte>();
Comments
Post a Comment