julien.launay
Posts: 51
Joined: Wed Mar 30, 2016 5:22 am

Camera V2

Mon May 08, 2017 9:39 am

Hello,

I am looking for API in Python to read the color value of a pixel (x,y).
thanks to your help.

Julien

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 8926
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Camera V2

Mon May 08, 2017 10:31 am

https://picamera.readthedocs.io/en/late ... rgb-format will read back an RGB frame.
https://picamera.readthedocs.io/en/late ... ay-capture for reading it into a numpy array with Python 2.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

texy
Forum Moderator
Forum Moderator
Posts: 5161
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: Camera V2

Mon May 08, 2017 2:18 pm

Locking as duplicated here :
viewtopic.php?f=32&p=1158782#p1158782

Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

Return to “Camera board”