Featured image of post Nvidia NX Make Darknet

Nvidia NX Make Darknet

Edit Makefile NVCC path with sudo nano

1
2
3
4
5
6
7
8
9
NVCC = /usr/local/cuda/bin/nvcc

export PATH=/usr/local/cuda10.2/bin${PATH:+:${PATH}}

export LD_LIBRARY_PATH=/usr/local/cuda10.2/lib64\${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

export $LD_LIBRARY_PATH

export $PATH

1
./darknet detector demo ../clown_derection/cfg/obj.data ../clown_derection/cfg/yolov4-tiny-obj-test.cfg ../clown_derection/cfg/weights/yolov4-tiny-obj_7000.weights

For TX2 use, see the camera open command

1
'nvarguscamerasrc ! video/x-raw(memory:NVMM), width=(int)1280, height=(int)720,format=(string)NV12, framerate=(fraction)30/1 !nvvidconv flip-method=0 ! video/x-raw, format=(string)BGRx ! videoconvert ! video/x-raw, format=(string)BGR ! appsink'
Built with Hugo
Theme Stack designed by Jimmy