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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -