My goal is to create a program that plays Mahjong. I figured the algo would be a bit like this:
While there are blocks left {
Fetch new board
Recognize blocks //find 2 of the same images within the image.
Find free blocks //not *really* necessary: computer versions don't allow the non-free blocks to be clicked/removed, so the program can click away.
Check which ones are the same and remove those. //Will send input, but this part is covered.
}
So obviously there are tons of algorithms for image recognition, but I was wondering if anyone knew the the simplest way of image recognition. What bubble sort is to sorting, this algo needs to be to image recognition. ;)
Thanks in advance,