Commit
·
652bc01
1
Parent(s):
be29505
Update README.md
Browse files
README.md
CHANGED
|
@@ -2,5 +2,34 @@
|
|
| 2 |
license: other
|
| 3 |
---
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
|
|
|
|
| 2 |
license: other
|
| 3 |
---
|
| 4 |
|
| 5 |
+
# Pathole Detection
|
| 6 |
+
## Deployment
|
| 7 |
+
|
| 8 |
+
1. To deploy this project Clone Repository. set it as Darknet description
|
| 9 |
+
|
| 10 |
+
```bash
|
| 11 |
+
git clone https://github.com/pjreddie/darknet.git
|
| 12 |
+
cd darknet
|
| 13 |
+
```
|
| 14 |
+
|
| 15 |
+
After Downloaded Repo
|
| 16 |
+
|
| 17 |
+
2. Run This To Permit The Darknet
|
| 18 |
+
```bash
|
| 19 |
+
make
|
| 20 |
+
```
|
| 21 |
+
3. Download Pre Train Model From HuggingFace Paste in backup Folder.
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
Now Upload Your Video in "inference_data" Folder And Run The Commend
|
| 25 |
+
```bash
|
| 26 |
+
python darknet_video.py --data_file build/darknet/x64/data/pothole_yolov4_tiny.data --config_file cfg/yolov4-tiny-pothole.cfg --weights backup/yolov4-tiny-pothole_final.weights --input inference_data/video_6.mp4 --out_filename results/tiny_singleres_vid6.avi --dont_show
|
| 27 |
+
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
If You want Change the Model Change the Dir path of weights , Data , cfg .
|
| 31 |
+
The Output results Are Save in results Folder.
|
| 32 |
+
|
| 33 |
+
|
| 34 |
|
| 35 |
|