Aspose.OMR for Java
探索Aspose.OMR for Java在多场景下的高效应用,从教育到政府,实现精准自动化表单处理。无需专用硬件,支持快速创建与识别,适用于各种复杂布局。
在跨平台 Java 应用程序、Web 服务或云端构建和处理任何布局和复杂程度的机器可读表单。我们的解决方案可扩展,适用于任何项目,从快速调查和测验到综合期末考试和选举,应有尽有。点击下方项目,了解更多我们的功能和优势。
机器可读的答题纸是笔试、评估和课堂评估的重要组成部分。这款基础的在线应用程序可以生成一个四列的答题纸,并演示了使用 Aspose.OMR for Java 在本地计算机上实现该功能所需的代码。
问题数量
每个问题的气泡数
// 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");
Aspose.OMR for Java 可以在 任何 支持 Java 平台、标准版 (J2SE) 7.0 (1.7) 或更高版本的平台上运行。
Aspose.OMR for Java 几乎可以处理您从扫描仪或相机获取的任何 文件 。识别结果将以最流行的数据交换格式返回,并可导入任何主流数据库或分析系统。
光学标记识别应用范围广泛,为生活中涉及手动数据收集和分析的各个方面提供了便捷的解决方案。该技术完全自动化表单识别,每分钟可处理数百张表单,准确率几乎达到 100%。结果可以实时分析,也可以存储在数据库中,以便日后汇总和分析。
应用范围广泛,包括但不限于:
Image pre-processing and analysis algorithms eliminate the need for specialized OMR scanners and other specialized hardware accessories.You can use a regular pen and paper, common office copier, or even a smartphone camera instead of a scanner, without affecting recognition accuracy and confidence in the result. Our library allows you to create OMR software solutions with the reliability of hardware systems at a much lower cost. Feel free to use any available equipment:
Aspose.OMR for Java provides exceptionally flexible tools for creating machine-readable forms, accommodating various layouts and levels of complexity. There’s no need for external editors or design tools. With our highly adaptable markup language users can seamlessly integrate various elements in any preferred configuration.
If you lack the time to familiarize yourself with template markup syntax, worry not. You can easily create a custom OMR form interactively from any platform or device using online form designer . You can add any number of elements, resize and position them according to your specific needs.
The forms can be personalized with respondent’s name, unique identifiers and photos. You can also brand OMR forms by adding your logo or other image. Experiment with layouts, question formats, and answer structures, all while ensuring the consistent accuracy of mark recognition. Enjoy a creative design process and say goodbye to complex design processes and embrace a straightforward approach to form creation.
Look at the code samples and adapt them to your needs.
Aspose.OMR for Java is an easy-to-use, versatile, and cost-effective API for designing, rendering and recognizing hand-filled answer sheets, surveys, applications, and similar forms.
All paper sizes
Supports all popular paper sizes and a number of non-standard ones.
Scan with a smartphone
Use your smartphone camera instead of a scanner.
No design tools needed
Quickly create OMR forms without external editors and design tools.
Accuracy tuning
Fine-tune recognition parameters for perfect results in any conditions.
Batch processing
Recognize all images in a folder with a single command.
Branding and customization
Customize OMR forms by adding your logo, images, footers, and more.
只需几行代码,即可创建答题纸、调查问卷或其他 OMR 表格,并识别已完成的表格。
您只需要 15 分钟的空闲时间和 Java 语言的基础知识。
OMR 表单的结构和布局在一个使用特殊符号的纯文本文件中定义。您可以使用任何文本编辑器(包括记事本)创建它。只需 4 行代码即可生成 150 个问题的机器可读答题纸:
?answer_sheet=answers elements_count=150 answers_count=5 columns_count=3
完成表单结构和布局后,您只需要 3 行代码即可构建一个简单的实用程序,从中生成可打印的页面:
// 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");
使用 Aspose.OMR for Java,您只需 5 行代码即可创建功能齐全的可编程光学标记读取器。您可以使用现有的办公室复印机,甚至智能手机摄像头来代替昂贵的 OMR 扫描仪。受访者可以使用钢笔、铅笔或记号笔填写表格,并使用任何类型的标记。
// 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);