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' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -