We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Recognize Vehicle license plate

Dear support.
I’m testing if Aspose.OCR is able to recognize the letters from a photo of a license plate.
I’m using this code:

var asposeOcr = new AsposeOcr();
var vehicleRegNo1 = asposeOcr.RecognizeLine(newPath);

Over this image:
2021-11-22_11-45-34.jpg (281.0 KB)

…the engine does not return the license plate text.
What am I doing wrong?

Best regards
Morten

@mortenma

Could you please try using the below code snippet and share the output .txt file with us?

Aspose.OCR.AsposeOcr api = new OCR.AsposeOcr();
var result = api.RecognizeImage(dataDir + "2021-11-22_11-45-34.jpg", new Aspose.OCR.RecognitionSettings
{
 DetectAreas = false,
 RecognizeSingleLine = false,
 AutoSkew = true,
 AllowedCharacters = Aspose.OCR.CharactersAllowedType.ALL,
 //AutoContrast = true,
 Language = Aspose.OCR.Language.Eng
});
result.Save(dataDir + "recResults.txt", Aspose.OCR.SaveFormat.Text);

I’m getting empty
2021-11-24_13-04-23.png (92.1 KB)

@mortenma

We have logged an issue as OCRNET-444 in our issue tracking system. We will further look into its details and keep you posted with the status of its rectification. Please be patient and spare us some time.

We are sorry for the inconvenience.