Delete README.md
Browse files
README.md
DELETED
|
@@ -1,39 +0,0 @@
|
|
| 1 |
-
# Yolov5 Real-time Inference using Streamlit
|
| 2 |
-
A web interface for real-time yolo inference using streamlit. It supports CPU and GPU inference, supports both images and videos and uploading your own custom models.
|
| 3 |
-
|
| 4 |
-
<img src="output.gif" alt="demo of the dashboard" width="800"/>
|
| 5 |
-
|
| 6 |
-
### [Live Demo](https://moaaztaha-yolo-interface-using-streamlit-app-ioset2.streamlit.app/)
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
## Features
|
| 10 |
-
- **Caches** the model for faster inference on both CPU and GPU.
|
| 11 |
-
- Supports uploading model files (<200MB) and downloading models from URL (any size)
|
| 12 |
-
- Supports both images and videos.
|
| 13 |
-
- Supports both CPU and GPU inference.
|
| 14 |
-
- Supports:
|
| 15 |
-
- Custom Classes
|
| 16 |
-
- Changing Confidence
|
| 17 |
-
- Changing input/frame size for videos
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
## How to run
|
| 21 |
-
After cloning the repo:
|
| 22 |
-
1. Install requirements
|
| 23 |
-
- `pip install -r requirements.txt`
|
| 24 |
-
2. Add sample images to `data/sample_images`
|
| 25 |
-
3. Add sample video to `data/sample_videos` and call it `sample.mp4` or change name in the code.
|
| 26 |
-
4. Add the model file to `models/` and change `cfg_model_path` to its path.
|
| 27 |
-
```bash
|
| 28 |
-
git clone https://github.com/moaaztaha/Yolo-Interface-using-Streamlit
|
| 29 |
-
cd Yolo-Interface-using-Streamlit
|
| 30 |
-
streamlit run app.py
|
| 31 |
-
```
|
| 32 |
-
|
| 33 |
-
### To-do Next
|
| 34 |
-
- [x] Allow model upload (file / url).
|
| 35 |
-
- [x] resizing video frames for faster processing.
|
| 36 |
-
- [ ] batch processing, processes the whole video and then show the results.
|
| 37 |
-
|
| 38 |
-
## References
|
| 39 |
-
https://discuss.streamlit.io/t/deploy-yolov5-object-detection-on-streamlit/27675
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|