A web application that uses YOLOv11 to detect military objects in images and visualize them on a map.
- Drag-and-drop image upload
- Military object detection using custom-trained YOLOv11
- Interactive map visualization (when geolocation data is available)
- Detection results panel with confidence scores
- Annotated image display
- Navigate to the backend directory:
cd backend- Create a virtual environment (optional but recommended):
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Install Node.js dependencies:
npm install- Start the backend server:
cd backend
python app.pyThe backend will run on http://localhost:5000
- In a new terminal, start the frontend development server:
npm run devThe frontend will run on http://localhost:5173
- Open your browser and navigate to http://localhost:5173
- Drag and drop an image or click to select one from your computer
- Wait for the detection process to complete
- View the results in the side panel:
- List of detected objects with confidence scores
- Total number of detections
- Annotated image with bounding boxes
- If the image contains geolocation data, detected objects will be displayed on the map
- Backend: Python, Flask, YOLOv11, OpenCV
- Frontend: React, TypeScript, Tailwind CSS
- Map: Leaflet with React-Leaflet




