If I’m not mistaken, food packaging is generally labelled worldwide with the same primary bar code type, which specifically is the GS1 standard. Maybe in your head “a normal product barcode”.
More here:
Seems the country of origin, is encoded into the barcode spec using a 3 digit ISO country code format.
I’ve not yet worked out which digits..
But practically once worked out it should be easily determined with a knowing read of the code in numbers (look for the number X which is Y digits in) sort of thing.
Or equally fairly trivial to make a scanner app that reports the country of origin or visually responds to certain counties of origin.
Deeper spec here:
https://ref.gs1.org/standards/genspecs/
I found country of origin stuff on page 178, but doing this on my phone haven’t yet worked out .. how many digits across the county of origin code is stored.
Section titled “3.7.1.5 Country of Origin of a Trade Item”.