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

Add optional language_hints input parameter to be passed as imageContext.languageHints #982

Merged

Conversation

grzegorz-roboflow
Copy link
Contributor

Description

https://vision.googleapis.com/v1/images:annotate accepts AnnotateImageRequest where imageContext can be passed. We can pass languageHints parameter allowing user to narrow down language (if known). All hints must be coming from list of supported languages

Type of change

  • New feature (non-breaking change which adds functionality)

How has this change been tested, please provide a testcase or example of how you tested the change?

CI passing

Any specific deployment considerations

N/A

Docs

N/A

@grzegorz-roboflow grzegorz-roboflow merged commit f36c249 into main Jan 28, 2025
35 checks passed
@grzegorz-roboflow grzegorz-roboflow deleted the add-optional-language-hints-to-google-vision-ocr branch January 28, 2025 08:29
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

Successfully merging this pull request may close these issues.

2 participants