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

feat: #494 - added OCR for packaging #497

Merged
merged 6 commits into from
Jun 29, 2022

Conversation

monsieurtanuki
Copy link
Contributor

New files:

  • OcrPackagingResult.dart: Result from OCR applied to packaging.
  • OcrPackagingResult.g.dart: generated.

Impacted files:

  • OcrPackagingResult.dart: mere refactoring in order to match the new OcrPackagingResult class.
  • openfoodfacts.dart: new OCR method extractPackaging; refactored extractIngredients and fixed a bug.

What

  • Added OCR for packaging, similar to OCR for ingredients.

Fixes bug(s)

Part of

monsieurtanuki and others added 6 commits June 7, 2022 22:28
…ment

Impacted files:
* `api_saveProduct_test.dart`: unrelated test skip
* `KnowlegdePanelElement.dart`: `title` is now optional
* `KnowlegdePanelElement.g.dart`: generated
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
# Conflicts:
#	CHANGELOG.md
#	version.txt
New files:
* `OcrPackagingResult.dart`: Result from OCR applied to packaging.
* `OcrPackagingResult.g.dart`: generated.

Impacted files:
* `OcrPackagingResult.dart`: mere refactoring in order to match the new `OcrPackagingResult` class.
* `openfoodfacts.dart`: new OCR method `extractPackaging`; refactored `extractIngredients` and fixed a bug.
@monsieurtanuki monsieurtanuki merged commit 4c14abb into openfoodfacts:master Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

OCR and packaging: move code from Smoothie
3 participants