Search found 1 match

by geko
2017-03-23T05:25:08-07:00
Forum: Magick.NET
Topic: Process an image for better OCR, returns a black one...
Replies: 1
Views: 11136

Process an image for better OCR, returns a black one...

Hello all! I am using this code to improve an image and help the OCR process. Problem is for some reason, final image is always black. QuantizeSettings qs = new QuantizeSettings(); qs.ColorSpace = ColorSpace.Gray; image.Quantize(qs); image.ColorType = ColorType.Grayscale; image.ContrastStretch(new ...