Skip to main content

No project description provided

Project description

Picamera Websocket for Teachable Machine

How to use

  1. plug in camera
  2. setup camera
  3. clone this repo to your home directory
  4. install python dependencies
    pip3 install -r requirements.txt
    
  5. open SSH tunnel to your raspberry
    ssh pi@<raspberry-ip> -L 8080:<raspberry-ip>:8080
    
  6. run python script
    python3 server.py
    
  7. visit Teachable Machine
    • to collect images via the network append the following code to the link
    ?network=true
    
    • now three options for uploading images show up.
      • Wecam
      • Upload
      • Network <-- that is what you want
    • use the configured websocket address localhost and the port 8080
    • press connect
    • now you cann add images to the class by pressing the record button

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

teachable_pi_websocket-0.0.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page