Giter VIP home page Giter VIP logo

facial_recognition's People

Contributors

carolinedunn avatar v1v3kgithub 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

Watchers

 avatar  avatar  avatar

facial_recognition's Issues

Great job! Couple of suggestions for improvements

Thank you so much for the helpful tutorial. I am using some of your code and setup for my next side project.

A couple of minor suggestions:

if sys.version_info >= (3, 0):
    encodingData = pickle.loads(
        open(encodingsP, "rb").read(), encoding='latin1')
else:
    encodingData = pickle.loads(open(encodingsP, "rb").read())

As an aside, naming anything just "data" is generally not considered a best practice.

  • Resizing the image is slowing you down. You may not see it using imutils FPS, but if you change to use a simple frame counter & timestamp, you'll see that the overall FPS is faster (like > 2 X) without resizing. My testing was all using the PI camera; I did not test with a USB cam.

Can't run my face_rec.py

I found the error, everything was fine but when the camera find my face the camera crash and show this massage

Traceback (most recent call last):
File "/home/pi/face recognition/face_reco.py", line 77, in
counts[name] = counts.get(name, 0) +1
TypeError: unhashable type: 'list'

can you help me? thanks btw for the tutorial

some little issues

Hi Caroline,
You did a fantastic job. Congratulations,
I followed your tutorial and noticed some small problems :

pip install imutils instead impiputils

Your send_test_email.py does not contain a recipient email address

Your facial_req_email.py sends an alert even for unknowns peolpe. The reason is the case sensitive line 79 : name = "Unknown". with a lowercase U that works.


Below is some nice features that you can add :
The support of an IP camera instead a webcam or PI cam. I did it with an Axis camera and by modifying the video stream like this :
vs = VideoStream(src="rtsp://user:password@IP_Address:554/axis-media/media.amp").start()

I can't find a way to add a time delay before sending a second alerte for the same identified people.

Many thanks

Only sends one email when running facial_req_email.py

Hello,
Everything works great until I run facial_req_email.py. If it sees my face, it will send an email saying I am at the door. But if it sees an unknown, it does not send any emails. Is there something i am missing.

Thanks for the help.

High CPU usage on facial_req

I noticed very high cpu usage on running facial_req, I think it is related to the converting the frame to greyscale and rgb for opencv to detect the face. I dont think this step is required since face_recognition module supports detection on its own

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.