Downloads · 30 days
169
69% of all-time downloads
Subhash5/indian-food-classifier
indian-food-classifier is a image classification model from Subhash5. Use it when you need a label for an image. It is set up for transformers. The card lists the license as mit.
This model classifies food images into 20 categories including Indian dishes and popular foods.
Downloads · 30 days
169
69% of all-time downloads
All-time downloads
245
Public
Parameters
303M
1.2 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors1.2 GB · 100%
From the Hugging Face model README
This model classifies food images into 20 categories including Indian dishes and popular foods.
0: burger
1: butter_naan
2: chai
3: chapati
4: chole_bhature
5: dal_makhani
6: dhokla
7: fried_rice
8: idli
9: jalebi
10: kaathi_rolls
11: kadai_paneer
12: kulfi
13: masala_dosa
14: momos
15: paani_puri
16: pakode
17: pav_bhaji
18: pizza
19: samosa
You can use this model easily with Hugging Face pipeline:
from transformers import pipeline
model_name = "Subhash5/indian-food-classifier"
classifier = pipeline("image-classification", model=model_name)
result = classifier("test.jpg")
print(result)