Giter VIP home page Giter VIP logo

faceutils's Introduction

MRL @Home face recognition

Face recognition using dlib and kNN classification with ROS compatibility.

made-with-python


Face detector in a Docker image

Take a look at facedetector. It's a simple Flask and docker-ready application that works as a server to detect faces, genders and their landmarks.

Caution

The Master branch is heavily under development. Please use v1 branch instead of Master.

Wiki

For details, please read our notes on Wiki Pages.

Tests

$ sudo pip install nose
$ python2.7 -m nose -v --nocapture

ROS module

To install it as ROS module, first of all, install faceutils with pip and then clone this repository to your catkin_ws. Do not forget to run catkin_make.

Contribution

It's simple. Fork and work on it !

Remember to write a tests in tests directory before sending PR.



MIT license Made in MRL

faceutils's People

Contributors

ahmdrz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

faceutils's Issues

Detection & tracking face

Hi,

when we are tracking the SAME face if people changed is the tracker still tracking face (different people)

How we can detect people and scene changed ?

Best

It does not run inside ros Kinetic

Hi,
I've copied and renamed 'ros' folder inside a ros workspace.
Build was ok, but when I run the launch file the following error appears:
process[ros_face_recognition-2]: started with pid [9948] Traceback (most recent call last): File "/home/luca/ros/src/ros_face_recognition/scripts/face_recognition_node.py", line 2, in <module> import cv2 ImportError: /opt/ros/kinetic/lib/python2.7/dist-packages/cv2.so: undefined symbol: PyCObject_Type

This is my configuration
Ubuntu: 16.04
ROS: Kinetic
OpenCV 3.4.6
Python 2.7

All my cpp code run without problems, but I'm not able to integrate python code importng cv2 libraries insied ROS environment.

gender_model.pickle file should be in binary format instead of text?

When I run face_recognition_node.py , now I receive this message and the node dies.

process[ros_face_recognition-1]: started with pid [14644]
Traceback (most recent call last):
  File "/home/luca/ros/src/ros_face_recognition/scripts/face_recognition_no
    import face_api
  File "/home/luca/ros/src/ros_face_recognition/scripts/face_api.py", line
    _classifier = pickle.load(open(os.path.join(os.path.join(_base_dir, "da
TypeError: a bytes-like object is required, not 'str'

May be the file gender_model.pickle should be in binay format instead of text ?

Crash on loading dump files

After running the face recognition node once, and attempting to launch it again, Python crashes (no log or error message)

By commenting the scripts, I managed to find out that the crash happens when pickle tries to load the .dump files generated from the previous session.

I also found out that those errors are related with the loading and saving of c pointers of python-wrapped c classes. (I suspect that the newer version of dlib I'm using is the culprit)

I'm using dlib 19.10, if you could tell me your version, I'd try to use it and validate my hypothesis.

Thanks!

import rospy error

hi,
unable to import rospy
ImportError: No module named 'rospy'

please help,
thanks and regards.

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.