{index-content-java.overview_title}

{index-content-java.overview_description}

Illustration omr

{index-content-java.overview_features.feature1_title}

{index-content-java.overview_features.feature1_content}

{index-content-java.overview_features.feature2_title}

{index-content-java.overview_features.feature2_content}

{index-content-java.overview_features.feature3_title}

{index-content-java.overview_features.feature3_content}

{index-content-java.overview_features.feature4_title}

{index-content-java.overview_features.feature4_content}

{index-content-java.overview_features.feature5_title}

{index-content-java.overview_features.feature5_content}

{index-content-common.livesample.title}

{index-content-java.livesample.description}

{index-content-common.livesample.label_num_qestions}

 

{index-content-common.livesample.label_num_bubbles}

{index-content-common.livesample.subtitle}

{index-content-java.livesample.more} >
// Initialize Aspose.OMR engine
OmrEngine engine = new OmrEngine();
// Generate machine-readable form from the markup
GenerationResult res
     = engine.generateTemplate("template.txt");
// Save printable OMR form as an image
res.Save("print", "answer-sheet");

{index-content-java.platforms_title}

{index-content-java.platforms_description}

Microsoft Windows
Linux
macOS
Docker

{index-content-common.formats.title}

Aspose.OMR for Java {index-content-common.formats.description_part_1}( https://docs.aspose.com/omr/java/supported-file-formats/ ) {index-content-common.formats.description_part_2}

{index-content-common.formats.group1}

  • TXT
  • JPEG, PNG

{index-content-common.formats.group2}

  • JPEG
  • PNG

{index-content-common.formats.group3}

  • CSV
  • JSON

{index-content-java.all_texts.text1.title}

{index-content-java.all_texts.text1.paragraph1}

{index-content-java.all_texts.text1.paragraph2}

  • {index-content-java.all_texts.text1.b_li_1}
  • {index-content-java.all_texts.text1.b_li_2}
  • {index-content-java.all_texts.text1.b_li_3}
  • {index-content-java.all_texts.text1.b_li_4}
  • {index-content-java.all_texts.text1.b_li_5}

{index-content-java.all_texts.text2.title}

{index-content-java.all_texts.text2.paragraph1}

  • {index-content-java.all_texts.text2.b_li_1}
  • {index-content-java.all_texts.text2.b_li_2}
  • {index-content-java.all_texts.text2.b_li_3}
  • {index-content-java.all_texts.text2.b_li_4}
  • {index-content-java.all_texts.text2.b_li_5}
  • {index-content-java.all_texts.text2.b_li_6}
  • {index-content-java.all_texts.text2.b_li_7}

{index-content-java.all_texts.text3.title}

{index-content-java.all_texts.text3.paragraph1}

{index-content-java.all_texts.text3.paragraph2}

Alumni questionnaire Customer satisfaction survey SAT form

{index-content-java.all_texts.text3.paragraph4}

{index-content-java.all_texts.text3.paragraph5}

{index-content-common.features.title}

Aspose.OMR for Java {index-content-common.features.description}

Feature icon

{index-content-common.features.feature1_title}

{index-content-common.features.feature1_content}

Feature icon

{index-content-common.features.feature2_title}

{index-content-common.features.feature2_content}

Feature icon

{index-content-common.features.feature3_title}

{index-content-common.features.feature3_content}

Feature icon

{index-content-common.features.feature5_title}

{index-content-common.features.feature5_content}

Feature icon

{index-content-common.features.feature6_title}

{index-content-common.features.feature6_content}

Feature icon

{index-content-common.features.feature9_title}

{index-content-common.features.feature9_content}

{index-content-java.code_samples.title}

{index-content-java.code_samples.description}

{index-content-java.code_samples.item1.title}

{index-content-java.code_samples.item1.content1}

{index-content-java.code_samples.item2.title}

{index-content-java.code_samples.item2.content1}

How to design an answer sheet

?answer_sheet=answers
  elements_count=150
  answers_count=5
  columns_count=3

{index-content-java.code_samples.item2.content2}

How to generate a printable form

// Initialize Aspose.OMR engine
OmrEngine engine = new OmrEngine();
// Generate machine-readable form from the markup
GenerationResult res = engine.generateTemplate("template.txt");
// Save printable OMR form as an image
res.Save("print", "answer-sheet");

{index-content-java.code_samples.item3.title}

{index-content-java.code_samples.item3.content1}

How to recognize a completed form

// Initialize Aspose.OMR engine
OmrEngine engine = new OmrEngine();
// Apply the recognition template
TemplateProcessor processor = engine.getTemplateProcessor("pattern.omr");
// Load the scanned or photographed form
RecognitionResult result = processor.recognizeImage("completed-form.png");
// Output the recognition result
String resultCsv = result.getCsv();
System.out.println(resultCsv);