A simple Streamlit web app that classifies uploaded images into six scene categories using a Vision Transformer (ViT).
The model has been trained to classify the following scene types:
- 🏙️ Buildings
- 🌲 Forest
- 🏔️ Glacier
- ⛰️ Mountain
- 🌊 Sea
- 🛣️ Street
- Upload any
.jpg,.jpeg, or.pngimage. - The model predicts the scene category.
- Displays probabilities for all six classes in a bar chart.
- Shows the top prediction with confidence score.
- PyTorch – Model training and inference
- timm – Vision Transformer implementation
- Streamlit – Web app interface
- Matplotlib – Visualization
Clone this repository:
git clone https://github.com/CodeNinjaSarthak/Landmark_Detection.git
cd Landmark_Detectionpython -m venv venv
source venv/bin/activate # On Linux/Mac
venv\Scripts\activate # On Windowspip install -r requirements.txt
streamlit run app.pyThis project is released under the MIT License. Feel free to use and modify it for your own projects