You are viewing limited content. For full access, please sign in.

Question

Question

LF Connector 10 "darkbackgroundthreshold" OCR option values in XML

asked on June 22, 2016 Show version history

Could anyone provide a recommended range of values for using this option when using OCR?

0 0

Replies

replied on June 22, 2016

Hi Kyle,

 

"DarkBackgroundThreshold" OCR option only take effect when "InvertImage"=2. It stands for percentage of dark background used for judging whether an image is black character on white background or otherwise. Its available value is 0 to 1.

 

"InvertImage" OCR option indicates if the color of image should be inverted. Its available value is 0 or 1 or 2. 0 means no invert, which is used if the image has black character on white background. 1 for white character on black background. 2 indicates auto check the color.

 

So you can customize the two options based on the style of the application.

 

Thanks,

Qinmei

 

 

0 0
replied on June 23, 2016

Thank you for the reply. You answered my question.

 

Can this be updated in the LF Connector online help file?  It is currently missing.

0 0
replied on June 23, 2016

Actually, I have another question:  What would be a recommended setting to capture this black number from the grey background, like in this image from Great Plains 2013? The number should be 02035, but the OCR process is reading it as D2035.

Would ImageScaleFactor and UnsharpMaskFactor values help?  And if so, how are the values best determined?

0 0
replied on June 26, 2016

Hello Kyle,

 

Probably UnsharpMaskFactor helps. It is used for smoothing the images. For your issue, please try a smaller value.

 

Best regards,

Huazhen

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.