DroneAI is a local web-based GUI for labeling drone flight videos. It helps users upload a video dataset, label flight events, track progress, create training data, and review crash results through a browser-based interface.
This first version is focused on the local application workflow.
Before running DroneAI, make sure you have:
- Python 3.10 or newer
- Git
- pip
- FFmpeg installed and added to PATH
- A virtual environment
- An Excel dataset file
Your Excel file should include these columns:
Persona Name
Youtube Link
Clone the repository:
git clone https://github.com/YOUR_USERNAME/DroneAI.git
cd DroneAICreate a virtual environment:
python -m venv venvActivate the virtual environment.
On Windows:
venv\Scripts\activateOn Mac/Linux:
source venv/bin/activateInstall dependencies:
pip install flask pandas openpyxl opencv-python numpy yt-dlp paho-mqttIf the project includes a requirements.txt file, you can also run:
pip install -r requirements.txtStart the Flask app:
python LabelGUI/app.pyThen open this address in your browser:
http://localhost:5000
Use any username.
Default password:
droneai2025
Choose a role:
- Leader — can upload and manage datasets
- Team Member — can label videos from the queue (If you want to label videos, just log in as team member)
- Log in as a leader.
- Open Datasets.
- Upload the Excel dataset.
- Set the dataset as active.
- Open the queue.
- Start a video row.
- Mark events while the video plays.
- Return to the queue after the session finishes.
- Confirm the row is marked as labeled.
- Dashboard — shows the current dataset and labeling progress
- Datasets — upload and manage Excel datasets
- Shared Queue — select videos to label
- Training — create labeled training data
- Crash Analysis — review crash verification results
- DB Tools — export or import the local database
Progress is saved in the local SQLite database:
db/droneai.sqlite
If you want another machine to continue from the same state, export the database from DB Tools and import it on the other machine.
Developed by Haider Baig.