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

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -