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: Improve ingredient detection #1289

Merged
merged 10 commits into from
Nov 10, 2023
Merged

Conversation

raphael0202
Copy link
Collaborator

@raphael0202 raphael0202 commented Nov 10, 2023

  • Detect allergen and organic farming mentions that are next to the ingredient list
  • Store ingredient extraction results in image_detection table

Copy link

codecov bot commented Nov 10, 2023

Codecov Report

Merging #1289 (7090693) into main (4b7e130) will increase coverage by 0.33%.
The diff coverage is 38.32%.

❗ Current head 7090693 differs from pull request most recent head af32845. Consider uploading reports for the commit af32845 to get more accurate results

@@            Coverage Diff             @@
##             main    #1289      +/-   ##
==========================================
+ Coverage   56.74%   57.08%   +0.33%     
==========================================
  Files          78       79       +1     
  Lines        7586     7653      +67     
==========================================
+ Hits         4305     4369      +64     
- Misses       3281     3284       +3     
Files Coverage Δ
robotoff/models.py 95.51% <ø> (ø)
robotoff/settings.py 92.15% <ø> (ø)
robotoff/prediction/ingredient_list/postprocess.py 98.41% <98.41%> (+84.39%) ⬆️
robotoff/prediction/ocr/grammar.py 21.53% <0.00%> (ø)
robotoff/prediction/ingredient_list/__init__.py 42.26% <50.00%> (+0.33%) ⬆️
...rediction/ingredient_list/transformers_pipeline.py 14.01% <14.01%> (ø)

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

@raphael0202 raphael0202 merged commit a6f8f33 into main Nov 10, 2023
6 of 7 checks passed
@raphael0202 raphael0202 deleted the improve-ingredient-detection branch November 10, 2023 10:42
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.

1 participant