readme: ---
  license: other
  ---
  
  
  # Pathole Detection
  ## Deployment
  
  1. To deploy this project Clone Repository. set it as Darknet description 
  
  ```bash
    git clone https://github.com/pjreddie/darknet.git
    cd darknet
  ```
  
  After Downloaded Repo
  
  2. Run This To Permit The Darknet 
  ```bash
    make
  ```
  3. Download Pre Train Model From HuggingFace Paste in backup Folder.
  
  
  Now Upload Your Video in "inference_data" Folder And Run The Commend
  ```bash
    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
  
  ```
  
  * If You want Change the Model Change the Dir path of weights , Data , cfg .
  
  ** The Output results Are Save in results Folder.