Jetson Nano에서 터미널을 열어 jetson inference를 설치한다.
$ git clone https://github.com/dusty-nv/jetson-inference
$ cd jetson-inference
$ git submodule update --init
빌드 트리를 설정한다.
$ mkdir build
$ cd build
$ cmake ../
빌드하기.
$ make
$ sudo make install
$ sudo ldconfig
Object Detection 실행하기.
$ cd /home/ubuntu/jetson-inference/build/aarch64/bin
$ python3 detectnet-camera.py
$ python3 imagenet-camera.py
$ python3 my-detection.py
Image Detection 실행하기.
$ chmod +x my-recognition.py
$ wget https://raw.githubusercontent.com/dusty-nv/jetson-inference/master/data/images/polar_bear.jpg
$ ./my-recognition.py polar_bear.jpg
$ wget https://raw.githubusercontent.com/dusty-nv/jetson-inference/master/data/images/brown_bear.jpg
$ ./my-recognition.py brown_bear.jpg
참고한 사이트 : https://github.com/jugfk/Deep_Learning_On_JetsonNano/tree/master/10_Jetson_Inference