Metadata-Version: 2.1
Name: teachable_pi_websocket
Version: 0.0.1
Summary: UNKNOWN
Home-page: https://github.com/lukaskirner/teachable-pi-websocket
Author: Lukas Kirner
Author-email: lukas.kirner@gmail.com
License: MIT
Download-URL: https://github.com/user/reponame/archive/v_01.tar.gz
Description: # Picamera Websocket for Teachable Machine
        
        ## How to use
        
        1. plug in camera
        2. setup camera
            - offical [Documentation](https://www.raspberrypi.org/documentation/configuration/camera.md)
        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](https://teachablemachine.withgoogle.com/train/image?network=true)
            ```
            ?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
            
        
Keywords: Teachable Machine,picamera,Raspberry Pi
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/markdown
