Skip to content

wilson-kong/pi_camera_on_boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

pi_camera_on_boot

Fullscreen preview of Raspberry Pi camera on bootup

Set up to boot on startup

  1. Make sure it's all updated with sudo apt-get update sudo apt-get upgrade and make sure the camera is enabled in the Raspberry Pi Configs.
  2. Save the 'camera_preview_stream.py' file anywhere in the pi. For example in /home/<user_name>/Documents/.
  3. Navigate to /etc/xdg/lxsession/LXDE-pi and add this line to the bottom of the autostart file @/usr/bin/python /home/<user_name>/Documents/camera_preview_stream.py. If your python is python3 then do @/usr/bin/python3 /home/<user_name>/Documents/camera_preview_stream.py. (I used nano for this)

About

Fullscreen preview of Raspberry Pi camera on bootup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages