Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No value in OCR tag #24

Open
svenny71 opened this issue Jun 22, 2022 · 5 comments
Open

No value in OCR tag #24

svenny71 opened this issue Jun 22, 2022 · 5 comments

Comments

@svenny71
Copy link

Hi faisalthaheem,

I'm testing your software and I'm not able to get a result in OCR tag of JSON response:

curl -F "[email protected]" localhost:5000/process

{"_id":"a0cfe6f7-4b99-4cf3-94a8-7992a4f5ae4f","creationtime":1655916903.771078,"detections":{"boxes":[[164,128,490,245]],"classes":[2],"scores":[0.9779990911483765]},"filename":"XK50HF.jpg","imgDimensions":{"channels":"RGB","height":665,"width":387},"ocr":[],"unique_name":"a0cfe6f7-4b99-4cf3-94a8-7992a4f5ae4f_XK50HF.jpg"}

I've tried a lot of images, but always get the same results.

Many thanks in advance for your response.

Cheers,
Svenny

@faisalthaheem
Copy link
Owner

faisalthaheem commented Jun 22, 2022 via email

@svenny71
Copy link
Author

svenny71 commented Jun 22, 2022

Hi, and thanks for your reply!

These are 3 images I used for testing:

  1. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS-ekWNXtXQuXGI4hGKlp5B3-VECUJL5FPWnw&usqp=CAU
    OCR tag empty

  2. https://media.istockphoto.com/photos/classic-mercedesbenz-sl-450-with-a-brexit-plate-parked-in-a-street-in-picture-id1132133984?k=20&m=1132133984&s=612x612&w=0&h=8IAUrPv5zlc6Qgnpj-77gGuXga7RfTsjaCycAaz9tMM=
    OCR tag empty

  3. https://www.periodicoitaliano.it/wp-content/uploads/2022/04/targa-ZA.jpg
    OCR tag is "ZA" only (second row is not read). If I remember correctly, two lines plates were recognized by the demo some days ago.

I've tried to upload those images on your demo, but it always timeouts now.

All images I have tested come from the web, probably they're not so good for this purpose...

Thanks!

Cheers,
Svenny

@faisalthaheem
Copy link
Owner

faisalthaheem commented Jun 23, 2022 via email

@gkomix88
Copy link

gkomix88 commented Mar 9, 2023

Hi Mr. Faisalthaheem,

I am facing the same issue, OCR is empty. Would it be because the model is not specified?

@KyleNewman97
Copy link

I had to reduce the confidence to 0.5 the ocr.yaml file of the open-lpr-ocr-1 container to start to get OCR results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants