Coconut tree Detection system, a deep learning model developed on Yolov5 .It is trained and deployed on NVIDIA Jetson Nano kit
follow the page provided by Nvidia for quick setup:
https://developer.nvidia.com/embedded/learn/get-started-jetson-nano-devkit
Deepstream 6.0(most stable version we found):
https://docs.nvidia.com/metropolis/deepstream/6.0/dev-guide/text/DS_Quickstart.html
https://www.itsupportwale.com/blog/how-to-upgrade-to-python-3-9-0-on-ubuntu-18-04-lts/
https://github.com/ultralytics/yolov5
Change the yaml file according to the classes of the data we have, and change the location of train and valid
Yaml file can be found at Yolov5/data/coco128.yaml
open terminal and enter:
python3 detect.py --weights best.pt --source 0
0,1,2 -camera
img.jpg
video.mp4
url
1.Clone the Deepstrean-Yolo Repository
2.go to Deepstream-Yolo/utils/
3.copy gen_wts_YoloV5.py and paste to Yolov5 repo
4.enter the following command in the terminal for generating weights and cfg file:
python3 gen_wts_yoloV5.py -w best.pt
5.create a folder for inference
6.Copy generated weights and config files and paste the in yolov5
7.copy and paste deepstream config files into the folder created
- Edit the config files accordingly
Run the Deepstream-app using following command:
sudo deepstream-app -c cocotree_config.txt
coconut_tree.mp4
for animal intrusion detection