Ask Your Question

paipeng's profile - activity

2016-09-06 14:26:12 -0600 received badge  Popular Question (source)
2013-04-04 11:34:06 -0600 commented answer How to convert CMSampleBufferRef to IplImage (iOS)

Thanks, I will take a try.

2013-04-04 11:33:18 -0600 commented question How to convert CMSampleBufferRef to IplImage (iOS)

I am using "CMSampleBufferRef" from video preview buffer. not the captured image. make it different?

2013-04-04 11:31:16 -0600 commented answer How to convert CMSampleBufferRef to IplImage (iOS)

Hello Alexander, thanks for the answer. I have no problem for converting UIImage to IplImage and reverse. with cv::Mat from UIImage to IplImage also no problem. Only I want to try converting directly from CMSampleBufferRef to IplImage, but I got incorrect converted image.

Any idea with CMSampleBufferRef?

Regards,

Pai

2013-04-02 09:52:00 -0600 asked a question 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

2012-09-28 11:00:24 -0600 asked a question How to set the "-miphoneos-version-min=4.3" for iOS compiling

Hello all,

I have just compiled the opencv sourcecode under iOS 6.0 XCode 4.5.

Everything is fine, but only the deployment target is only for 6.0. I would like to change it to 4.3.

I have seen that there is two xcode project for device and simulator. Now I would like to set it in build_framework.py or other cmake files.

Can anyone here help me?

Thanks a log