The things i been thinking about were:
Check the image, then do pixelsearch for X color and cut text from that part to the final part. The thing is: How do i know where the text ends?
for example:
Write all red letters on the box below:
If i'm not wrong, doing pixelsearch will start from top-left corner and will find F letter first, but not the start of the letter, that would be a problem. Maybe it finds the top part of it that is in the middle of the letter, or the left part that is the first pixel of the letter. Let's say i found the 1st pixel as i wanted, how do i know where it ends? And also, how do i know that it is the last letter?afgdaGADhbgdSFfsHNLYUP
That's why i been thinking. Is there a way to read ONLY X colored texts?
Hope you can help me to solve this.
I tried searching on google something similar but didn't find anything. Maybe i'm stupid.