I'm like to get both a real-time and post-processed HDR effect with AVFoundation and/or CoreImage. I'm assuming this is relatively easy with CoreImage once a full-frame still image is captured, but does anybody know how to achieve an HDR-like effect using AVCaptureVideoPreviewLayer?
You can use AVCaptureVideoOutput
class and above mentioned delegate method (captureOutput:didOutputSampleBuffer:fromConnection:
) to get each live frame from camera. From that frame, you can create CIImage and make changes using CoreImage framework; After that just draw output using drawRect: method
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With