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. 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. |
This enumerated type is used by the following structure:
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.