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>
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It only takes a minute to sign up.Sign up to join this community
If you're using your Raspberry Pi via VNC or SSH, you won't see any preview on your screen.
Now, you have two options.
Open the VNC Server dialog (on the RPi), then navigate to Menu > Options > Troubleshooting, and select "Enable experimental direct capture mode".