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

Detect country of origin automatically from label or logo #45

Closed
CloCkWeRX opened this issue Jan 6, 2019 · 5 comments · Fixed by openfoodfacts/openfoodfacts-server#2050

Comments

@CloCkWeRX
Copy link

CloCkWeRX commented Jan 6, 2019

What

Part of

A more specific version of #7

There are two main variants of "Made in (Country)" labelling which seem common

The plain text wording is likely the easiest to do; as it would be simply a pipeline looking for a country name, plus hint text; which would provide a strong indicator of country of origin.

@teolemon
Copy link
Member

teolemon commented Feb 5, 2019

@CloCkWeRX Could you add the 'country:' parameter in the label taxonomy ?
https://en.wiki.openfoodfacts.org/Global_labels_taxonomy

The logos are linked to it, so we'll be able to add countries automatically as a result.

@CloCkWeRX
Copy link
Author

https://en.wiki.openfoodfacts.org/Global_labels_taxonomy

[ba12cb46f60afa5cee31f70b] /Global_labels_taxonomy InvalidArgumentException from line 107 of /var/www/off.wiki.en/extensions/mediawiki-extensions-sessionprovider-productopener-master/AuthProductOpener.body.php: Invalid user name

at the moment, but when its up I'll take a look!

@hrithik-jha
Copy link

hrithik-jha commented Feb 22, 2019

Hi, I'm Hrithik and am new here. I had a question and a suggestion. For the country of origin, is the aim to find out where the specific product is made or a subsidiary product of large brand made in a different location, e.g. A Hershey's chocolate has plants in Mexico, USA and other countries so are we supposed to find out where the specific chocolate bar was made or where it is made in general. If it is the latter then we can use a lexicon associating countries of production with the eatery and predict accordingly.

@CloCkWeRX
Copy link
Author

Wiki still down for me, but this seems to be working; closable?

@CloCkWeRX
Copy link
Author

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 a pull request may close this issue.

3 participants