iOS App Development Book/Video Series

General Category => Swift Programming Language => Topic started by: CharlesP on September 05, 2015, 01:50:59 PM

Title: How do I get the RGB value from a single pixel in an AVCaptureSession?
Post by: CharlesP on September 05, 2015, 01:50:59 PM
Does anyone know how to get the RGB value of a single pixel in an AVCaptureSession in swift?

Kind regards
CharlesP
Title: Re: How do I get the RGB value from a single pixel in an AVCaptureSession?
Post by: kjmcneish on September 06, 2015, 01:46:27 AM
Charles,

I haven't had to do this before, but check out this post and see if it helps:

http://stackoverflow.com/questions/14979472/get-pixel-color-of-camera-in-xcode-ios (http://stackoverflow.com/questions/14979472/get-pixel-color-of-camera-in-xcode-ios)

All the best!
Kevin
Title: Re: How do I get the RGB value from a single pixel in an AVCaptureSession?
Post by: CharlesP on September 10, 2015, 05:07:15 PM
Thanks Kevin,
I'm still working on it... Will let you know the results.