Skip to content

3 questions: (1) streaming YUV420 (2) turning off red and blue (3) adaptive callback #564

Answered by davidplowman
ballen4705 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, thanks for the questions. Let me try to answer.

  1. I think you've posted this as a bug, and I've replied over on that thread. You may want to use the MJPEGEncoder instead.

  2. You can set the colour gains, though unfortunately setting them to exactly zero is interpreted as meaning "turn the AWB on". But this should work

picam2.set_controls({'ColourGains': (0,001, 0.001)})

which should have the same effect. Those gains should be used in the AGC/AEC for calculating Y values, so I believe it will do what you want.

  1. Can you say how you're measuring this? So far as I know, the pre_callback will be invoked on every frame we get from the camera, although if you're doing a lot of work in the …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@ballen4705
Comment options

@ballen4705
Comment options

Answer selected by ballen4705
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants