Nvidia Jetson Nano Install Opencv
This speeds up the build time considerably.
Nvidia jetson nano install opencv. Install opencv4 1 1 nano sh files parameter usr local src is the directory to store the opencv source codes. Running the nvidia jetson nano demos. Many applications will load the older version of opencv when they install via apt get. The second reason the version is important is that on the jetson the default opencv version on the jetson is different than the one in the ubuntu repositories.
I used jetson nano ubuntu 18 04 official image with root account. We re going to learn in this tutorial how to install opencv 4 1 on the nvidia jetson nano. The jetson nano has 4gb of ram and they re not enough for some installations and opencv is one of them. The command are as follow.
After following along with this brief guide you ll be ready to start building practical ai applications cool ai robots and more. I made some changes in the install script provided by nvidia. A csi camera module such as the raspberry pi camera module which is compatible with the jetson nano by the way a usb webcam. As in sergio canu s article you can increase the size of the swap file to reduce memory thrashing.
First of all we need to make sure that there is enough memory to proceed with the installation. Again i ll be covering how to configure and install opencv on a jetson nano in a future tutorial. Recently opencv 4 x has come on the scene version opencv 3 x is the mature stable branch. Build for jetson nano.
The nano is running with the rootfs on a usb drive. Installing opencv 3 4 6 on jetson nano. Opencv installation can take a while so have a coffee break. The nvidia jetson nano developer kit is a small ai computer for makers learners and developers.
But if you want to install a specific version of opencv like 4 0 0 you can use a shell script provided by nvidia. In the video we are using a jetson nano running l4t 32 2 1 jetpack 4 2 2. When using the nvidia jetson nano you have two options for input camera devices.