|
RecAPI
|
OMR optical mark recognition module. More...
Enumerations | |
| enum | OMR_FRAME { FRAME_AUTO, FRAME_NO, FRAME_YES } |
| Frame detection methods for OMR. More... | |
| enum | OMR_SENSE { SENSE_NORMAL, SENSE_LOW, SENSE_LOWER, SENSE_LOWEST } |
| Mark sensitivity of OMR. More... | |
Functions | |
| RECERR RECAPIKRN | kRecSetOmrParams (int sid, INTBOOL bFill, OMR_FRAME frame, OMR_SENSE sensitivity) |
| Setting OMR parameters. | |
| RECERR RECAPIKRN | kRecGetOmrParams (int sid, INTBOOL *pbFill, OMR_FRAME *pFrame, OMR_SENSE *pSensitivity) |
| Getting OMR parameters. | |
OMR optical mark recognition module.
See the general description and the settings of this module.
| enum OMR_FRAME |
Frame detection methods for OMR.
This setting specifies the frame detection method to be applied during the running of the RM_OMR optical mark recognition module. This setting may influence the recognition accuracy.
| enum OMR_SENSE |
Mark sensitivity of OMR.
This setting defines the possible mark sensitivity values to be applied during the running of the RM_OMR checkmark recognition module. This setting may influence the accuracy of the recognition.
| RECERR RECAPIKRN kRecGetOmrParams | ( | int | sid, |
| INTBOOL * | pbFill, | ||
| OMR_FRAME * | pFrame, | ||
| OMR_SENSE * | pSensitivity | ||
| ) |
Getting OMR parameters.
The kRecGetOmrParams function inquires the current settings of the RM_OMR optical mark recognition module. (See kRecSetOmrParams.)
| [in] | sid | Settings Collection ID. |
| [out] | pbFill | Pointer of a Boolean variable to get the current two/three-value output setting. |
| [out] | pFrame | Pointer of a variable to get the current frame detection method setting. |
| [out] | pSensitivity | Pointer of a variable to get the current mark sensitivity level setting. |
| RECERR |
RECERR kRecGetOmrParams(int sid, out bool bFill, out OMR_FRAME frame, out OMR_SENSE sensitivity);
| RECERR RECAPIKRN kRecSetOmrParams | ( | int | sid, |
| INTBOOL | bFill, | ||
| OMR_FRAME | frame, | ||
| OMR_SENSE | sensitivity | ||
| ) |
Setting OMR parameters.
The kRecSetOmrParams function is used to specify the settings of the RM_OMR optical mark recognition module. These are: the filled-in-error feature, the frame detection method and the mark sensitivity level.
| [in] | sid | Settings Collection ID. |
| [in] | bFill | This parameter determines whether the recognition output can take two or three values. |
| [in] | frame | Frame detection method to be set. This specifies whether the image contains visible frames indicating OMR zone borders or not. |
| [in] | sensitivity | Mark sensitivity level to be set. |
| RECERR |
bFill to enable or disable a facility that allows a respondent to correct boxes wrongly checked. If it is FALSE, only one of two values can be generated for each RM_OMR zone:RECERR kRecSetOmrParams(int sid, bool bFill, OMR_FRAME frame, OMR_SENSE sensitivity);