Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

mat from buffer

$
0
0
I try to capture video from frame grabber. What I did is I point raw data from buffer into Mat as follow: myMat = Mat(Size (x, y), CV_8UC1, ImaqBuffer); Image below (picture 1) show what I got from myMat (image after change to Mat), compare to what I'd supposed to get (the image save direct from buffer) (picture 2). ![image description](/upfiles/1442912053934664.png) ![image description](/upfiles/14429123021980597.png) How can I solve this?

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>