L_OcrOMRFrameDetectionMethod

enum L_OcrOMRFrameDetectionMethod 
{ 
   L_OcrOMRFrameDetectionMethod_Auto, 
   L_OcrOMRFrameDetectionMethod_WithoutFrame, 
   L_OcrOMRFrameDetectionMethod_WithFrame, 
   L_OcrOMRFrameDetectionMethod_Last = L_OcrOMRFrameDetectionMethod_WithFrame 
}; 
typedef enum L_OcrOMRFrameDetectionMethod L_OcrOMRFrameDetectionMethod; 

The OMR frame detection mode.

Value Meaning
L_OcrOMRFrameDetectionMethod_Auto Automatically detect whether there is a printed frame (e.g., a check box).
L_OcrOMRFrameDetectionMethod_WithoutFrame The OMR zone is inside the printed frame, so the printed frame is not visible.
L_OcrOMRFrameDetectionMethod_WithFrame The OMR zone is outside the printed frame, so the printed frame is visible.
L_OcrOMRFrameDetectionMethod_Last The *_Last member value is the same as the previous enumeration value.

Comments

This enumerated type is used by the following structure:

L_OcrOMROptions

OMR stands for Optical Mark Recognition. For more information, refer to Using OMR in LEADTOOLS C API OCR.

Frames stand for the check boxes that may exist around OMR fields. You can set the LEADTOOLS OCR engine to automatically detect these frames and take them into consideration when recognizing OMR fields. If you know whether the OMR fields contain frames, set the L_OcrOmrOptions.FrameDetectionMethod accordingly to increase recognition performance and accuracy.

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - LEAD Engine C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.