Extracting handwritten text
Contents
[
Hide
]
To use this recognition method, install handwritten text recognition (aspose-ocr-handwriting-v1) in your project.
Aspose.OCR for Java offers a special recognition algorithm for extracting handwritten text from images. It supports a number of European languages based on Extended Lain alphabet. Handwritten recognition has various business, government and personal applications:
- Extract text from notes, memos and letters.
- Convert historical records and documents into digital formats for archival purposes.
- Parse resumes and employee records.
- Analyze information from handwritten inventory lists to maintain accurate and up-to-date databases.
- Analyze customer feedback and reviews to gain insights into customer preferences.
- And many more.
To extract handwritten text from images, use RecognizeHandwrittenText()
method of AsposeOcr
class.
The method takes OcrInput
object and returns a RecognitionResult
object containing the text from images.
AsposeOCR api = new AsposeOCR();
// Load an image
OcrInput input = new OcrInput(InputType.SingleImage);
input.add("memo.png");
// Recognize handwritten text
ArrayList<RecognitionResult> result = api.RecognizeHandwrittenText(input);
out.println("Recognized text:\n" + result.get(0).recognitionText);
Live demo
WE STARF WITH GOOD BECAUSE ALL BUSINESSES SHOULD BE DOING SOMETHING GOOD
Limitations
- The method only supports a limited subset of Extended Latin letters and numbers.
- Both uppercase and lowercase letters are recognized. However, the resulting text will be in uppercase.
- This method does not support recognition settings. The recognition language is detected automatically.