Skip to content

facialAnalysisLiteDetection2D: Detector implementation for the analysis of facial features. Using the cvlib API analysis for gender extraction and prediction. Via OpenCV DNN, age prediction. Through tensorflow, emotion detection. Image source reception via YARP, processing and sending of detections via YARP port.

Notifications You must be signed in to change notification settings

davidvelascogarcia/facialAnalysisLiteDetection2D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

facialAnalysisLiteDetection2D Homepage Latest Release Build Status

Facial Analysis: Lite Detector 2D (Python API)

Introduction

facialAnalysisLiteDetection2D module use tensorflow , cvlib and openCV python API. The module analyze faces using pre-trained models and adds facial analysis doing prediction about some features like gender, age and emotions. Also use YARP to send video source pre and post-procesed. Also admits YARP source video like input. This module also publish detection results in YARP port.

Documentation available on docs

Trained Models

facialAnalysisLiteDetection2D requires images source to detect. First run program will download gender pre-trained models, the rest of the models are located in models dir, about features to detect:

  1. Execute programs/facialAnalysisLiteDetection2D.py, to start the program.
python3 facialAnalysisLiteDetection2D.py
  1. Connect video source to facialAnalysisLiteDetection2D.
yarp connect /videoSource /facialAnalysisLiteDetection2D/img:i

NOTE:

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

Requirements

facialAnalysisLiteDetection2D requires:

pip3 install tensorflow==1.13.1
  • Install cvlib:
pip3 install cvlib

Tested on: windows 10, ubuntu 14.04, ubuntu 16.04, ubuntu 18.04, lubuntu 18.04 and raspbian.

Status

Build Status

Issues

Related projects

About

facialAnalysisLiteDetection2D: Detector implementation for the analysis of facial features. Using the cvlib API analysis for gender extraction and prediction. Via OpenCV DNN, age prediction. Through tensorflow, emotion detection. Image source reception via YARP, processing and sending of detections via YARP port.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages