Hi guys,
For my networking project I am creating a new 'physical layer' in which two computers use their camera to read eachother's screen and create a back and forth text communication.
I will essentially be taking an input string and converting it to a series of different colors based on the different characters of the word or sentence. I am trying to figure out a way to map each ascii character to a color that will be easily distinguishable by a webcam at about 8 feet away.
I'm looking to see if anyone has a creative way to map the RGB values of a color to an ascii character. I have tried using examplecolor.r() to ascii where the red value determines the ascii character, but the variations of red (or blue/green) detected over a webcam varies too much depending on lighting, etc for it to be consistent.
Any help is greatly appreciated!
Thanks,
-Max
For my networking project I am creating a new 'physical layer' in which two computers use their camera to read eachother's screen and create a back and forth text communication.
I will essentially be taking an input string and converting it to a series of different colors based on the different characters of the word or sentence. I am trying to figure out a way to map each ascii character to a color that will be easily distinguishable by a webcam at about 8 feet away.
I'm looking to see if anyone has a creative way to map the RGB values of a color to an ascii character. I have tried using examplecolor.r() to ascii where the red value determines the ascii character, but the variations of red (or blue/green) detected over a webcam varies too much depending on lighting, etc for it to be consistent.
Any help is greatly appreciated!
Thanks,
-Max
1