views:

42

answers:

2

There is a very cool sounding technique called Shape Context matching, which can be used in an Image Recognition application to match an "unknown image" against a known "image library." There are numerous descriptions of the concept documented on the web (mostly all variations of the same original paper), for example: http://www.eecs.berkeley.edu/Research/Projects/CS/vision/shape/sc_digits.html

I found a JAVA implementation and a MATLAB implementation of the algorithm described in the paper, but I cannot find an objective-c implementation. Anyone know if there is any objective-c code out there, anywhere, implementing these techniques? I sure would like to take advantage of it, rather than trying to write that stuff myself!

A: 

Take a look at openCV. It is implemented in C so it can be used in obj-c pretty easily.

sberry2A
Ah, ok. When I first read the OpenCV main page I saw references to Linux and Windows, but nothing about Mac or objective-c. But upon closer reading I see that "portions" should work under Mac OS X. So I'll try to install it and see if the portion I need is one of those.Right now I am doing my development on the Mac ... but eventually (if it all works) I will want to build the app for iphone. If I use an OpenCV component will that hinder my ability to build for iphone?
Adam
So I have installed OpenCV, and successfully done a simple test. I will now delve a little deeper, and see what I can come up with.
Adam
A: 

I'm currently searching for a Java implementation of the algorithm. Could you please provide a link to the implementation you found?

The original matlab code can be downloaded at: www.eecs.berkeley.edu/Research/Projects/CS/vision/shape/sc_digits.html

I also found a C# implementation: http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=7465&lngWId=10

Pascal