Looking for a Face.com API replacement? Try ReKognition.

This post is more than 2 years old.

Many moons ago I blogged about a cool API that provided facial recognition. Unfortunately, Facebook bought them and their API is shutting down. A few services have sprung up in its place, one of them being the ReKognition API.

They offer a metered REST-based API that supports face recognition and training. You can sign up for free and use their service in a metered fashion. Even better, you can use their API via JavaScript in CORS-enabled browsers. What I find most interesting though is their scene recognition API. It is still a bit rough, but it attempts to scan an image for features you would find in scenes - like an ocean, mountains, or even a sunset. They've got a demo you can try yourself. Here's how their sample image reports:

For the heck of it I decided to build my own demo. I created a page with simple drag/drop support. Here's a snapshot of the relevant code:

This code makes use of a few bleeding edge features around drag and drop and file APIs. I tested it in the latest Chrome and Firefox and it worked fine. Drag an image into the box, let go, and you should see it doing a XHR2-based Post to ReKognition. (And yes, this is using my own keys so it may run out of available calls. I don't have any good error handling there yet.)

Just in case you don't have a capable browser, or my API calls get cut, here are a few examples of the output:

And another one...

As I said - the results are still a bit rough - but I think this API could be pretty darn cool when it has more data to work with. I can also say that I had very good luck working with the engineers behind this API. I ran into a few issues and they were very supportive. (They even took a few suggestions I had!)

Raymond Camden's Picture

About Raymond Camden

Raymond is a senior developer evangelist for Adobe. He focuses on document services, JavaScript, and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA https://www.raymondcamden.com

Archived Comments

Comment 1 by keysle posted on 9/19/2012 at 6:20 AM

Wow. This exists?
Algorithms behind these things BLOW MY MIND.
I need to learn them!

Comment 2 by Raymond Camden posted on 9/19/2012 at 6:23 AM

I saw a presentation once on a JS library that could find cat faces. I maybe understood 1/5th of it- but yeah - it blows my mind that people can do this.

Comment 3 by pixuate posted on 1/21/2013 at 1:13 PM

Here is a web based product specifically for this purpose.
please check http://pixuate.com

It provide a perfectly scalable platform for your requirement.
User can store the images and make image comparison and face detection/recognition on them.

Comment 4 by James posted on 8/5/2013 at 2:13 PM

Just signed up and tried out the free plan, works awesomely! I hope they don't disappear like face.com!

Comment 5 by Eric Liu posted on 12/6/2013 at 8:12 AM

Welcome try the leading face recognition API----Face++(www.faceplusplus.com)