Open mowkee opened 6 years ago
This code only works for gray color characters on white backgrounds. Is it possible to make it work for black characters on white background which is usually the case?
You just need to invert the color when doing the thresholding.
This code only works for gray color characters on white backgrounds. Is it possible to make it work for black characters on white background which is usually the case?