Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
camera = PiCamera()
I'm stuck on this step with picamera module, please help, thanks
I have mostly the same problem with the Camera V2 on Python2.7 and Raspberry Pi 3.
The script is this (the same in the docs):
And I have the 1.13 version installed. I tried with bigger sleeps (5 and 10 secs), but same result.
EDIT: I can't capture a photo but I can record a video. ¯_(ツ)_/¯
EDIT 2: Solved using the argument "use_video_port" with True. Any way, I still think this isn't the right way to do it, but at least it work :_)
So i think there must be problem with communication between python and still_port. I am not sure if it's global problem (i use camera WAVESHARE 11297). Soon i will try another camera.
When you set use_video_port = True you capture image through video_port so it makes sense that it works but you have much lower resolution.
For my application is necessary to use still_port.
So i've bought official picamera V2 and it's working how it supposed to.
I've read about people having the same issue. No solution works. Most people don't specify the type of the camera so it is hard to tell which type does not work (in my case "RPi Camera (D) 5Mpix REV 2.1 (Waveshare 11297)").
Of Course it only matters if you want to use still_port through this python interfaces.