Author Topic: How do I get the RGB value from a single pixel in an AVCaptureSession?  (Read 1932 times)

CharlesP

  • Newbie
  • *
  • Posts: 4
    • View Profile
Does anyone know how to get the RGB value of a single pixel in an AVCaptureSession in swift?

Kind regards
CharlesP

kjmcneish

  • Administrator
  • *****
  • Posts: 717
    • View Profile
Re: How do I get the RGB value from a single pixel in an AVCaptureSession?
« Reply #1 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

All the best!
Kevin

CharlesP

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: How do I get the RGB value from a single pixel in an AVCaptureSession?
« Reply #2 on: September 10, 2015, 05:07:15 PM »
Thanks Kevin,
I'm still working on it... Will let you know the results.