habrman/FaceRecognition
소개
Webcam face recognition using tensorflow and opencv
AI 및 머신러닝측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalFaceRecognition
Webcam face recognition using tensorflow and opencv. The application tries to find faces in the webcam image and match them against images in an id folder using deep neural networks.
Dependencies
- OpenCv
- Tensorflow
- Scikit-learn
- easygui
Inspiration
Models, training code and inspriation can be found in the facenet repository. Multi-task Cascaded Convolutional Networks are used for facial and landmark detection while an Inception Resnet is used for ID classification. A direct link to the pretrained Inception Resnet model can be found here.
How to
Get the model from facenet and setup your id folder. The id folder should contain subfolders, each containing at least one image of one person. The subfolders should be named after the person in the folder since this name is used as output when a match is found.
E.g. id folder named ids containing subfolders Adam and Eve, each containing images of the respective person.
├── ids
│ ├── Adam
│ │ ├── Adam0.png
│ │ ├── Adam1.png
│ ├── Eve
│ │ ├── Eve0.png
Download and unpack the model to a folder and run python3 main.py ./folder/model.pb ./ids/ to start the program. Make sure to replace ./folder/model.pb with the path to the downloaded model.
Visualization hotkeys:
- l - toggle facial landmarks
- b - toggle bounding box
- i - toggle id
- f - toggle frames per second
- s - save image face detections to id folder

관련 프로젝트 살펴보기
불러오는 중…