Spaces:
Sleeping
Sleeping
metadata
title: Car View Classifier
emoji: π
colorFrom: blue
colorTo: purple
sdk: docker
app_port: 8000
pinned: false
Car View Classifier β Backend
FastAPI + YOLO service that classifies car images by viewing angle.
Endpoints
POST /api/classify-imgβ multipart upload (files), returns classification + annotated image pathsGET /files/...β static serving for annotated detection images
Configuration
Environment variables:
CORS_ORIGINSβ comma-separated list of allowed origins (set this to your frontend URL when deploying)
Local development
From the repo root:
docker compose up --build
Backend will be available at http://localhost:8000.