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

GoogleAzureOCR confidences are dummy values #11

Open
phschoepf opened this issue Feb 23, 2024 · 1 comment
Open

GoogleAzureOCR confidences are dummy values #11

phschoepf opened this issue Feb 23, 2024 · 1 comment
Labels

Comments

@phschoepf
Copy link
Contributor

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

extra = {
"document_rotation": google_rotation_angle,
"tilt_angle": tilt_angle,
"confidences": [[0.9] * len(combined_bboxes)],
"rotated_image": img,
}

@phschoepf phschoepf added the 0.x label Feb 23, 2024
@Paethon
Copy link
Contributor

Paethon commented Feb 26, 2024

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.

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

No branches or pull requests

2 participants