Istorn
Posts: 15
Joined: Mon Aug 31, 2015 2:31 pm

Problem: every script with camera runs fullscreen

Mon Oct 03, 2016 7:10 pm

Hello everyone,

I'm trying to test scripts with picamera (the official one). Everytime I compile, them run in fullscreen mode with no way to kill execution (I tried ctrl+C, etc.): suggestions??

tom.slick
Posts: 190
Joined: Wed Jan 06, 2016 9:23 pm

Re: Problem: every script with camera runs fullscreen

Mon Oct 03, 2016 7:31 pm

https://www.raspberrypi.org/documentati ... /README.md
PREVIEW
You can display a preview showing the camera feed on screen. Warning: this will overlay your Python session by default; if you have trouble stopping the preview, simply pressing Ctrl+D to terminate the Python session is usually enough to restore the display:

Code: Select all

camera.start_preview()
You can use the stop_preview method to remove the preview overlay and restore the display:

Code: Select all

camera.stop_preview()
Alternatively, you can access the Pi using SSH https://www.raspberrypi.org/documentati ... /README.md from another computer, open a Python prompt and enter these commands, displaying the preview on the monitor connected to the Pi (not the computer you're connected from).

Istorn
Posts: 15
Joined: Mon Aug 31, 2015 2:31 pm

Re: Problem: every script with camera runs fullscreen

Mon Oct 03, 2016 8:45 pm

tom.slick wrote:https://www.raspberrypi.org/documentati ... /README.md
PREVIEW
You can display a preview showing the camera feed on screen. Warning: this will overlay your Python session by default; if you have trouble stopping the preview, simply pressing Ctrl+D to terminate the Python session is usually enough to restore the display:

Code: Select all

camera.start_preview()
You can use the stop_preview method to remove the preview overlay and restore the display:

Code: Select all

camera.stop_preview()
Alternatively, you can access the Pi using SSH https://www.raspberrypi.org/documentati ... /README.md from another computer, open a Python prompt and enter these commands, displaying the preview on the monitor connected to the Pi (not the computer you're connected from).
Everything clear, thanks a lot :D

Return to “Python”