The OMR frame detection mode.
enum L_OcrOMRFrameDetectionMethod
{
L_OcrOMRFrameDetectionMethod_Auto,
L_OcrOMRFrameDetectionMethod_WithoutFrame,
L_OcrOMRFrameDetectionMethod_WithFrame,
L_OcrOMRFrameDetectionMethod_Last = L_OcrOMRFrameDetectionMethod_WithFrame
};
typedef enum L_OcrOMRFrameDetectionMethod L_OcrOMRFrameDetectionMethod;
Automatically detect whether there is a printed frame (e.g., a check box).
The OMR zone is inside the printed frame, so the printed frame is not visible.
The OMR zone is outside the printed frame, so the printed frame is visible.
The *_Last member value is the same as the previous enumeration value.
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.