An afternoons work...
This program generates an image similar to that you get when buying an item.
It performs the following processes:
- Randomly selects a background from a group
- Randomly flips it
- Randomly selects a neopet image
- Randomly Scales it
- Randomly flips it
- Randomly modifies the colour
- Draws the neopet onto the background with a random opacity
- Modifies the brightness of the image
It then performs 2 different algorithms to locate the image, then checks to see if it was correct (Both algorithms have approximately a 90-95% success rate, but the algorithms wernt the aim of this project, so thats fine)
LDP Tends to work slightly better, but usually finds the exact edge of the neopet and so when using these coordinates they may be a little bit off whereas LDPC usually finds the centre (Works on a number of points and averaging them to find the midpoint)
(Blue = LDP; Red = LDPC)
Blue found edge
Blue missed!
Not sure what use this program has other than for testing algorithms on multiple images quickly, but if anybody wants the source just ask and ill clean it up and post it.
download
http://sim0n.net46.net/%5BOCR%5D%20C...0Generator.zip
Click the image in the bottom left to save it, click the label to perform algorithm accuracy check (will break bottom left image)