{"id":27382082,"url":"https://github.com/lukaskirner/teachable-pi-websocket","last_synced_at":"2025-04-13T15:26:57.495Z","repository":{"id":57473732,"uuid":"234641526","full_name":"lukaskirner/teachable-pi-websocket","owner":"lukaskirner","description":"Picamera websocket for Teachable Machine","archived":false,"fork":false,"pushed_at":"2020-01-17T23:18:50.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-09-09T11:01:24.134Z","etag":null,"topics":["pi","picamera","python3","teachable-machine","websocket"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lukaskirner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-17T21:42:23.000Z","updated_at":"2022-04-21T17:47:18.000Z","dependencies_parsed_at":"2022-09-26T17:40:58.132Z","dependency_job_id":null,"html_url":"https://github.com/lukaskirner/teachable-pi-websocket","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/lukaskirner%2Fteachable-pi-websocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukaskirner%2Fteachable-pi-websocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukaskirner%2Fteachable-pi-websocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukaskirner%2Fteachable-pi-websocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukaskirner","download_url":"https://codeload.github.com/lukaskirner/teachable-pi-websocket/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248734466,"owners_count":21153210,"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":["pi","picamera","python3","teachable-machine","websocket"],"created_at":"2025-04-13T15:26:56.949Z","updated_at":"2025-04-13T15:26:57.481Z","avatar_url":"https://github.com/lukaskirner.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Picamera Websocket for Teachable Machine\n\n## How to use\n\n1. plug in camera\n2. setup camera\n    - offical [Documentation](https://www.raspberrypi.org/documentation/configuration/camera.md)\n3. clone this repo to your home directory\n4. install python dependencies \n    ```\n    pip3 install -r requirements.txt\n    ```\n5. open SSH tunnel to your raspberry\n    ```\n    ssh pi@\u003craspberry-ip\u003e -L 8080:\u003craspberry-ip\u003e:8080\n    ```\n6. run python script\n    ```\n    python3 server.py\n    ```\n7. visit Teachable Machine \n    - to collect images via the network append the following code to the [link](https://teachablemachine.withgoogle.com/train/image?network=true)\n    ```\n    ?network=true\n    ```\n    - now three options for uploading images show up. \n        - Wecam\n        - Upload\n        - Network \u003c-- **that is what you want**\n    - use the configured websocket address `localhost` and the port `8080`\n    - press **connect**\n    - now you cann add images to the class by pressing the **record** button\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukaskirner%2Fteachable-pi-websocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukaskirner%2Fteachable-pi-websocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukaskirner%2Fteachable-pi-websocket/lists"}