Home > Back-end >  Camera is MJPEG video, get a frame of data stored in the pvdata, then forced into IplImage, display
Camera is MJPEG video, get a frame of data stored in the pvdata, then forced into IplImage, display

Time:09-26

The code is as follows:
M_IpImage=(IplImage *) pvdata - & gt; PData;
CvNamedWindow (" ha ", CV_WINDOW_AUTOSIZE);
M_IpImage - & gt; ImageSize=pvdata - & gt; Datalen;
M_IpImage - & gt; Width=w;
M_IpImage - & gt; Height=h;
CvShowImage (" ha, "m_IpImage);

Error is as follows:


'the flag (paramer or structure field) (Unrecognized or unsupported array type) int function cvGetMat,
  • Related