Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to convert CMSampleBufferRef to IplImage (iOS)

Hello all,

I have found an article to my question: http://stackoverflow.com/questions/5176209/what-is-the-best-fastest-way-to-convert-cmsamplebufferref-to-opencv-iplimage

but by testing I get only an unusable image, after I convert the IplImage back to UIImage. (the image is shifted from top to bottom (from left to right). The convert from IplImage to UIImage should be no problem (tested).

Could anyone tell me, how to make it work?

Thanks a log

Regards,

Pai