Dataset Viewer
Auto-converted to Parquet
image_id
string
image
image
width
int64
height
int64
meta
dict
category_id
int64
category_name
string
0850006283880_2
979
1,200
{ "barcode": "0850006283880", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/085/000/628/3880/2.jpg" }
1
other
7610556000640_3
765
1,024
{ "barcode": "7610556000640", "off_image_id": "3", "image_url": "https://images.openfoodfacts.org/images/products/761/055/600/0640/3.jpg" }
0
front
0749826003849_1
563
1,200
{ "barcode": "0749826003849", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/074/982/600/3849/1.jpg" }
0
front
8710398600332_8
1,301
1,200
{ "barcode": "8710398600332", "off_image_id": "8", "image_url": "https://images.openfoodfacts.org/images/products/871/039/860/0332/8.jpg" }
1
other
8032872610171_1
1,749
1,200
{ "barcode": "8032872610171", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/803/287/261/0171/1.jpg" }
0
front
8003170027176_1
2,989
4,608
{ "barcode": "8003170027176", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/800/317/002/7176/1.jpg" }
0
front
8711521917839_3
1,661
774
{ "barcode": "8711521917839", "off_image_id": "3", "image_url": "https://images.openfoodfacts.org/images/products/871/152/191/7839/3.jpg" }
1
other
0780001390781_1
749
570
{ "barcode": "0780001390781", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/078/000/139/0781/1.jpg" }
0
front
8437002438043_1
600
1,200
{ "barcode": "8437002438043", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/843/700/243/8043/1.jpg" }
0
front
0815074021314_3
581
1,000
{ "barcode": "0815074021314", "off_image_id": "3", "image_url": "https://images.openfoodfacts.org/images/products/081/507/402/1314/3.jpg" }
0
front
4055332025005_1
600
365
{ "barcode": "4055332025005", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/405/533/202/5005/1.jpg" }
0
front
8714100667897_1
3,024
4,032
{ "barcode": "8714100667897", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/871/410/066/7897/1.jpg" }
0
front
4021851361580_1
1,280
1,280
{ "barcode": "4021851361580", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/402/185/136/1580/1.jpg" }
0
front
1020048442937_1
2,530
4,160
{ "barcode": "1020048442937", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/102/004/844/2937/1.jpg" }
0
front
8002920009912_1
636
1,200
{ "barcode": "8002920009912", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/800/292/000/9912/1.jpg" }
0
front
2321257003117_2
611
620
{ "barcode": "2321257003117", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/232/125/700/3117/2.jpg" }
1
other
8690504009085_2
1,097
650
{ "barcode": "8690504009085", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/869/050/400/9085/2.jpg" }
1
other
0042187406190_1
720
1,175
{ "barcode": "0042187406190", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/004/218/740/6190/1.jpg" }
0
front
3046300003508_2
686
1,200
{ "barcode": "3046300003508", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/304/630/000/3508/2.jpg" }
1
other
3760132082684_2
900
1,200
{ "barcode": "3760132082684", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/376/013/208/2684/2.jpg" }
1
other
0189035000046_1
4,032
3,024
{ "barcode": "0189035000046", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/018/903/500/0046/1.jpg" }
1
other
4750385000626_2
2,050
782
{ "barcode": "4750385000626", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/475/038/500/0626/2.jpg" }
1
other
8426904170915_1
799
1,200
{ "barcode": "8426904170915", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/842/690/417/0915/1.jpg" }
0
front
5060884430169_4
1,080
2,408
{ "barcode": "5060884430169", "off_image_id": "4", "image_url": "https://images.openfoodfacts.org/images/products/506/088/443/0169/4.jpg" }
1
other
6950114060206_1
811
1,097
{ "barcode": "6950114060206", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/695/011/406/0206/1.jpg" }
0
front
8033378346014_3
448
1,200
{ "barcode": "8033378346014", "off_image_id": "3", "image_url": "https://images.openfoodfacts.org/images/products/803/337/834/6014/3.jpg" }
0
front
8030582004174_1
744
1,200
{ "barcode": "8030582004174", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/803/058/200/4174/1.jpg" }
0
front
8718907549622_1
800
800
{ "barcode": "8718907549622", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/871/890/754/9622/1.jpg" }
0
front
0764495642939_2
996
398
{ "barcode": "0764495642939", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/076/449/564/2939/2.jpg" }
1
other
8711327540293_6
3,000
3,000
{ "barcode": "8711327540293", "off_image_id": "6", "image_url": "https://images.openfoodfacts.org/images/products/871/132/754/0293/6.jpg" }
0
front
0850014141776_2
468
447
{ "barcode": "0850014141776", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/085/001/414/1776/2.jpg" }
1
other
2615089002579_1
968
1,200
{ "barcode": "2615089002579", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/261/508/900/2579/1.jpg" }
0
front
5057545745946_5
3,024
4,032
{ "barcode": "5057545745946", "off_image_id": "5", "image_url": "https://images.openfoodfacts.org/images/products/505/754/574/5946/5.jpg" }
0
front
9313559588235_1
3,024
4,032
{ "barcode": "9313559588235", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/931/355/958/8235/1.jpg" }
1
other
3479384295321_1
460
460
{ "barcode": "3479384295321", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/347/938/429/5321/1.jpg" }
0
front
4058172997129_1
800
1,066
{ "barcode": "4058172997129", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/405/817/299/7129/1.jpg" }
0
front
3760091937247_1
1,054
1,123
{ "barcode": "3760091937247", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/376/009/193/7247/1.jpg" }
0
front
3701269708184_1
379
382
{ "barcode": "3701269708184", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/370/126/970/8184/1.jpg" }
0
front
2298131041193_1
1,839
1,200
{ "barcode": "2298131041193", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/229/813/104/1193/1.jpg" }
0
front
2100100559939_2
333
400
{ "barcode": "2100100559939", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/210/010/055/9939/2.jpg" }
1
other
0085239056745_1
948
1,299
{ "barcode": "0085239056745", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/008/523/905/6745/1.jpg" }
1
other
8003107016563_2
539
408
{ "barcode": "8003107016563", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/800/310/701/6563/2.jpg" }
1
other
3250392919351_1
1,790
1,200
{ "barcode": "3250392919351", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/325/039/291/9351/1.jpg" }
1
other
8414606423019_3
1,224
1,200
{ "barcode": "8414606423019", "off_image_id": "3", "image_url": "https://images.openfoodfacts.org/images/products/841/460/642/3019/3.jpg" }
1
other
8480010023343_5
1,081
571
{ "barcode": "8480010023343", "off_image_id": "5", "image_url": "https://images.openfoodfacts.org/images/products/848/001/002/3343/5.jpg" }
1
other
7613035456037_1
1,808
1,360
{ "barcode": "7613035456037", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/761/303/545/6037/1.jpg" }
0
front
3760299631770_2
838
584
{ "barcode": "3760299631770", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/376/029/963/1770/2.jpg" }
1
other
5711953175152_1
400
325
{ "barcode": "5711953175152", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/571/195/317/5152/1.jpg" }
0
front
0811961022082_1
588
1,200
{ "barcode": "0811961022082", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/081/196/102/2082/1.jpg" }
0
front
8410118015773_2
901
1,200
{ "barcode": "8410118015773", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/841/011/801/5773/2.jpg" }
1
other
5059883107837_2
1,275
1,700
{ "barcode": "5059883107837", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/505/988/310/7837/2.jpg" }
1
other
3331931000133_1
547
1,360
{ "barcode": "3331931000133", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/333/193/100/0133/1.jpg" }
0
front
8012666670864_2
903
614
{ "barcode": "8012666670864", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/801/266/667/0864/2.jpg" }
1
other
8032974012361_2
491
639
{ "barcode": "8032974012361", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/803/297/401/2361/2.jpg" }
1
other
5057172403479_1
4,032
3,024
{ "barcode": "5057172403479", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/505/717/240/3479/1.jpg" }
1
other
2302836004138_1
1,805
1,200
{ "barcode": "2302836004138", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/230/283/600/4138/1.jpg" }
0
front
5400141185775_2
1,398
1,200
{ "barcode": "5400141185775", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/540/014/118/5775/2.jpg" }
1
other
2654215035623_2
597
278
{ "barcode": "2654215035623", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/265/421/503/5623/2.jpg" }
1
other
3547130095973_4
899
1,200
{ "barcode": "3547130095973", "off_image_id": "4", "image_url": "https://images.openfoodfacts.org/images/products/354/713/009/5973/4.jpg" }
1
other
7506443106833_1
1,744
3,264
{ "barcode": "7506443106833", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/750/644/310/6833/1.jpg" }
0
front
4022753031571_1
2,063
5,312
{ "barcode": "4022753031571", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/402/275/303/1571/1.jpg" }
0
front
7891999471208_1
580
580
{ "barcode": "7891999471208", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/789/199/947/1208/1.jpg" }
0
front
7898024396970_1
707
1,200
{ "barcode": "7898024396970", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/789/802/439/6970/1.jpg" }
0
front
8032891928516_1
900
1,200
{ "barcode": "8032891928516", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/803/289/192/8516/1.jpg" }
0
front
0041433001158_3
665
1,200
{ "barcode": "0041433001158", "off_image_id": "3", "image_url": "https://images.openfoodfacts.org/images/products/004/143/300/1158/3.jpg" }
0
front
2321909008576_1
801
1,200
{ "barcode": "2321909008576", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/232/190/900/8576/1.jpg" }
0
front
3661112058005_4
655
455
{ "barcode": "3661112058005", "off_image_id": "4", "image_url": "https://images.openfoodfacts.org/images/products/366/111/205/8005/4.jpg" }
1
other
8008378002758_1
1,106
1,200
{ "barcode": "8008378002758", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/800/837/800/2758/1.jpg" }
0
front
6130206200059_2
515
1,200
{ "barcode": "6130206200059", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/613/020/620/0059/2.jpg" }
1
other
0059263603206_1
901
1,200
{ "barcode": "0059263603206", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/005/926/360/3206/1.jpg" }
0
front
0770981302805_1
520
1,140
{ "barcode": "0770981302805", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/077/098/130/2805/1.jpg" }
0
front
8054134420120_2
1,275
1,699
{ "barcode": "8054134420120", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/805/413/442/0120/2.jpg" }
1
other
8002895011699_2
1,328
1,200
{ "barcode": "8002895011699", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/800/289/501/1699/2.jpg" }
1
other
5099466316041_2
600
392
{ "barcode": "5099466316041", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/509/946/631/6041/2.jpg" }
1
other
0047900532170_2
572
863
{ "barcode": "0047900532170", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/004/790/053/2170/2.jpg" }
1
other
4008452033115_10
389
1,200
{ "barcode": "4008452033115", "off_image_id": "10", "image_url": "https://images.openfoodfacts.org/images/products/400/845/203/3115/10.jpg" }
0
front
4003082045842_1
500
600
{ "barcode": "4003082045842", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/400/308/204/5842/1.jpg" }
0
front
8412276354374_1
2,448
3,264
{ "barcode": "8412276354374", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/841/227/635/4374/1.jpg" }
0
front
6134261001507_1
1,760
3,264
{ "barcode": "6134261001507", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/613/426/100/1507/1.jpg" }
0
front
5022240015465_1
1,512
2,688
{ "barcode": "5022240015465", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/502/224/001/5465/1.jpg" }
1
other
8437011447227_2
1,760
1,197
{ "barcode": "8437011447227", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/843/701/144/7227/2.jpg" }
1
other
8413585012443_4
755
1,200
{ "barcode": "8413585012443", "off_image_id": "4", "image_url": "https://images.openfoodfacts.org/images/products/841/358/501/2443/4.jpg" }
1
other
8025995100018_1
3,000
4,000
{ "barcode": "8025995100018", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/802/599/510/0018/1.jpg" }
1
other
5010262701992_1
544
1,200
{ "barcode": "5010262701992", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/501/026/270/1992/1.jpg" }
0
front
0059659017143_2
728
1,200
{ "barcode": "0059659017143", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/005/965/901/7143/2.jpg" }
1
other
2978886001511_1
894
1,200
{ "barcode": "2978886001511", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/297/888/600/1511/1.jpg" }
0
front
5425002405045_2
1,081
338
{ "barcode": "5425002405045", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/542/500/240/5045/2.jpg" }
1
other
8421401141475_2
2,050
841
{ "barcode": "8421401141475", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/842/140/114/1475/2.jpg" }
1
other
22173140_4
2,528
3,669
{ "barcode": "22173140", "off_image_id": "4", "image_url": "https://images.openfoodfacts.org/images/products/000/002/217/3140/4.jpg" }
0
front
2156342002191_2
632
970
{ "barcode": "2156342002191", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/215/634/200/2191/2.jpg" }
1
other
3326120043220_2
1,600
1,200
{ "barcode": "3326120043220", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/332/612/004/3220/2.jpg" }
1
other
9400988235516_2
687
1,882
{ "barcode": "9400988235516", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/940/098/823/5516/2.jpg" }
1
other
5400265033167_2
1,614
956
{ "barcode": "5400265033167", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/540/026/503/3167/2.jpg" }
1
other
6194011822103_1
1,298
1,200
{ "barcode": "6194011822103", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/619/401/182/2103/1.jpg" }
0
front
3760274810008_1
1,021
931
{ "barcode": "3760274810008", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/376/027/481/0008/1.jpg" }
0
front
3596710510153_6
1,686
2,598
{ "barcode": "3596710510153", "off_image_id": "6", "image_url": "https://images.openfoodfacts.org/images/products/359/671/051/0153/6.jpg" }
0
front
27192085_2
562
1,000
{ "barcode": "27192085", "off_image_id": "2", "image_url": "https://images.openfoodfacts.org/images/products/000/002/719/2085/2.jpg" }
1
other
8004263663417_1
461
1,200
{ "barcode": "8004263663417", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/800/426/366/3417/1.jpg" }
0
front
7617100228741_1
200
200
{ "barcode": "7617100228741", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/761/710/022/8741/1.jpg" }
0
front
0606274400791_1
251
1,200
{ "barcode": "0606274400791", "off_image_id": "1", "image_url": "https://images.openfoodfacts.org/images/products/060/627/440/0791/1.jpg" }
0
front
End of preview. Expand in Data Studio

Front image classification dataset

This dataset contains Open Food Facts images, each assigned with one of the two following classes:

  • front (ID 0)
  • other (ID 1)

Front images are the "default" image of a product, displayed on Open Food Facts product page. A front image is most of the time a photo of the front side of the product packaging. It's useful to be able to detect front images so that we can update the front image with a newer version (when the packaging changes for example).

Random images were fetched from Open Food Facts using the Parquet export, and pre-annotated with their class, depending on whether the image was selected as a front image or not. The CLI command used to generate the pre-annotated dataset can be found here.

The dataset was then manually reviewed and corrected.

Downloads last month
31

Models trained or fine-tuned on openfoodfacts/front_image_classification