blinkinput / blinkinput-android

BlinkOCR SDK for Android
https://microblink.com/ocr
104 stars 29 forks source link

Applying black and white filter #13

Closed microwavestine closed 7 years ago

microwavestine commented 7 years ago

Hi,

I'm having trouble detecting color texts with blinkOCR, and I think applying black / white filter to camera will help. Is there a way to apply this in blinkOCR's BlinkInputSegmentDemo app?

DoDoENT commented 7 years ago

Hi!

There is no possibility to apply any filters to camera in BlinkOCR, however if you want to scan coloured text, you can disable colour drop in OCR engine settings with method setColorDroputEnabled. By default, this feature is enabled, as it increases the recognition quality of black and white text, but makes it difficult to process coloured text. Raw parser and regex parser support setting custom OCR engine settings.

microwavestine commented 7 years ago

@DoDoENT Thanks! I will try it out!

microwavestine commented 7 years ago

I've disabled setColorDroputEnabled and it works perfectly!