License plates OCR

The JAVA SDK OCR SDK supports the Licenses plate OCR API for extracting license plates from pictures (or documents) of vehicles.

Using this sample photo below, we are going to illustrate how to extract the data that we want using the OCR SDK.
sample receipt

Quick Start

// Init a new client
MindeeClient client = MindeeClientInit.create("<your mindee api key>");

// Load a file from disk and parse it
DocumentToParse documentToParse = mindeeClient.loadDocument(new File("./fd6086e-license_plate.jpg"));
Document<LicensePlatesV1Inference> licensePlatesDocument =
 mindeeClient.parse(LicensePlatesV1Inference.class, documentToParse);

// Print a summary of the parsed data
logger.info(licensePlatesDocument.toString());

Output:

########
Document
########
:Mindee ID: 858d2e05-2166-46ad-81da-c917e3a1b453
:Filename: multiplate.jpg

Inference
#########
:Product: mindee/license_plates v1.0
:Rotation applied: No

Prediction
==========
:License plates: 8LQA341, 8LBW890

Page Predictions
================

Page 0
------
:License plates: 8LQA341, 8LBW890

 

Questions?
Slack Logo Icon  [Join our Slack]((https://join.slack.com/t/mindee-community/shared_invite/zt-1jv6nawjq-FDgFcF2T5CmMmRpl9LLptw)