
Assignment: Building an Object Detection Web App
and Deploying it on Hugging Face Spaces
Objective:
To assess the ability to create an Object Detection web app using a finetuned model, build an
interactive interface using Gradio or Streamlit, and deploy the web app on Hugging Face
Spaces.
Assignment Tasks:
Part 1: Object Detection Model
1. Finetune:
- Fine YOLOv10 from https://docs.ultralytics.com/models/yolov10/ OR ANY OBJECT
DETECTION MODEL OF YOUR CHOICE on the BCCD Dataset at
https://github.com/Shenggan/BCCD_Dataset in Google Colab:
https://colab.research.google.com/
2. Image Preprocessing:
- Do data augmentation on the given dataset like Rotation, Cropping, etc
3. Model Inference:
- Write a function to take a preprocessed image and perform inference using the fine-tuned
model.
Part 2: Build a Web App using Gradio or Streamlit
4. Interactive Interface:
- Use Gradio or Streamlit to create a simple web app.