0

When I run my python script the contains:

import picamera
from time import sleep
camera = picamera.PiCamera()
camera.start_preview()
sleep(10)
camera.stop_preview()

The script just runs and shows no live feed. Is this supposed to happen, because everywhere I read this is wrong. How can I fix this?

0

I'm not sure about your screen configuration but I'll tell you this, as far as I know, camera preview only works on the screen attached to the raspberry pi directly, you cannot see the feed through vnc.

  • I use an lcd touchscreen. (PiTFT ) – ToXicL 16 Jan 5 '18 at 12:20
  • I don’t use VNC – ToXicL 16 Jan 5 '18 at 12:41

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.