Open phschoepf opened 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.
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