top | item 4584453

Face detection for cats in JavaScript

80 points| stevewilhelm | 13 years ago |harthur.github.com | reply

36 comments

order
[+] apu|13 years ago|reply
This work is based on a fairly old research paper. Since then, there has been significant progress on detecting dogs and cats more reliably.

Two prominent groups that are working on it are Andrew Zisserman's group at Oxford: www.robots.ox.ac.uk/~vgg/publications/2012/parkhi12a/parkhi12a.pdf

And Peter Belhumeur's group at Columbia University, who'll be presenting a new paper on detecting and recognizing dog breeds at the European Conference on Computer Vision (ECCV) in 2 weeks. [Peter was my PhD advisor]

More generally, many people in computer vision are getting excited about "fine-grained visual categorization," which is about classifying things at roughly the "species" level. This is in contrast to a lot of the previous computer vision literature, which either focused on generic categories (e.g., people vs animal vs car vs rocket-propelled-grenade) or specific object/instance recognition (e.g., face recognition).

[+] Arvin2|13 years ago|reply
Failed to find cat on grass http://catoftheday.com/archive/2012/September/25.jpg

Failed to find cat yawning http://catoftheday.com/archive/2012/September/28.jpg

Found two cat faces with image of one houseplant and one cat http://catoftheday.com/archive/2012/September/28b.jpg

Success with Sphynx cat http://catoftheday.com/archive/2012/September/27.jpg

[+] rootedbox|13 years ago|reply
This thing fails too often. I need accurate face detection for cats; and I need it now!
[+] SideburnsOfDoom|13 years ago|reply
The drag-drop isn't working for me (Chrome Version 22.0.1229.79 on Unbuntu). It would be nice to have fallback to something simpler and more robust - i.e. a way to paste in a URL.
[+] mistercow|13 years ago|reply
I can drag from nautilus to Chrome in kubuntu (yes, this is a weird combination), but not from Chrome to Chrome, for whatever reason.
[+] TazeTSchnitzel|13 years ago|reply
Are you dragging in images from web pages? Or files from Nautilus?

Only the latter will work (speaking from experience)

[+] bmj|13 years ago|reply
Same with Chrome 22 on Windows 7.
[+] digitalpacman|13 years ago|reply
Windows 7, chrome (newest), doesn't work, can't drag drop.

Uncaught TypeError: Cannot read property 'type' of undefined demo.js:64 handleFiles demo.js:64 (anonymous function) demo.js:48 f.event.dispatch jquery.js:3 h.handle.i

[+] jontwist|13 years ago|reply
It looks like it loves ears on an upright cat. If the contrast between the angle of the ear and the background is clear it will eagerly draw boxes around them. I have lots of photos of my cat :
[+] martin1b|13 years ago|reply
When you're bored, make a face detection app for cats.

Up next: Ass recognition for humans

[+] csaba|13 years ago|reply
This is not working for me, with the test images (or any other image). :\ Edit: Cannot read property 'type' of undefined. Demo.js:64
[+] hirenj|13 years ago|reply
You have to click on the test images, rather than dragging the images onto the area!
[+] molukk|13 years ago|reply
Had the samme issue. Chrome 21 (and now 22 after checking version). Happened when I dragged and dropped an image from another Chrome window. Worked fine when dropping a local image.
[+] NameNickHN|13 years ago|reply
What browser and platform are you using? I'm using Firefox and it's working fine for me.
[+] seanlinehan|13 years ago|reply
I have the same issue. I'm on Chrome + Ubuntu.
[+] tsahyt|13 years ago|reply
One of the test images with 4 cats on it was reported to have only 2 cats on it by the cat detector. Still, good work :)
[+] natmaster|13 years ago|reply
It said some random part of my tshirt was a cat. Then I dragged a picture of a cat, and it said 0 cats. :(
[+] unbeli|13 years ago|reply
[+] mehulkar|13 years ago|reply
That's not a cat, that's a dinosaur.
[+] TazeTSchnitzel|13 years ago|reply
It's been completely ineffective so far, but it's a nice idea! :3
[+] indiecore|13 years ago|reply
Finally, the tool the internet has been screaming for since 1990!