deepopinion / ocr_wrapper

A Python wrapper for multiple OCR solutions
MIT License
7 stars 0 forks source link

GoogleAzureOCR confidences are dummy values #11

Open phschoepf opened 8 months ago

phschoepf commented 8 months ago

The confidences are just static values of 0.9, see here:

https://github.com/deepopinion/ocr_wrapper/blob/9930c5378739cfcd1c716c8263e2d7fba7ee6046/ocr_wrapper/google_azure_ocr.py#L122-L127

Paethon commented 8 months ago

That is a good point! Currently, those confidences are not being used for anything. Still, probably a left-over from a quick implementation and not on purpose (honestly, can't remember explicitly)

The question is how Azure and Google confidences relate to each other. I assume they can't be just combined.