shiroku.net
YOLO v3 with Onboard Camera on Jetson TX2 | shiroku.Net
Environment Jetson TX2 Ubuntu 16.04 OpenCV 3.4.0 gcc 5.5.0 YOLO v3 Install $ cd ~/Downloads $ git clone $ cd darknet $ vim Makefile GPU=1 CUDNN=1 OPENCV=1 OPENMP=0 DEBUG=0 ARCH= -gencode arch=compute_53,code= \ -gencode arch=compute_62,code= #ARCH= -gencode arch=compute_30,code=sm_30 \ # -gencode arch=compute_35,code=sm_35 \ # -gencode arch=compute_50,code= \ # -gencode arch=compute_52,code= ... $ make -j4 $ wget $ wget Run $ sudo ./darknet detector demo cfg/coco.data cfg/yolov3.cfg yolov3.weights "nvcamerasrc ! video/x-raw(memory:NVMM), width=(int)640, height=(int)360,format=(string)I420, framerate=(fraction)30/1 ! nvvidconv flip-method=0 ! video/x-raw, format=(string)BGRx ! videoconvert ! video/x-raw, format=(string)BGR ! appsink" Demo layer filters size input output 0 conv 32 3 x 3 / 1 416 x 416 x 3 -> 416 x 416 x 32 0.299 BFLOPs 1 conv 64 3