Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Aspose.OCR can work in the fastest recognition mode that consumes minimum possible resources using RecognizeFast
method of AsposeOCR
class.
This method takes OcrInput
object and returns a list of strings, one string per image.
AsposeOCR api = new AsposeOCR();
// Add images to the recognition batch
OcrInput images = new OcrInput(InputType.SingleImage);
images.add(os.path.join(self.dataDir, "source1.png"));
images.add(os.path.join(self.dataDir, "source2.png"));
// Fast recognize images
ArrayList<RecognitionResult> results = api.RecognizeFast(images);
results.forEach((result) -> {
System.out.println(result);
});
This method is about twice as fast as regular recognition.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.