DEV Community

Discussion on: An idea for unit testing glsl

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

Just a note that the ocr idea is a little complex.

Given that you would need 25 shades of any given colour to represent the western alphabet, I could encode a latter per pixel shade from there, snapshot and read the image data and translate this back into text, similar to hidden codes in images. Given there are 4 channels per pixel, more complex alphabets could be represented.