I'm a student and i'm working on a project to "digitalize" the text written by the teacher on the chalkboard.
The images are captured with as good lighting conditions as possible, and a fairly good render of what i am trying to create looks like this:
And with a command line like:
Code: Select all
-type Grayscale -brightness-contrast __x__ -negate -posterize 2
The above example is just fine with me since the goal is to get only black and white with the text clearly visible
The problem is when i only get pictures like these:
Shadow cavering parts of the text
A partly wet board
When i do the same effect to these pictures I have a hard time extracting the text in the darker areas and i wonder if the is any command that might help me with this?
Thanks in advance!