https://github.com/jalajthanaki/face_recognition
This repository contains the code for face recognition using library face_recognition. This library is using HOG algorithm to identify the human faces.
https://github.com/jalajthanaki/face_recognition
dlib face-detection face-recognition human-faces
Last synced: 6 months ago
JSON representation
This repository contains the code for face recognition using library face_recognition. This library is using HOG algorithm to identify the human faces.
- Host: GitHub
- URL: https://github.com/jalajthanaki/face_recognition
- Owner: jalajthanaki
- Created: 2018-02-12T06:47:13.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-14T12:00:08.000Z (over 7 years ago)
- Last Synced: 2025-05-12T13:07:09.049Z (6 months ago)
- Topics: dlib, face-detection, face-recognition, human-faces
- Language: Python
- Homepage:
- Size: 2.77 MB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Face recognition application
This repo using the library face_recognition to build the application which can identify and recognize the human face from images as well as in real-time video stream
## Installation
Requirements
1. Python 3.3+ or Python 2.7
2. macOS or Ubuntu (Any Linux OS)
### Installing on Ubuntu 16.04 LST
1. Install dlib: You can install dlib from source on Ubuntu or for macOS using this [link](https://gist.github.com/ageitgey/629d75c1baac34dfa5ca2a1928a7aeaf)
2. Install face_recognition: ```sudo pip install face_recognition```
## Run the code:
* face_detection_example.py
```
This script find the faces form the image.
This code can run on CPU
Give the path of the image on which you want to run this code
Command that you need to run: python face_detection_example.py
```
* face_detection_GPU_example.py
```
This script find the faces form the image.
This code can run on GPU
Give the path of the image on which you want to run this code
Command that you need to run: python face_detection_GPU_example.py
```
* Real_time_face_detection.py
* This script identify the person names. If face is not fimiliar then it tags as unknown.
* You need to provide sample image with person name So that machine can identify the person's name.
```
You can run this code: python Real_time_face_detection.py
```
## Demo of the real_time_face_detection


## Credit
Credit for the majority of code here goes to [Adam Geitgey](https://github.com/ageitgey/face_recognition). I've merely created a wrapper to get people started. His library has many other APIs which you can explore