I use AVCaptureSession to shoot video.
But I want to convert the captured image to UI Image.
I found some code on the Internet :
– (UIImage *) imageFromSampleBuffer:(CMSampleBufferRef)
I use AVCaptureSession to shoot video.
But I want to convert the captured image to UI Image.
I found some code on the Internet :
– (UIImage *) imageFromSampleBuffer:(CMSampleBufferRef)