Please execute ./0.setSwapMemorySize.sh -g 16
first to increase the SWAP size to 16G. reboot
after changing the swap memory size.
Or just execute jetson_setup.sh
Install essential libraries.
Automatically download opencv4.6.0 and neovim (better than vim).
This script will then compile and install them. It takes very long time(a few hours) to compile opencv on Jetson Nano. So be patient.
JetPack comes with opencv4.1.1 which is old and seems not to utilize the GPU.
Automatically download and install pytorch
and other libraries for yolov5
.
To be tested starting from Jetpack4.6.
Installation will take a long time as some libraries are installed from their sources.
- Make sure
export OPENBLAS_CORETYPE=ARMV8
is in your.bashrc
or.zshrc
file or just executeecho "export OPENBLAS_CORETYPE=ARMV8" >> ~/.bashrc
. Otherwise,import numpy
may fail. - Test CSI camera: execute
nvgstcapture-1.0
ornvgstcapture-1.0 --orientation 2
- Recommend NoMachine for remote control: https://downloads.nomachine.com/download/?id=116&distro=ARM
Torch for Jetson: https://forums.developer.nvidia.com/t/pytorch-for-jetson/72048
gst-launch-1.0 ximagesrc num-buffers=100 use-damage=0 ! video/x-raw ! nvvidconv ! 'video/x-raw(memory:NVMM),format=NV12' ! nvv4l2h264enc ! h264parse ! qtmux ! filesink location=screenrecording.mp4