Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Hrishikesh Patkar authored Mar 24, 2024
1 parent df3d14e commit 0e120d8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,14 @@

step 1: clone the repository using git clone <url> in your pc

#optional but better as used yolo tiny model
step2: for better vehicle detection, install yolov3-spp from https://pjreddie.com/darknet/yolo/ both cfc and weights files in the dnn_model folder

step3: rename path in vehicle_detector.py file from dnn_model\yolov3-tiny.cfg to dnn_model\yolov3-spp.cfg and dnn_model\yolov3-tiny.weights to dnn_model\yolov3-spp.weights respectively.

step4: cd over frontend folder and type npm install in powershell to install frontend packages
step4: use pip install opencv,flask to download opencv and flask in terminal if not installed previously in device.

step5: create a folder static in flask-backend folder and 2 sub-folders called "images" and "uploads" inside it
step5: in terminal cd over to flask backend folder and run python deploy.py to start the python model.

step4: use pip install opencv,flask
step5: cd over frontend folder by splitting terminal to powershell and type npm install in powershell to install frontend packages

step5: in different terminal cd over to flask backend folder and run python deploy.py to start the python model.

step6: open the localhost server link in frontend.

0 comments on commit 0e120d8

Please sign in to comment.