Skip to content

facialRecognitionDetection2D: Implementation of 2D facial recognition detector, Python API, dlib, pre and post-processed video broadcast via YARP. Calculation and emission of detections and coordinates.

Notifications You must be signed in to change notification settings

davidvelascogarcia/facialRecognitionDetection2D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

facialRecognitionDetection2D Homepage Latest Release Build Status

Facial Recognition: Detector 2D (Python API)

Introduction

facialRecognitionDetection2D module use dlib python API. The module detects faces using pre-trained models and adds facial recognition doing a facial training with user images. Also use YARP to send video source pre and post-procesed. Also admits YARP source video like input. Some scripts added to create automated files of user image database and user name database. This module also publish detection results in YARP port.

Documentation available on docs

Running program

facialRecognitionDetection2D requires images of people to detect. Images should be located in database dir. The process to create database files:

  1. Execute scripts/configureDatabase.py, to create image index.
python3 configureDatabase.py
  1. Execute programs/facialRecognitionDetection2D.py, to start de program.
python facialRecognitionDetection2D.py
  1. Connect video source to facialRecognitionDetection2D.
yarp connect /videoSource /facialRecognitionDetection2D/img:i

NOTE:

  • Video results are published on /facialRecognitionDetection2D/img:o
  • Data results are published on /facialRecognitionDetection2D/data:o

Requirements

facialRecognitionDetection2D requires:

(Using OpenCV and YARP with Python 2.7 bindings)

pip2 install face_recognition

(Using OpenCV and YARP with Python 3 bindings)

pip3 install face_recognition

Tested on: ubuntu 14.04, ubuntu 16.04, ubuntu 18.04, lubuntu 18.04 , raspbian, Kubuntu 20.04 and Windows 10.

Status

Build Status

Issues

Related projects

About

facialRecognitionDetection2D: Implementation of 2D facial recognition detector, Python API, dlib, pre and post-processed video broadcast via YARP. Calculation and emission of detections and coordinates.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages