How form elements are recognized
Below is information and examples on how Aspose.OMR for C++ recognizes different types of elements in forms.
Barcode
Show / hide details
Mapping
Recognition result |
Value |
Element Name |
name property of the Barcode element. |
Value |
Decoded barcode. |
Example
Element Name,Value,
QR code,“https://products.aspose.com/omr/cpp/"
Question (ChoiceBox)
Show / hide details
Mapping
Recognition result |
Value |
Element Name |
Question{number} |
Value |
Marked bubbles, separated by commas. |
Example
Element Name,Value,
Question1,"A,C"
CheckBox
Show / hide details
Mapping
Recognition result |
Value |
Element Name |
name property of the CheckBox element. |
Value |
Marked boxes, separated by commas. |
Example
Element Name,Value,
Food preference:,"Vegan,Low-carb"
VerticalChoiceBox
Show / hide details
Mapping
Recognition result |
Value |
Element Name |
name property of the VerticalChoiceBox element. |
Value |
Marked answers, separated by commas. |
Example
Element Name,Value,
Definition,"1"
ScoreGroup
Show / hide details
Mapping
Recognition result |
Value |
Element Name |
- For each ScoreQuestion element, an entry with
name property of ScoreQuestion element is added. - For each ScoreQuestion element, an entry with
name property of ScoreQuestion element and _total suffix is added. - For the entire ScoreGroup element, the entry with
name property of ScoreGroup element and _total suffix is added.
|
Value |
- Marked evaluation criteria for each ScoreQuestion element, separated by commas.
- Aggregated score for each ScoreQuestion element.
- Total score for the entire ScoreGroup element.
|
Example
Element Name,Value,
How would you rate our services?,"The staff was friendly and helpful,Management was available to solve problems"
How would you rate our services?_total,"3"
Satisfaction survey_total,"3"
Table
Show / hide details
Mapping
Recognition result |
Value |
Element Name |
name property of each Question element. |
Value |
Marked answer text. |
Example
Element Name,Value,
Are you satisfied with Aspose.OMR for C++ performance?,"I don't know"
Are you satisfied with Aspose.OMR for C++ recognition accuracy?,"Yes"
Is Aspose.OMR for C++ easy to use?,"Yes"
Answer Sheet
Show / hide details
Mapping
Recognition result |
Value |
Element Name |
name property of each Question element followed by the question number. |
Value |
Answer. |
Example
Element Name,Value,
Exam1,"C"
Exam2,"A"
Exam3,"D"
Exam4,"E"
Exam5,"B"
Exam6,"B"
Exam7,"B"
Exam8,"E"
Exam9,"A"
Exam10,"C"
Exam11,"D"
Exam12,"B"
Exam13,"D"
Exam14,"E"
Exam15,"A"
Grid
Show / hide details
Mapping
Recognition result |
Value |
Element Name |
name property of the Grid element. |
Value |
Numbers from each marked bubble merged into a single number. If more than one bubble is marked per row / column, all marked numbers are merged into the result. |
Example
Element Name,Value,
Phone number,"1234567"
CustomAnswerSheet
Show / hide details
Mapping
Recognition result |
Value |
Element Name |
name property of the CustomAnswerSheet element followed by underscore and the question number. |
Value |
Answer. |
Example
Element Name,Value,
Example_1,"A"
Example_2,"C"
Example_3,"D"
Example_4,"C"
Example_5,"B"
Example_6,"A"
Example_7,"A"
Example_8,"C"
Example_9,"D"
Example_10,"D"
Example_11,"B"
Example_12,"B"
Example_13,"A"
Example_14,"D"
Example_15,"C"
CompositeGrid
Show / hide details
Mapping
Recognition result |
Value |
Element Name |
name property of the CompositeGrid element. |
Value |
Symbols from each marked bubble merged into a single value. If more than one bubble are marked per row / column, an error is written into the results. |
Example
Element Name,Value,
Security word 1,"SECRET"
Security word 2,"ERROR: Multiple marks per symbol"