3

I started picamera.start_preview() in Raspbian but I don't see the preview window which I thought was supposed to appear.

import picamera

cam = picamera.PiCamera()
cam.start_preview()
<picamera.renderers.PiPreviewRenderer object at 0x766c1130>
  • Did the follow the instructions and test it according to this documentation? In particular, was the Pi off when you attached the camera? picamera.readthedocs.io/en/release-1.13/quickstart.html – Peter Jun 10 '17 at 21:03
  • @Peter Thanks. I looked at the link you shared but I think I've already done all of those things. It was probably not off when I originally connected the camera, but I restarted it 2x since then. I can take pictures and record video. I can even stream video over the LAN to my laptop, but I just can't get the preview window to show up in Raspberrian. – Hack-R Jun 10 '17 at 21:32
  • 2
    I'm not sure why that one functionality wouldn't work but others would. I recall having some quirks come up with start_preview() before on my own, but nothing from the docs jumps out at me at the moment. – Peter Jun 10 '17 at 21:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.