{"id":20898201,"url":"https://github.com/eat-sleep-code/camera.pro","last_synced_at":"2025-06-30T20:31:36.806Z","repository":{"id":224159758,"uuid":"762584614","full_name":"eat-sleep-code/camera.pro","owner":"eat-sleep-code","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-20T00:41:11.000Z","size":73,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T19:46:44.657Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/eat-sleep-code.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-24T05:45:27.000Z","updated_at":"2024-11-20T00:41:14.000Z","dependencies_parsed_at":"2024-02-24T07:20:48.292Z","dependency_job_id":"87cd5210-5caf-4d11-b764-b73c3a305083","html_url":"https://github.com/eat-sleep-code/camera.pro","commit_stats":null,"previous_names":["eat-sleep-code/camera.pro"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eat-sleep-code/camera.pro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eat-sleep-code%2Fcamera.pro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eat-sleep-code%2Fcamera.pro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eat-sleep-code%2Fcamera.pro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eat-sleep-code%2Fcamera.pro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eat-sleep-code","download_url":"https://codeload.github.com/eat-sleep-code/camera.pro/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eat-sleep-code%2Fcamera.pro/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262846069,"owners_count":23373750,"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":[],"created_at":"2024-11-18T11:09:32.329Z","updated_at":"2025-06-30T20:31:36.765Z","avatar_url":"https://github.com/eat-sleep-code.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Camera PRO\n\n\u003e [!WARNING]\nThis is not yet a working application.   Once complete, it will replace the current [Camera](https://github.com/eat-sleep-code/camera) program.\n\nThe below information is incomplete / inaccurate at this time.\n\n---\n\n## Getting Started\n\n- Use [Raspberry Pi Imager](https://www.raspberrypi.com/software) to install Raspberry Pi OS *(Bookworm)* on a microSD card\n- Use [raspi-config](https://www.raspberrypi.org/documentation/configuration/raspi-config.md) to:\n  - Enable the CSI camera interface\n  - Set up your WiFi connection\n- Execute the following to update all installed software to the latest version(s):\n```bash\nsudo apt update \u0026\u0026 sudo apt full-upgrade -y \u0026\u0026 sudo apt autoremove -y \u0026\u0026 sudo apt autoclean\n```\n- Connect the Raspberry Pi camera(s) to your Raspberry Pi\n\n\n## Installation\n\nInstallation of the program, as well as any software prerequisites, can be completed with the following two-line install script.\n\n```bash\nwget -q https://raw.githubusercontent.com/eat-sleep-code/camera.pro/master/install.sh -O ~/install.sh\nsudo chmod +x ~/install.sh \u0026\u0026 ~/install.sh\n```\n\n---\n\n## Usage\n```bash\ncamera\n```\n\n---\n\n## Automatic YouTube Upload\n\n- Copy [youtube/config.json.example](config.json.example) to a new file called __youtube/config.json__.\n- Sign in to the [Google APIs \u0026 Services](https://console.cloud.google.com/apis/dashboard) console.\n- If necessary, create a new Project.\n- Expand the left menu and select the __Enabled APIs \u0026 services__ menu item.\n- Click the __+ ENABLE APIS AND SERVICES__ button.\n- Search for \u0026ndash; and enable \u0026ndash; the __YouTube Data API v3__.\n- Select the __Credentials__ menu item from the left menu.\n- Click the __+ CREATE CREDENTIALS__ button and select __OAuth client ID__ from the dropdown menu that appears.\n- :heavy_exclamation_mark: Select __Desktop app__ from the __Application Type__ dropdown menu.  Selecting any other option from the list will make authentication impossible. :heavy_exclamation_mark:\n- Enter an appropriate value in the __Name__ field and click the Submit button.   \n- From the screen that appears, copy the Client ID and Client Secret and paste them in the appropriate places within the config.json file you created in the first step.\n- Open a terminal and execute `./camera/youtube/authorize.sh`.  You will be prompted to open a link in the browser.\n- You will receive a warning about only continuing if you trust the requestor.   If you trust yourself, advance to the final step to complete the authentication process.\n\n---\n\n## Autostart\n\n### Enable\n\nTo enable autostart of the program, execute the following command:\n\n```\nsudo mv /etc/service/camera.pro/run.disabled /etc/service/camera.pro/run\n```\n\n### Disable\n\nTo disable autostart of the program, execute the following command:\n\n```\nsudo mv /etc/service/camera.pro/run /etc/service/camera.pro/run.disabled\n```\n\n---\n\n## Infrared Cameras\nIf you are using an infrared (IR) camera, you may need to modify the Auto White Balance (AWB) mode at boot time.\n\nThis can be achieved by executing `sudo nano /boot/config.txt` and adding the following lines.\n\n```bash\n# Camera Settings \nawb_auto_is_greyworld=1\n```\n\n\u003e [!NOTE]\n\u003e While IR cameras utilize \"invisible\" (outside the spectrum of the human eye) light, they can not magically see in the dark.   You will need to illuminate night scenes with one or more IR lights to take advantage of an Infrared Camera.\n\n---\n\n\u003e [!TIP]\n\u003e You may wish to increase your SWAP file to match your memory size as outlined in this [third-party guide](https://pimylifeup.com/raspberry-pi-swap-file/).\n\n---\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feat-sleep-code%2Fcamera.pro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feat-sleep-code%2Fcamera.pro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feat-sleep-code%2Fcamera.pro/lists"}