Custom object detection PyTorch yoloV3 pretrained model(Drone Detection)
- Python == 3.7
- Virtual Environment
python -m venv venv
.\venv\Scripts\activate
- If any problem for scripts activation
- Execute following command in administration mode
Set-ExecutionPolicy Unrestricted -Force
- Later you can revert the change
Set-ExecutionPolicy restricted -Force
- Execute following command in administration mode
- Library Install
python .\installation\get-pip.py
pip install --upgrade pip
pip install --upgrade setuptools
pip install -r requirements.txt
- Virtual Environment
python -m venv venv
source venv/bin/activate
- Library Install
pip install --upgrade pip
pip install --upgrade setuptools
pip install -r requirements.txt
- Download pretrained model from Follwing Link:
- Place in the ml/weights folder
- Run flask app
python main.py
- Open web interface
- Upload image from anywhere
- Allowed image extensions [jpg, png, jpeg]