How can I binarize the pixels in a CMSampleBuffer received from:
- (void)captureOutput:(AVCaptureOutput *)captureOutput
didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer
fromConnection:(AVCaptureConnection *)connection {}
I am writing an app to recognize whenever a QR finder mark appears and I would prefer to use one of apple's Core Image filters.