IOS: comparing image fragment with options library

Basically, I’m trying to figure out how to take a fragment of an image, say, a screenshot of the iPhone’s original screen, cut out the first icon and compare it with a set of images in the library. Any help on where to start?

+3
source share
2 answers

I'm not an iPhone programmer, but I could offer a few things:

, 1- () (). , . , , , .

iOS, , , sdk . :

.

- (int)difference((int)topPixel,(int)bottomPixel)
{
    return abs(topPixel-bottomPixel);
}

: :)

+3

All Articles