Kitty Radar Cat Detector
Written by Lucy Black   
Sunday, 14 April 2013

The Kittydar cat radar detector, written in JavaScript, is now available on Github. Kittydar, short for kitty radar, performs the vital task of identifying the locations of all the cats in an image you present to it.

According to the project's ReadMe on Github, the way Kittydar works  is that it first chops the image up into many "windows" to test for the presence of a cat head. Within each window a gradient is computed and a Histogram of Oriented Gradients or HOG is then used as the raw feature in a learning system. 

The system is based on a neural network that has, according to the researcher Heather Arthur who created KittyDar, been pre-trained with thousands of photos of cat heads and their histograms, as well as thousands of non-cats. The neural network data is included in Kittydar in JSON format and is used to perform the classification. 

You can try out KittyDar with test images or your own photos in this demo:

http://harthur.github.com/kittydar/

 

kittydar2

 

So far the method only works on "upright cats that are facing forward." For me the concept of an "upright cat " is an intriguing one. 

 

KittyDar was shown as part of Arthur’s talk at Texas JavaScript Conference 2012 (TXJS), where she demoed how to write detection scripts for social networks to send Growl notifications on incoming cat picture uploads.

Given the number of cat pictures that forms many Facebook posts, this is a product with a real market need out there.

If you want to add it to your own web page then simply download the code, add a canvas element to the page and use it to display the photo. Finally simply call:

var cats = kittydar.detectCats(canvas); console.log("there are",
  cats.length, "cats in this photo");

It also returns a bounding boxes for the detected cats in the returned array. 

Arthur isn’t the only person working in this important area of research; she references a research paper titled “Cat Head Detection - How to Effectively Exploit Shape and Texture Features” by Weiwei Zhang, Jian Sun, and Xiaoou Tang of Microsoft Research Asia.

 

kittydar1

So it does seem that the cats instructed us to create the internet and the web and now we are being used to help complete the construction of the biggest social network ever - KittyBook - complete with autotagged photographs.

More Information

KittyDar project on Github

KittyDar demo

Microsoft Research Asia paper “Cat Head Detection"

Related Articles

A Neural Network Learns What A Face Is

 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin,  or sign up for our weekly newsletter.

 

blog comments powered by Disqus

 

Banner


The Astonishing Progress Of Blink
09/04/2014

It is just over a year since Google broke away from WebKit and decided to create its own version of the rendering engine just for Chrome. What is amazing is just how much benefit Chrome has accrued fr [ ... ]



Facebook Buys Oculus VR
26/03/2014

Oculus VR, which has a virtual reality headset under development, has been snapped up by Facebook in a deal valued at $2 billion. What does this mean for the future of VR?


More News

Last Updated ( Saturday, 20 April 2013 )
 
 

   
RSS feed of news items only
I Programmer News
Copyright © 2014 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.