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

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

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -