Git Product home page Git Product logo

pi-facerec-box's Introduction

Raspberry Pi Face Recognition Treasure Box

Raspberry Pi powered box which uses face recognition with OpenCV to lock and unlock itself. See the tutorial on the Adafruit learning system.

pi-facerec-box's People

Contributors

csk157 avatar tdicola 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pi-facerec-box's Issues

does not work on pi2

hi
i have been using this on a pi b+ but on a pi2 i get this error

Traceback (most recent call last):
File "capture-positives.py", line 14, in
import hardware
File "/home/pi/pi-facerec-box-master/hardware.py", line 8, in
import RPIO
File "/usr/local/lib/python2.7/dist-packages/RPIO/init.py", line 115, in
import RPIO._GPIO as _GPIO
SystemError: This module can only be run on a Raspberry Pi!

i updated with a a fresh copy of the Adafruit_Python_GPIO module:

still the same error comes

train.py - model.getMat

Hi,
on opencv 3.0.0 is not recognized getMat
model must by set to> model = cv2.face.createEigenFaceRecognizer()

and then getMat is not found /
File "train.py", line 85, in
mean = model.getMat("mean").reshape(faces[0].shape)
AttributeError: 'cv2.face_BasicFaceRecognizer' object has no attribute 'getMat'

Servo wont turn

Hi, im recently try the face recognition project. everything works with a little change here and there. But, when i run the box.py the servo wont turn even when the system recognize a face. Why is that happening?

can't find module cv2

Hello,
I followed your installation instructions for OpenCV on adafruit for this project and installed everything successfully. My purpose is to test the facial recognition feature with LEDs; basically my picture is taken with the help of a push button and compared with the positive/negative training data, and if my picture is recognized the green LED turns on, if not, the red LED turns on. I used your capture-positives.py for the training and everything worked fine, but I had to edit your config.py and box.py since i'm not using a box or servos.
My problem is: in the capture-positives.py file 'import cv2' works fine, but when i use it in my python script to include the push button and picamera and OpenCV it tells me it can't find module cv2. I have no idea why it can't find the file this time and i'm stuck. Any help from you will be appreciated.

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.