Git Product home page Git Product logo

person-detect-ncs's Introduction

Person-detect-NCS

title

This project based on ncappzoo project - by security-cam Now.. it's universavity of classifire - use any classes from 0 to 10 and you will get detect this object real-time.

0: background
1: aeroplane
2: bicycle
3: bird
4: boat
5: bottle
6: bus
7: car
8: cat
9: chair
10: cow
11: diningtable
12: dog
13: horse
14: motorbike
15: person
16: pottedplant
17: sheep
18: sofa
19: train
20: tvmonitor

Sample code for a camera classification - built using Intel® Movidius™ Neural Compute Stick (NCS).

Running this example

git clone https://github.com/rvjenya/Person-detect-NCS.git
cd Person-detect-NCS

Configuring this example

This example grabs camera frames from /dev/video0 by default; If your system has multiple cameras you can choose the required camera using the --video option. Below is an example:

python3 security-cam.py --video 1

ArgumentParser



 '-g', '--graph', type=str,
                         default='graph',
                         help="Absolute path to the neural network graph file." 
'-v', '--video', type=int,
                         default=0,
                         help="Index of your computer's V4L2 video device. \
                               ex. 0 for /dev/video0"

'-l', '--labels', type=str,
                         default='labels.txt',
                         help="Absolute path to labels file." 
'-M', '--mean', type=float,
                         nargs='+',
                         default=[127.5, 127.5, 127.5],
                         help="',' delimited floating point values for image mean." 
'-S', '--scale', type=float,
                         default=0.00789,
                         help="Absolute path to labels file." 

'-D', '--dim', type=int,
                         nargs='+',
                         default=[300, 300],
                         help="Image dimensions. ex. -D 224 224" 

'-c', '--colormode', type=str,
                         default="bgr",
                         help="RGB vs BGR color sequence. This is network dependent." 

person-detect-ncs's People

Contributors

rvjenya avatar

Watchers

Peter 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.