GithubHelp home page GithubHelp logo

daveperham / raspberry-pi-movidius-person-detector Goto Github PK

View Code? Open in Web Editor NEW

This project forked from devolksbank/raspberry-pi-movidius-person-detector

0.0 0.0 0.0 12.39 MB

Raspberry Pi Movidius Neural Compute Stick person detector installer

License: MIT License

Shell 100.00%

raspberry-pi-movidius-person-detector's Introduction

Intel Movidius Neural Compute Stick Raspberry-Pi Webcam Installer

This project allows you to install a fully working person-detector using a single installation script.

We created this script so anyone can easily try this software/hardware out and experience what AI can do, to help you imagine what else you can do with it to help you in whatever project you're interested in!

More information in our blog (NL)

raspberry-pi compute-stick webcam

Prerequisites

For this project you need (at least):

And preferrably also:

  • a separate device (laptop/desktop) to access the cam stream remotely

Installation steps

For the installation, you need to perform the following steps

1) Start strech OS on the Raspberry-Pi

  • download strech OS
  • burn the iso onto the SD card, for example using Etcher
  • put the SD card into the Raspberry-Pi
  • connect the keyboard and mouse to the Raspberry-Pi
  • use the hdmi cable to connect the monitor and the Raspberry-Pi
  • use the power adapter to connect the Raspberry-Pi to a power outlet
  • wait until it has started
  • go to the preferences menu option on the Raspberry-Pi and start 'Raspberry Pi Configuration'
  • go to the localisation tab en set your wifi country
  • connect the Raspberry-Pi to your wifi using the icon on the top of your screen
  • connect the compute stick and the webcam to the Raspberry-Pi

Enable ssh access

The easiest way to control the installation is from your PC/laptop, so it is advisable to enable SSH access on the pi, but you can also run everything on the Raspberry-Pi itself:

  • go to the preferences menu option on the Raspberry-Pi and start 'Raspberry Pi Configuration'
  • on the interfaces tab, enable 'ssh'
  • check your IP address using ifconfig in a terminal
  • on your PC/laptop, connect using ssh pi@<ip> using the default password raspberry (to be changed as you wish)

2) Update the firmware

Run in a terminal:

sudo rpi-update

And reboot afterwards:

sudo reboot

3) Clone this repository

git clone https://github.com/devolksbank/Raspberry-Pi-Movidius-Person-Detector

4) Call the installation script

The installation script can be called step-by-step, using:

chmod u+x install*
./install-step1-ncs-api.sh
./install-step2-image-classifier.sh
./install-step3-opencv.sh
./install-step4-webcam.sh

Or by the single-command installer:

chmod u+x install*
./install-full.sh

5) Test the installed streamer

First source the ~/.profile to get the references to opencv right. Next, call:

cd ~/workspace/ncappzoo/caffe/NCS-Pi-Stream/ && python3 streamer_ncs.py

And watch the output via http://localhost:8080/cam.mjpg or remote via http://<ip>:8080/cam.mjpg. Note that when watching via localhost, your Raspberry-Pi can quickly overheat!

Thanks

Many thanks to the creators of these blogs/articles/repositories, which made creating this repository a lot easier:

Contact

For any questions please don't hesitate to contact us at [email protected]

logo

raspberry-pi-movidius-person-detector's People

Contributors

wpbs avatar

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.