Live data from Hacker News

Face recognition in images and video with Python

pyimagesearch.com

21–29 of 29 posts

Re: Face recognition in images and video with Python

#22
post #10

A bit unrelated but I'm in a need for some sort of cat deterrent that will spray water at all cats except mine. Also it would be nice if humans were exempted as well. I haven't done the legwork myself yet, but would this be an appropriate project to check out for this? (As for identifying my cat I've been thinking about alternative solutions such as rfid necklace or something but it is quickly getting past 'quick hac…

This older article from the same author might help you : 'Detecting cats in images with OpenCV' - https://www.pyimagesearch.com/2016/06/20/detecting-cats-in-i...

Re: Face recognition in images and video with Python

#23
post #10

A bit unrelated but I'm in a need for some sort of cat deterrent that will spray water at all cats except mine. Also it would be nice if humans were exempted as well. I haven't done the legwork myself yet, but would this be an appropriate project to check out for this? (As for identifying my cat I've been thinking about alternative solutions such as rfid necklace or something but it is quickly getting past 'quick hac…

Check out the talk "Militarizing Your Backyard with Python: Computer Vision and the Squirrel Hordes"[1] from PyCon 2012. He wired a water canon to a camera able to tell squirrels from birds:

> Has your garden been ravaged by the marauding squirrel hordes? Has your bird feeder been pillaged? Tired of shaking your fist at the neighbor children? Learn how to use Python to tap into computer vision libraries and build an automated sentry water cannon capable of soaking intruders.

Previous discussion here: https://news.ycombinator.com/item?id=3710107

[1] http://pyvideo.org/pycon-us-2012/militarizing-your-backyard-...

Re: Face recognition in images and video with Python

#24
post #10

A bit unrelated but I'm in a need for some sort of cat deterrent that will spray water at all cats except mine. Also it would be nice if humans were exempted as well. I haven't done the legwork myself yet, but would this be an appropriate project to check out for this? (As for identifying my cat I've been thinking about alternative solutions such as rfid necklace or something but it is quickly getting past 'quick hac…

It might be easier to cheat and put a bluetooth or similar beacon onto your cat to suppress the water spray than try and distinguish your cat from others?

Re: Face recognition in images and video with Python

#26

Great article. I'm working on a project to identify buildings, and it seems this technique would apply. Does anyone know of a good buildings dataset, or a pretrained network? 3 million images is no easy task to find... Thanks!

Aerial images?

Sorry, forgot to mention this would be for street level recognition. I don't think aerial views would work for that application, perspective issues notably.

Re: Face recognition in images and video with Python

#27
post #24
post #10

A bit unrelated but I'm in a need for some sort of cat deterrent that will spray water at all cats except mine. Also it would be nice if humans were exempted as well. I haven't done the legwork myself yet, but would this be an appropriate project to check out for this? (As for identifying my cat I've been thinking about alternative solutions such as rfid necklace or something but it is quickly getting past 'quick hac…

It might be easier to cheat and put a bluetooth or similar beacon onto your cat to suppress the water spray than try and distinguish your cat from others?

One of the goals is to create a safe place for my cat, on the porch or something. And still be able to fend off neighbor cats. She is getting old and has had fights on the porch which makes her scared to go out.

So I guess it depends on how easy it would be to limit the scope/direct the receiver to only activate when she is on the stairs which is probably the optimal target range for the porch (and not activate when she is lying just beside the receiver).

Thanks so much everyone for the answers! Can't believe I forgot about the squirrel presentation. My cat is all black and I'm not sure how I'd go about distinguishing it. A really colorful necklace perhaps, but it would have to be quite ungraceful to not be covered in fur when watched from the front/back (a second camera 90 degrees from the first could perhaps help).

In the QA in the squirrel presentation someone also mentioned OpenTLD, which seems to be superseded by CMT ( https://www.gnebehay.com/cmt/ ). Worth a look.

I hope I can find the time to experiment on this.

Re: Face recognition in images and video with Python

#28
post #12
post #5

Can it track eye movements? A cheap eye tracker would be awesome so all the window's i'm looking at are in focus.

Sounds like a great idea. I would be a little worried about how often I actually am not looking at the window I am typing in. Though, I suspect there are obvious patterns.

I think it would be easy to train for novices.

Re: Face recognition in images and video with Python

#29
post #28
post #12

Earlier quoted context omitted.

Sounds like a great idea. I would be a little worried about how often I actually am not looking at the window I am typing in. Though, I suspect there are obvious patterns.

I think it would be easy to train for novices.

I think that is what worries me. For most purposes, this is fine. I do, however, sometimes have a transcription use case. This is fairly uncommon, but I worry that I would get bitten by it being taken away.

That make sense? I still think this is worth trying.

Post reply on HN