{"id":14977920,"url":"https://github.com/jibbius/raspberry_pi_photo_booth","last_synced_at":"2025-10-28T07:30:44.526Z","repository":{"id":56676982,"uuid":"95670378","full_name":"jibbius/raspberry_pi_photo_booth","owner":"jibbius","description":"The code for my Raspberry Pi photo booth.","archived":false,"fork":false,"pushed_at":"2022-03-27T01:12:07.000Z","size":6668,"stargazers_count":59,"open_issues_count":4,"forks_count":29,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-02-01T12:44:11.131Z","etag":null,"topics":["photobooth","raspberry-pi","raspberry-pi-camera"],"latest_commit_sha":null,"homepage":"http://jackbarker.com.au/photo-booth/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jibbius.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-28T13:11:03.000Z","updated_at":"2024-09-13T14:06:56.000Z","dependencies_parsed_at":"2022-08-15T23:10:16.618Z","dependency_job_id":null,"html_url":"https://github.com/jibbius/raspberry_pi_photo_booth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jibbius%2Fraspberry_pi_photo_booth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jibbius%2Fraspberry_pi_photo_booth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jibbius%2Fraspberry_pi_photo_booth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jibbius%2Fraspberry_pi_photo_booth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jibbius","download_url":"https://codeload.github.com/jibbius/raspberry_pi_photo_booth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238608397,"owners_count":19500373,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["photobooth","raspberry-pi","raspberry-pi-camera"],"created_at":"2024-09-24T13:56:33.040Z","updated_at":"2025-10-28T07:30:38.464Z","avatar_url":"https://github.com/jibbius.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raspberry Pi Photo Booth\nThe code for my Raspberry Pi Photo Booth (Version 2)\n\n\u003cp align=\"center\"\u003e\u003cimg alt=\"Raspberry Pi Photo Booth\" src=\"https://github.com/jibbius/raspberry_pi_photo_booth/blob/master/promo_image.jpg?raw=true\" /\u003e\u003c/p\u003e\n\n# KNOWN ISSUES\n1. Does not work on Raspian Bullseye, due to changes affecting PiCamera.\n   USE AN OLDER VERSION OF RASPIAN INSTEAD (e.g. Buster).\n\n# Instructions\n1. Build a photo booth (see below)\n\n2. Connect your Pi and PiCamera\n\n3. Connect a button to the Pi's GPIO21 and Ground pins.\n\n4. Install git \u0026 pip \u0026 pillow (which replaces PIL)\n`apt update \u0026\u0026 apt install git python-pip python-imaging`\n\n5. Clone the code:\n`git clone https://github.com/jibbius/raspberry_pi_photo_booth.git`\n\n6. Install dependencies:\n`pip install -r requirements.txt`\n\n(Or, if you are using python3: `python3 -m pip install -r requirements.txt`)\n\n7. Activate picamera in raspi-config:\n`sudo raspi-config`\n\u003cp align=\"center\"\u003e\u003cimg alt=\"Raspberry Pi Photo Booth\" src=\"https://github.com/ieguiguren/raspberry_pi_photo_booth/blob/master/raspiconfig1.png?raw=true\" /\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg alt=\"Raspberry Pi Photo Booth\" src=\"https://github.com/ieguiguren/raspberry_pi_photo_booth/blob/master/raspiconfig2.png?raw=true\" /\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg alt=\"Raspberry Pi Photo Booth\" src=\"https://github.com/ieguiguren/raspberry_pi_photo_booth/blob/master/raspiconfig3.png?raw=true\" /\u003e\u003c/p\u003e\n\nYou must have camera connected to avoid the error:\n`mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM)\nmmal: mmal_component_create_core: could not create component 'vc.ril.camera' (1)\nTraceback (most recent call last):\n  File \"./camera.py\", line 45, in \u003cmodule\u003e\n    camera = picamera.PiCamera()\n  File \"/usr/local/lib/python2.7/dist-packages/picamera/camera.py\", line 431, in __init__\n    self._init_camera(camera_num, stereo_mode, stereo_decimate)\n  File \"/usr/local/lib/python2.7/dist-packages/picamera/camera.py\", line 460, in _init_camera\n    \"Camera is not enabled. Try running 'sudo raspi-config' \"\npicamera.exc.PiCameraError: Camera is not enabled. Try running 'sudo raspi-config' and ensure that the camera has been enabled.`\n\n8. Run:\n`python ./camera.py`\n\n9. Photos will get saved to photos directory where you can elect to publish them later.\n\nMore detailed instructions available on the blog:\n\n[jackbarker.com.au/photo-booth/](http://jackbarker.com.au/photo-booth/)\n\n# Contributing\nI am happy for anyone to submit issues and pull requests.\n\nA special thank you to all those who have submitted issues, and pull requests.\n\n# Version History\n- 2.1 (2018-04-30)\n  - Allow \"get ready\" overlay images, to contain transparent sections.\n  - Previously, when photo resolution was increased an \"out of memory\" error would occur during playback. Now fixed. (Special thanks: Daniel).\n  - Config moved to `camera-config.yaml`, in anticipation of new functionality (\"coming soon\").\n- 2.0 (2018-04-10)\n  - Move all config into a separate file.\n  - Introduce YAML dependency.\n  - Introduce version history.\n  - Updated readme with additional installation instructions (Special thanks: ieguiguren).\n- 1.2 (2018-02-28)\n  - Add debounce timer functionality to prevent accidental button presses due to EM interference (Special thanks: Andre).\n- 1.1 (2018-01)\n  - Correction to Python header (Credit: ieguiguren).\n- 1.0 (2017-05)\n  - Initial version.\n\n# License\nThis code is free to be used and modified in any manner that you would like.\n\nAttribution is encouraged, but not required.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjibbius%2Fraspberry_pi_photo_booth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjibbius%2Fraspberry_pi_photo_booth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjibbius%2Fraspberry_pi_photo_booth/lists"}