Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Thanks for the suggestion. Is this something I can put in a python script? Commented Jan 10, 2017 at 4:02
  • That is a Python script, so yes absolutely. The pause call at the end just tells the script to do nothing until Ctrl+C is hit (the camera firmware on the GPU handles running the preview). If you want to integrate that into an existing Python script I'd suggest doing all that at the beginning then leave out pause and continue with whatever else you want to do. Commented Jan 10, 2017 at 15:04
  • I got your script work, and I read through mmalobj documentation. Thanks again. Is it possible to set something like the brightness through mmalobj as well? Commented Jan 11, 2017 at 0:07
  • Yup, certainly is. Basically anything you can do in picamera, you can do in mmalobj with a bit more effort (because picamera is built on top of mmalobj). I'll update the answer with a bit more detail about this. Commented Jan 11, 2017 at 9:36
  • I was so close. Thanks a lot for all your help with this! Commented Jan 11, 2017 at 23:06