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

refactor(proofs): more features to OCR extraction #566

Merged
merged 2 commits into from
Nov 14, 2024

Conversation

albertaillet
Copy link
Collaborator

@albertaillet albertaillet commented Nov 14, 2024

What

Issue #320. Following #543 and #549.

In this script openfoodfacts-server/blob/main/scripts/run_ocr.py you also run

"features": [
    {"type": "TEXT_DETECTION"},
    {"type": "LOGO_DETECTION"},
    {"type": "LABEL_DETECTION"},
    {"type": "SAFE_SEARCH_DETECTION"},
    {"type": "FACE_DETECTION"},
],

not only TEXT_DETECTION, this PR adds these features as well.

Documentation for available features: https://cloud.google.com/vision/docs/reference/rest/v1/Feature

@albertaillet albertaillet changed the title Added more features to OCR extraction refactor(proofs): more features to OCR extraction Nov 14, 2024
Copy link
Contributor

@raphael0202 raphael0202 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@raphael0202 raphael0202 merged commit b2e55be into main Nov 14, 2024
14 of 16 checks passed
@raphael0202 raphael0202 deleted the run-ocr-extraction-3 branch November 14, 2024 09:48
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