Learn how to Generate and Read OMR Data with Barcode in C#.
https://blog.aspose.com/omr/create-and-read-omr-with-barcode-in-csharp/
This article covers the following topics:
Learn how to Generate and Read OMR Data with Barcode in C#.
https://blog.aspose.com/omr/create-and-read-omr-with-barcode-in-csharp/
This article covers the following topics:
| // Input and output files directory | |
| string dataDir = "C:\\Files\\"; | |
| // Initialize engine | |
| OmrEngine engine = new OmrEngine(); | |
| GenerationResult res = engine.GenerateTemplate(Path.Combine(dataDir, "OMRTestWithBarcode.txt")); | |
| // Check in case of errors | |
| if (res.ErrorCode != 0) | |
| { | |
| Console.WriteLine("ERROR: " + res.ErrorCode + ": " + res.ErrorMessage); | |
| } | |
| // Save generation result: image and .omr template | |
| res.Save(dataDir, "OMRTestWithBarcode"); |
| // This code example demonstrates how to perform OMR on an image and extract data | |
| // OMR Template file path | |
| string TemplateName = @"OMRTestWithBarcode.omr"; | |
| string UserImage = @"OMRTestWithBarcode.png"; | |
| // Input and output files path | |
| string dataDir = "C:\\Files\\"; | |
| string templatePath = Path.Combine(dataDir, TemplateName); | |
| // Initialize OMR Engine | |
| OmrEngine engine = new OmrEngine(); | |
| TemplateProcessor templateProcessor = engine.GetTemplateProcessor(templatePath); | |
| Console.WriteLine("Template loaded."); | |
| // Get results in CSV | |
| string imagePath = Path.Combine(dataDir, UserImage); | |
| string csvResult = templateProcessor.Recognize(imagePath).GetCsv(); | |
| // Save CSV file | |
| File.WriteAllText(Path.Combine(dataDir, Path.GetFileNameWithoutExtension(UserImage) + ".csv"), csvResult); | |
| Console.WriteLine("Result exported. Path: " + Path.Combine(dataDir, Path.GetFileNameWithoutExtension(UserImage) + ".csv")); | |
| Console.WriteLine(csvResult); |
| { | |
| "Version": "1.0", | |
| "Name": "MyTemplate", | |
| "Pages": [ | |
| { | |
| "Height": 3508, | |
| "Width": 2480, | |
| "Elements": [ | |
| { | |
| "Type": "Grid", | |
| "Name": "ID", | |
| "Width": "610", | |
| "Height": "805", | |
| "Top": "779", | |
| "Left": "328", | |
| "AlignedHorizontally": false, | |
| "AlignedVertically": false, | |
| "Elements": [ | |
| { | |
| "Type": "ChoiceBox", | |
| "Name": null, | |
| "Width": "75", | |
| "Height": "795", | |
| "Top": "782", | |
| "Left": "331", | |
| "AlignedHorizontally": false, | |
| "AlignedVertically": false, | |
| "BubbleHeight": 70, | |
| "BubbleWidth": 70, | |
| "Bubbles": [ | |
| { | |
| "Value": "0", | |
| "Top": "784", | |
| "Left": "333", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "1", | |
| "Top": "864", | |
| "Left": "333", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "2", | |
| "Top": "944", | |
| "Left": "333", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "3", | |
| "Top": "1024", | |
| "Left": "333", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "4", | |
| "Top": "1104", | |
| "Left": "333", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "5", | |
| "Top": "1184", | |
| "Left": "333", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "6", | |
| "Top": "1264", | |
| "Left": "333", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "7", | |
| "Top": "1344", | |
| "Left": "333", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "8", | |
| "Top": "1424", | |
| "Left": "333", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "9", | |
| "Top": "1504", | |
| "Left": "333", | |
| "IsValid": true | |
| } | |
| ], | |
| "Multiselect": false, | |
| "Orientation": "Horizontal" | |
| }, | |
| { | |
| "Type": "ChoiceBox", | |
| "Name": null, | |
| "Width": "75", | |
| "Height": "795", | |
| "Top": "782", | |
| "Left": "406", | |
| "AlignedHorizontally": false, | |
| "AlignedVertically": false, | |
| "BubbleHeight": 70, | |
| "BubbleWidth": 70, | |
| "Bubbles": [ | |
| { | |
| "Value": "0", | |
| "Top": "784", | |
| "Left": "408", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "1", | |
| "Top": "864", | |
| "Left": "408", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "2", | |
| "Top": "944", | |
| "Left": "408", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "3", | |
| "Top": "1024", | |
| "Left": "408", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "4", | |
| "Top": "1104", | |
| "Left": "408", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "5", | |
| "Top": "1184", | |
| "Left": "408", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "6", | |
| "Top": "1264", | |
| "Left": "408", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "7", | |
| "Top": "1344", | |
| "Left": "408", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "8", | |
| "Top": "1424", | |
| "Left": "408", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "9", | |
| "Top": "1504", | |
| "Left": "408", | |
| "IsValid": true | |
| } | |
| ], | |
| "Multiselect": false, | |
| "Orientation": "Horizontal" | |
| }, | |
| { | |
| "Type": "ChoiceBox", | |
| "Name": null, | |
| "Width": "75", | |
| "Height": "795", | |
| "Top": "782", | |
| "Left": "481", | |
| "AlignedHorizontally": false, | |
| "AlignedVertically": false, | |
| "BubbleHeight": 70, | |
| "BubbleWidth": 70, | |
| "Bubbles": [ | |
| { | |
| "Value": "0", | |
| "Top": "784", | |
| "Left": "483", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "1", | |
| "Top": "864", | |
| "Left": "483", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "2", | |
| "Top": "944", | |
| "Left": "483", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "3", | |
| "Top": "1024", | |
| "Left": "483", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "4", | |
| "Top": "1104", | |
| "Left": "483", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "5", | |
| "Top": "1184", | |
| "Left": "483", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "6", | |
| "Top": "1264", | |
| "Left": "483", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "7", | |
| "Top": "1344", | |
| "Left": "483", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "8", | |
| "Top": "1424", | |
| "Left": "483", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "9", | |
| "Top": "1504", | |
| "Left": "483", | |
| "IsValid": true | |
| } | |
| ], | |
| "Multiselect": false, | |
| "Orientation": "Horizontal" | |
| }, | |
| { | |
| "Type": "ChoiceBox", | |
| "Name": null, | |
| "Width": "75", | |
| "Height": "795", | |
| "Top": "782", | |
| "Left": "556", | |
| "AlignedHorizontally": false, | |
| "AlignedVertically": false, | |
| "BubbleHeight": 70, | |
| "BubbleWidth": 70, | |
| "Bubbles": [ | |
| { | |
| "Value": "0", | |
| "Top": "784", | |
| "Left": "558", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "1", | |
| "Top": "864", | |
| "Left": "558", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "2", | |
| "Top": "944", | |
| "Left": "558", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "3", | |
| "Top": "1024", | |
| "Left": "558", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "4", | |
| "Top": "1104", | |
| "Left": "558", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "5", | |
| "Top": "1184", | |
| "Left": "558", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "6", | |
| "Top": "1264", | |
| "Left": "558", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "7", | |
| "Top": "1344", | |
| "Left": "558", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "8", | |
| "Top": "1424", | |
| "Left": "558", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "9", | |
| "Top": "1504", | |
| "Left": "558", | |
| "IsValid": true | |
| } | |
| ], | |
| "Multiselect": false, | |
| "Orientation": "Horizontal" | |
| }, | |
| { | |
| "Type": "ChoiceBox", | |
| "Name": null, | |
| "Width": "75", | |
| "Height": "795", | |
| "Top": "782", | |
| "Left": "631", | |
| "AlignedHorizontally": false, | |
| "AlignedVertically": false, | |
| "BubbleHeight": 70, | |
| "BubbleWidth": 70, | |
| "Bubbles": [ | |
| { | |
| "Value": "0", | |
| "Top": "784", | |
| "Left": "633", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "1", | |
| "Top": "864", | |
| "Left": "633", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "2", | |
| "Top": "944", | |
| "Left": "633", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "3", | |
| "Top": "1024", | |
| "Left": "633", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "4", | |
| "Top": "1104", | |
| "Left": "633", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "5", | |
| "Top": "1184", | |
| "Left": "633", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "6", | |
| "Top": "1264", | |
| "Left": "633", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "7", | |
| "Top": "1344", | |
| "Left": "633", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "8", | |
| "Top": "1424", | |
| "Left": "633", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "9", | |
| "Top": "1504", | |
| "Left": "633", | |
| "IsValid": true | |
| } | |
| ], | |
| "Multiselect": false, | |
| "Orientation": "Horizontal" | |
| }, | |
| { | |
| "Type": "ChoiceBox", | |
| "Name": null, | |
| "Width": "75", | |
| "Height": "795", | |
| "Top": "782", | |
| "Left": "706", | |
| "AlignedHorizontally": false, | |
| "AlignedVertically": false, | |
| "BubbleHeight": 70, | |
| "BubbleWidth": 70, | |
| "Bubbles": [ | |
| { | |
| "Value": "0", | |
| "Top": "784", | |
| "Left": "708", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "1", | |
| "Top": "864", | |
| "Left": "708", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "2", | |
| "Top": "944", | |
| "Left": "708", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "3", | |
| "Top": "1024", | |
| "Left": "708", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "4", | |
| "Top": "1104", | |
| "Left": "708", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "5", | |
| "Top": "1184", | |
| "Left": "708", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "6", | |
| "Top": "1264", | |
| "Left": "708", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "7", | |
| "Top": "1344", | |
| "Left": "708", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "8", | |
| "Top": "1424", | |
| "Left": "708", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "9", | |
| "Top": "1504", | |
| "Left": "708", | |
| "IsValid": true | |
| } | |
| ], | |
| "Multiselect": false, | |
| "Orientation": "Horizontal" | |
| }, | |
| { | |
| "Type": "ChoiceBox", | |
| "Name": null, | |
| "Width": "75", | |
| "Height": "795", | |
| "Top": "782", | |
| "Left": "781", | |
| "AlignedHorizontally": false, | |
| "AlignedVertically": false, | |
| "BubbleHeight": 70, | |
| "BubbleWidth": 70, | |
| "Bubbles": [ | |
| { | |
| "Value": "0", | |
| "Top": "784", | |
| "Left": "783", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "1", | |
| "Top": "864", | |
| "Left": "783", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "2", | |
| "Top": "944", | |
| "Left": "783", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "3", | |
| "Top": "1024", | |
| "Left": "783", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "4", | |
| "Top": "1104", | |
| "Left": "783", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "5", | |
| "Top": "1184", | |
| "Left": "783", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "6", | |
| "Top": "1264", | |
| "Left": "783", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "7", | |
| "Top": "1344", | |
| "Left": "783", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "8", | |
| "Top": "1424", | |
| "Left": "783", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "9", | |
| "Top": "1504", | |
| "Left": "783", | |
| "IsValid": true | |
| } | |
| ], | |
| "Multiselect": false, | |
| "Orientation": "Horizontal" | |
| }, | |
| { | |
| "Type": "ChoiceBox", | |
| "Name": null, | |
| "Width": "75", | |
| "Height": "795", | |
| "Top": "782", | |
| "Left": "856", | |
| "AlignedHorizontally": false, | |
| "AlignedVertically": false, | |
| "BubbleHeight": 70, | |
| "BubbleWidth": 70, | |
| "Bubbles": [ | |
| { | |
| "Value": "0", | |
| "Top": "784", | |
| "Left": "858", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "1", | |
| "Top": "864", | |
| "Left": "858", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "2", | |
| "Top": "944", | |
| "Left": "858", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "3", | |
| "Top": "1024", | |
| "Left": "858", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "4", | |
| "Top": "1104", | |
| "Left": "858", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "5", | |
| "Top": "1184", | |
| "Left": "858", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "6", | |
| "Top": "1264", | |
| "Left": "858", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "7", | |
| "Top": "1344", | |
| "Left": "858", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "8", | |
| "Top": "1424", | |
| "Left": "858", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "9", | |
| "Top": "1504", | |
| "Left": "858", | |
| "IsValid": true | |
| } | |
| ], | |
| "Multiselect": false, | |
| "Orientation": "Horizontal" | |
| } | |
| ], | |
| "Orientation": "Horizontal" | |
| }, | |
| { | |
| "Type": "ChoiceBox", | |
| "Name": "Question1", | |
| "Width": "2080", | |
| "Height": "158", | |
| "Top": "1737", | |
| "Left": "305", | |
| "AlignedHorizontally": false, | |
| "AlignedVertically": false, | |
| "BubbleHeight": 70, | |
| "BubbleWidth": 70, | |
| "Bubbles": [ | |
| { | |
| "Value": "A", | |
| "Top": "1737", | |
| "Left": "305", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "B", | |
| "Top": "1737", | |
| "Left": "1345", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "C", | |
| "Top": "1837", | |
| "Left": "305", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "D", | |
| "Top": "1837", | |
| "Left": "1345", | |
| "IsValid": true | |
| } | |
| ], | |
| "Multiselect": false, | |
| "Orientation": "Horizontal" | |
| }, | |
| { | |
| "Type": "ChoiceBox", | |
| "Name": "Question2", | |
| "Width": "2080", | |
| "Height": "79", | |
| "Top": "1997", | |
| "Left": "305", | |
| "AlignedHorizontally": false, | |
| "AlignedVertically": false, | |
| "BubbleHeight": 70, | |
| "BubbleWidth": 70, | |
| "Bubbles": [ | |
| { | |
| "Value": "A", | |
| "Top": "1997", | |
| "Left": "305", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "B", | |
| "Top": "1997", | |
| "Left": "1345", | |
| "IsValid": true | |
| } | |
| ], | |
| "Multiselect": false, | |
| "Orientation": "Horizontal" | |
| }, | |
| { | |
| "Type": "ChoiceBox", | |
| "Name": "Question3", | |
| "Width": "2080", | |
| "Height": "79", | |
| "Top": "2157", | |
| "Left": "305", | |
| "AlignedHorizontally": false, | |
| "AlignedVertically": false, | |
| "BubbleHeight": 70, | |
| "BubbleWidth": 70, | |
| "Bubbles": [ | |
| { | |
| "Value": "A", | |
| "Top": "2157", | |
| "Left": "305", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "B", | |
| "Top": "2157", | |
| "Left": "1345", | |
| "IsValid": true | |
| } | |
| ], | |
| "Multiselect": false, | |
| "Orientation": "Horizontal" | |
| }, | |
| { | |
| "Type": "ChoiceBox", | |
| "Name": "Question4", | |
| "Width": "2080", | |
| "Height": "79", | |
| "Top": "2390", | |
| "Left": "305", | |
| "AlignedHorizontally": false, | |
| "AlignedVertically": false, | |
| "BubbleHeight": 70, | |
| "BubbleWidth": 70, | |
| "Bubbles": [ | |
| { | |
| "Value": "A", | |
| "Top": "2390", | |
| "Left": "305", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "B", | |
| "Top": "2390", | |
| "Left": "1345", | |
| "IsValid": true | |
| } | |
| ], | |
| "Multiselect": false, | |
| "Orientation": "Horizontal" | |
| }, | |
| { | |
| "Type": "ChoiceBox", | |
| "Name": "MainQuestions5", | |
| "Width": "295", | |
| "Height": "70", | |
| "Top": "2649", | |
| "Left": "320", | |
| "AlignedHorizontally": false, | |
| "AlignedVertically": false, | |
| "BubbleHeight": 70, | |
| "BubbleWidth": 70, | |
| "Bubbles": [ | |
| { | |
| "Value": "A", | |
| "Top": "2649", | |
| "Left": "320", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "B", | |
| "Top": "2649", | |
| "Left": "395", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "C", | |
| "Top": "2649", | |
| "Left": "470", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "D", | |
| "Top": "2649", | |
| "Left": "545", | |
| "IsValid": true | |
| } | |
| ], | |
| "Multiselect": false, | |
| "Orientation": "Horizontal" | |
| }, | |
| { | |
| "Type": "ChoiceBox", | |
| "Name": "MainQuestions8", | |
| "Width": "295", | |
| "Height": "70", | |
| "Top": "2649", | |
| "Left": "822", | |
| "AlignedHorizontally": false, | |
| "AlignedVertically": false, | |
| "BubbleHeight": 70, | |
| "BubbleWidth": 70, | |
| "Bubbles": [ | |
| { | |
| "Value": "A", | |
| "Top": "2649", | |
| "Left": "822", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "B", | |
| "Top": "2649", | |
| "Left": "897", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "C", | |
| "Top": "2649", | |
| "Left": "972", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "D", | |
| "Top": "2649", | |
| "Left": "1047", | |
| "IsValid": true | |
| } | |
| ], | |
| "Multiselect": false, | |
| "Orientation": "Horizontal" | |
| }, | |
| { | |
| "Type": "ChoiceBox", | |
| "Name": "MainQuestions11", | |
| "Width": "295", | |
| "Height": "70", | |
| "Top": "2649", | |
| "Left": "1324", | |
| "AlignedHorizontally": false, | |
| "AlignedVertically": false, | |
| "BubbleHeight": 70, | |
| "BubbleWidth": 70, | |
| "Bubbles": [ | |
| { | |
| "Value": "A", | |
| "Top": "2649", | |
| "Left": "1324", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "B", | |
| "Top": "2649", | |
| "Left": "1399", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "C", | |
| "Top": "2649", | |
| "Left": "1474", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "D", | |
| "Top": "2649", | |
| "Left": "1549", | |
| "IsValid": true | |
| } | |
| ], | |
| "Multiselect": false, | |
| "Orientation": "Horizontal" | |
| }, | |
| { | |
| "Type": "ChoiceBox", | |
| "Name": "MainQuestions14", | |
| "Width": "295", | |
| "Height": "70", | |
| "Top": "2649", | |
| "Left": "1826", | |
| "AlignedHorizontally": false, | |
| "AlignedVertically": false, | |
| "BubbleHeight": 70, | |
| "BubbleWidth": 70, | |
| "Bubbles": [ | |
| { | |
| "Value": "A", | |
| "Top": "2649", | |
| "Left": "1826", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "B", | |
| "Top": "2649", | |
| "Left": "1901", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "C", | |
| "Top": "2649", | |
| "Left": "1976", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "D", | |
| "Top": "2649", | |
| "Left": "2051", | |
| "IsValid": true | |
| } | |
| ], | |
| "Multiselect": false, | |
| "Orientation": "Horizontal" | |
| }, | |
| { | |
| "Type": "ChoiceBox", | |
| "Name": "MainQuestions6", | |
| "Width": "295", | |
| "Height": "70", | |
| "Top": "2729", | |
| "Left": "320", | |
| "AlignedHorizontally": false, | |
| "AlignedVertically": false, | |
| "BubbleHeight": 70, | |
| "BubbleWidth": 70, | |
| "Bubbles": [ | |
| { | |
| "Value": "A", | |
| "Top": "2729", | |
| "Left": "320", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "B", | |
| "Top": "2729", | |
| "Left": "395", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "C", | |
| "Top": "2729", | |
| "Left": "470", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "D", | |
| "Top": "2729", | |
| "Left": "545", | |
| "IsValid": true | |
| } | |
| ], | |
| "Multiselect": false, | |
| "Orientation": "Horizontal" | |
| }, | |
| { | |
| "Type": "ChoiceBox", | |
| "Name": "MainQuestions9", | |
| "Width": "295", | |
| "Height": "70", | |
| "Top": "2729", | |
| "Left": "822", | |
| "AlignedHorizontally": false, | |
| "AlignedVertically": false, | |
| "BubbleHeight": 70, | |
| "BubbleWidth": 70, | |
| "Bubbles": [ | |
| { | |
| "Value": "A", | |
| "Top": "2729", | |
| "Left": "822", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "B", | |
| "Top": "2729", | |
| "Left": "897", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "C", | |
| "Top": "2729", | |
| "Left": "972", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "D", | |
| "Top": "2729", | |
| "Left": "1047", | |
| "IsValid": true | |
| } | |
| ], | |
| "Multiselect": false, | |
| "Orientation": "Horizontal" | |
| }, | |
| { | |
| "Type": "ChoiceBox", | |
| "Name": "MainQuestions12", | |
| "Width": "295", | |
| "Height": "70", | |
| "Top": "2729", | |
| "Left": "1324", | |
| "AlignedHorizontally": false, | |
| "AlignedVertically": false, | |
| "BubbleHeight": 70, | |
| "BubbleWidth": 70, | |
| "Bubbles": [ | |
| { | |
| "Value": "A", | |
| "Top": "2729", | |
| "Left": "1324", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "B", | |
| "Top": "2729", | |
| "Left": "1399", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "C", | |
| "Top": "2729", | |
| "Left": "1474", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "D", | |
| "Top": "2729", | |
| "Left": "1549", | |
| "IsValid": true | |
| } | |
| ], | |
| "Multiselect": false, | |
| "Orientation": "Horizontal" | |
| }, | |
| { | |
| "Type": "ChoiceBox", | |
| "Name": "MainQuestions15", | |
| "Width": "295", | |
| "Height": "70", | |
| "Top": "2729", | |
| "Left": "1826", | |
| "AlignedHorizontally": false, | |
| "AlignedVertically": false, | |
| "BubbleHeight": 70, | |
| "BubbleWidth": 70, | |
| "Bubbles": [ | |
| { | |
| "Value": "A", | |
| "Top": "2729", | |
| "Left": "1826", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "B", | |
| "Top": "2729", | |
| "Left": "1901", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "C", | |
| "Top": "2729", | |
| "Left": "1976", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "D", | |
| "Top": "2729", | |
| "Left": "2051", | |
| "IsValid": true | |
| } | |
| ], | |
| "Multiselect": false, | |
| "Orientation": "Horizontal" | |
| }, | |
| { | |
| "Type": "ChoiceBox", | |
| "Name": "MainQuestions7", | |
| "Width": "295", | |
| "Height": "70", | |
| "Top": "2809", | |
| "Left": "320", | |
| "AlignedHorizontally": false, | |
| "AlignedVertically": false, | |
| "BubbleHeight": 70, | |
| "BubbleWidth": 70, | |
| "Bubbles": [ | |
| { | |
| "Value": "A", | |
| "Top": "2809", | |
| "Left": "320", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "B", | |
| "Top": "2809", | |
| "Left": "395", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "C", | |
| "Top": "2809", | |
| "Left": "470", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "D", | |
| "Top": "2809", | |
| "Left": "545", | |
| "IsValid": true | |
| } | |
| ], | |
| "Multiselect": false, | |
| "Orientation": "Horizontal" | |
| }, | |
| { | |
| "Type": "ChoiceBox", | |
| "Name": "MainQuestions10", | |
| "Width": "295", | |
| "Height": "70", | |
| "Top": "2809", | |
| "Left": "822", | |
| "AlignedHorizontally": false, | |
| "AlignedVertically": false, | |
| "BubbleHeight": 70, | |
| "BubbleWidth": 70, | |
| "Bubbles": [ | |
| { | |
| "Value": "A", | |
| "Top": "2809", | |
| "Left": "822", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "B", | |
| "Top": "2809", | |
| "Left": "897", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "C", | |
| "Top": "2809", | |
| "Left": "972", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "D", | |
| "Top": "2809", | |
| "Left": "1047", | |
| "IsValid": true | |
| } | |
| ], | |
| "Multiselect": false, | |
| "Orientation": "Horizontal" | |
| }, | |
| { | |
| "Type": "ChoiceBox", | |
| "Name": "MainQuestions13", | |
| "Width": "295", | |
| "Height": "70", | |
| "Top": "2809", | |
| "Left": "1324", | |
| "AlignedHorizontally": false, | |
| "AlignedVertically": false, | |
| "BubbleHeight": 70, | |
| "BubbleWidth": 70, | |
| "Bubbles": [ | |
| { | |
| "Value": "A", | |
| "Top": "2809", | |
| "Left": "1324", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "B", | |
| "Top": "2809", | |
| "Left": "1399", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "C", | |
| "Top": "2809", | |
| "Left": "1474", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "D", | |
| "Top": "2809", | |
| "Left": "1549", | |
| "IsValid": true | |
| } | |
| ], | |
| "Multiselect": false, | |
| "Orientation": "Horizontal" | |
| }, | |
| { | |
| "Type": "ChoiceBox", | |
| "Name": "MainQuestions16", | |
| "Width": "295", | |
| "Height": "70", | |
| "Top": "2809", | |
| "Left": "1826", | |
| "AlignedHorizontally": false, | |
| "AlignedVertically": false, | |
| "BubbleHeight": 70, | |
| "BubbleWidth": 70, | |
| "Bubbles": [ | |
| { | |
| "Value": "A", | |
| "Top": "2809", | |
| "Left": "1826", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "B", | |
| "Top": "2809", | |
| "Left": "1901", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "C", | |
| "Top": "2809", | |
| "Left": "1976", | |
| "IsValid": true | |
| }, | |
| { | |
| "Value": "D", | |
| "Top": "2809", | |
| "Left": "2051", | |
| "IsValid": true | |
| } | |
| ], | |
| "Multiselect": false, | |
| "Orientation": "Horizontal" | |
| }, | |
| { | |
| "Type": "Barcode", | |
| "Name": "AsposeWebsite", | |
| "Width": "360", | |
| "Height": "360", | |
| "Top": "250", | |
| "Left": "1900", | |
| "BarcodeType": "QR", | |
| "QrVersion": 1 | |
| }, | |
| { | |
| "Type": "ReferencePoint", | |
| "Name": "ReferencePoint0", | |
| "Width": "125", | |
| "Height": "125", | |
| "Top": "24", | |
| "Left": "24", | |
| "ReferenceType": "Corner" | |
| }, | |
| { | |
| "Type": "ReferencePoint", | |
| "Name": "ReferencePoint1", | |
| "Width": "125", | |
| "Height": "125", | |
| "Top": "24", | |
| "Left": "2331", | |
| "ReferenceType": "Corner" | |
| }, | |
| { | |
| "Type": "ReferencePoint", | |
| "Name": "ReferencePoint2", | |
| "Width": "125", | |
| "Height": "125", | |
| "Top": "3359", | |
| "Left": "24", | |
| "ReferenceType": "Corner" | |
| }, | |
| { | |
| "Type": "ReferencePoint", | |
| "Name": "ReferencePoint3", | |
| "Width": "125", | |
| "Height": "125", | |
| "Top": "3359", | |
| "Left": "2331", | |
| "ReferenceType": "Corner" | |
| }, | |
| { | |
| "Type": "ReferencePoint", | |
| "Name": "ReferencePoint4", | |
| "Width": "125", | |
| "Height": "173", | |
| "Top": "322", | |
| "Left": "2331", | |
| "ReferenceType": "Rotation" | |
| } | |
| ], | |
| "ImageFormat": ".png", | |
| "ImageName": null, | |
| "RotationPointPosition": "TopRight1" | |
| } | |
| ], | |
| "TemplateId": "", | |
| "FinalizationComplete": false, | |
| "IsGenerated": true | |
| } |
| ?barcode=AsposeWebsite | |
| value=aspose.com | |
| barcode_type=qr | |
| qr_version=1 | |
| x=1900 | |
| y=250 | |
| height=360 | |
| ?grid=ID | |
| sections_count=8 | |
| #What is Aspose.OMR main function? | |
| () OCR () Capture human-marked data | |
| () There is no main function () Enhance images | |
| #Can Aspose.OMR process not only scans, but also photos? | |
| () Yes, indeed! () No | |
| #Aspose.OMR is available on any platform, because it is: | |
| () Cross-platform code () Cloud service | |
| #Aspose.OMR works with any kind of OMR forms: tests, exams, questionnaires, surveys, etc. | |
| () Yes, indeed! () No | |
| ?text= Answer sheet section | |
| ?answer_sheet=MainQuestions | |
| elements_count=12 | |
| columns_count=4 | |
| ?text=Sign________________________________ |