Let’s Grow An Algorithm.
Marking stuff in images surely is a useful task. Like, characters. Behold the marvellous “Eleutheria” logo:
How smart it will be if our machine can find the letters in that. Let’s make a simple Lua-based marking algorithm.
if color >= x and color <= y then mark pixel end
Now we play with x and y a little bit and step 1 is done. Anyone want to program this?
(The idea is to present random variations [x, y and the marked image] and just record user feedback.)
Let’s assume “color” is in 0xRRGGBB00 format. [‘cause it just looks cooler to use the highest 3 bytes!]
It’s done. Look it up in the database. RGB in lower 3 bytes (lol).