Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Image recognition library/API for iPhone code [closed]

I need to make an iOS app with these features:

  • Use the camera capture a image.
  • Recognize that image: Does it match with a sample image or not?

Is there any online API to do that (from Google, Yahoo, ...)? For example, can I upload an image and I get an image URL and after that request a url to compare a new image with an exist one?

like image 423
Kevin Duong Avatar asked Apr 04 '11 11:04

Kevin Duong


2 Answers

OpenCV library (for iPhone) contains many algorithms. You can simply compare color histograms of images, or use more complicated stuff. Which kind of matching do you mean? Finding duplicates or calculating measure of similarity of images?

If you want to match some simple template to find objects then try Viola & Jones algorithm and so called Haar cascades. OpenCV has trained collection of templates in XML files for detecting faces for example. OpenCV contains utility for training thus you are able to generate cascades for other kinds of objects

like image 95
Andrey Sboev Avatar answered Oct 14 '22 11:10

Andrey Sboev


You can also have a look at Moodstocks, they provide a great API and iOS SDK to implement image recognition in your app in minutes.

like image 14
MartinMoizard Avatar answered Oct 14 '22 12:10

MartinMoizard