← all work
major project2025

Bharatiya Canvas

Learning platform for rural Indian artisans paired with a ResNet18 art-style classifier.

role

ML + backend

context

4-person university exhibition team

A marketplace-meets-classroom for rural Indian artisans. Paid video lectures teach regional art forms, a ResNet18 classifier identifies uploaded art, and Firebase handles the auth so we could focus on the weird parts.

FlutterPythonFlaskFirebaseResNet18PyTorchJupyter

highlights

  • Fine-tuned ResNet18 on a custom multi-class Indian art dataset
  • Flask API serving classifier predictions to a Flutter client
  • Firebase Auth + Firestore for users, lectures, and artisan profiles
  • Selected for VIT Bhopal Project Exhibition-1

the idea

Walk around Odisha, Madhubani, Warli country, and you'll meet artisans whose work sells for ₹200 in the village and ₹8000 in a Bangalore gallery. The middle layer eats most of the value. The pitch of Bharatiya Canvas was to skip that layer: artisans record lectures, enthusiasts pay to learn directly, and the platform takes a small cut.

The ML piece was smaller but fun: upload a photo of your attempt, get a confidence-ranked classification of which tradition it's closest to. Part discovery, part receipt.

architecture

Flutter appFlask APIResNet18Firebaseauth + firestore for user data
flutter → flask → resnet18 → firebase

the classifier

ResNet18 pretrained on ImageNet, last two blocks unfrozen, a fresh head for our 12 art classes. Dataset was scraped + hand-curated + heavily augmented - mixup was the single biggest improvement, probably because our per-class counts varied 5x.

model = resnet18(weights=ResNet18_Weights.DEFAULT)
for p in model.parameters(): p.requires_grad = False
for p in model.layer3.parameters(): p.requires_grad = True
for p in model.layer4.parameters(): p.requires_grad = True
model.fc = nn.Sequential(nn.Dropout(0.3), nn.Linear(512, len(classes)))

what worked

  • Firebase Auth kept 'login' off our TODO list entirely
  • Flask for the model API - a FastAPI rewrite would be nicer but Flask was familiar enough to ship
  • Teammates splitting Flutter screens meant we hit exhibition day with a clickable app

what i'd redo

Move the model to ONNX and ship it on-device - the Flask round-trip was our biggest demo-day latency sink. And actually sign up real artisans instead of team-recorded placeholder lectures. The whole point was them.