Reputation: 12051
I want to find out if there's a way to implement the certain algorithm for my iPhone and iPad app:
How do you do that? Any ideas? Thanks in advance!
Upvotes: 1
Views: 484
Reputation: 902
Have a look to this similar question: Algorithm for finding similar images
The most reliable and general approach is to use wavelet transforms (multi-scale analysis).
Upvotes: 1
Reputation: 1649
Take a look at AVFoundation and AVCam in Apple library .AVCam sample code demonstrates how to use the AV Foundation capture APIs for recording movies and taking still images.
and this tutorial tells how to use Open CV to compare images and here is a key method you should get start with
- (int)difference((int)topPixel,(int)bottomPixel)
{
return abs(topPixel-bottomPixel);
}
and the last part about displaying the result, i hope it must be quite easy for you..
Upvotes: 3
Reputation: 199
I haven't implemented anything yet, but from what i know edge detection will be neccessary in some step of your solution. There is an open source library providing edge detection:
Without having taken a closer look at it, I think this library might come handy for other tasks in your desired algorithm as well.
Upvotes: 3