Search found 1 match
Search found 1 match • Page 1 of 1
- Forum: Magick.NET
- Topic: Process an image for better OCR, returns a black one...
- Replies: 1
- Views: 7058
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 P...