Giter VIP home page Giter VIP logo

cvprojects's Introduction

visual_recognition

img

1、hardware:

  • Windows10or11(no GPU needed)or MacOS
  • normal RBG USB camera

2、software:

  • Python:3.7
  • opencv: pip install opencv-python
  • Dlib: pip install dlib

3、How ro use:

use python demo_full.py --{variable}={value}

  -h, --help            show this help message and exit
  --mode MODE           mode:reg,recog -> input face information、face recognition
  --id ID               face ID,int, not repeated
  --name NAME           English people name
  --interval INTERVAL   register face intyerval per second
  --count COUNT         register how many picture of your
  --w W                 windows width,default 1/2 of computer windows 
  --h H                 height width,default 1/2 of computer windows
  --detector DETECTOR   choice detector,option: haar、hog、cnn
  --threshold THRESHOLD from 1- 0, more low value means more recognition points so that more clear
                        
  --record RECORD       detect whether video is recorded 

2.1、Download models and fonts

    1. Download links
    1. unzip two folders(weights, fonts)
    1. put two folders in same director with demo_full.py

2.2、Face register:input face features./data/feature.csv

How:

python demo_full.py --mode=reg --id={face_ID,int} --name={your_name} --interval={int, per second} --count={int, how many picture} --w={int} --h={int}

like:

python demo_full.py --mode=reg --id=1 --name='yourname' --interval=5 --count=10

2.3、Face recognition:input Attendance in ./data/attendance.csv

How to use:

python demo_full.py --mode=recog --detector={choice detector,option: haar、hog、cnn} --threshold={number from 0-1 } --record={bool}

like:

python demo_full.py --mode=recog --detector=haar --threshold=0.2 --record=True

cvprojects's People

Contributors

lzeeorno avatar

Stargazers

Feng Yaou avatar  avatar

Watchers

James Cloos avatar  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.