Giter VIP home page Giter VIP logo

research495's Introduction

How to run program for COM495 on a Raspberry Pi

Tutorial Link

First install

  1. Open the terminal on the raspberry pi and type the command sudo apt-get update
  2. When finished, type sudo apt-get upgrade
  3. Check that the Camera option in the raspberry pi configuration menu is enabled
  4. Then, type cd Desktop to move to the Desktop folder
  5. Download this repo by typing git clone https://github.com/zackbeucler/Research495.git
  6. After the download finsihes, type cd tflite1 to move to the TensorFlow folder
  7. Then, type sudo pip3 install virtualenv to install virtual enviroments for Python3
  8. Next, create a virtual enviroment by typing python3 -m venv tflite1-env to create an enviroment called tflite1-env
  9. Start that enviroment by typing source tflite1-env/bin/activate
  10. Download additional requirements but typing bash get_pi_requirements.sh
  11. Run the detection program by typing python3 TFLite_detecton_webcam.py --modeldir=Sample_TFLite_model
  12. You can quit the program by typing q when it's running

After first install

  1. Open terminal and type cd Desktop/tflite1
  2. Run the virtual enviroment by typing source tflite1-env/bin/activate
  3. Run the program by typing python3 TFLite_detection_webcam.py --modeldir=Sample_TFLite_model

Last updated: March 22, 2021

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.