EasyOCR icon indicating copy to clipboard operation
EasyOCR copied to clipboard

allowlist="0123456789" not working, the result show text and numbers

Open venkateshkonduru11 opened this issue 2 years ago • 6 comments

image

venkateshkonduru11 avatar Jul 28 '22 14:07 venkateshkonduru11

Are you using a custom model? I was unable to change hyperparameters programmatically on custom models.

macksjeremy avatar Aug 09 '22 20:08 macksjeremy

@macksjeremy I'm not using the custom model. base model itself allowlist doesn't work at all

venkateshkonduru11 avatar Aug 10 '22 03:08 venkateshkonduru11

Hmm, that's odd. Are you also calling blocklist? If you need a bandaid fix, you could potentially try using blocklist and restricting all non-numeric input. Annoying but would work.

macksjeremy avatar Aug 10 '22 15:08 macksjeremy

@macksjeremy I tried with blocklist, this also doesn't work

venkateshkonduru11 avatar Aug 10 '22 15:08 venkateshkonduru11

@venkateshkonduru11 which version of EasyOCR are you using?

rkcosmos avatar Aug 11 '22 11:08 rkcosmos

@macksjeremy tried both the stable version and the latest version.

venkateshkonduru11 avatar Aug 11 '22 11:08 venkateshkonduru11