I am having Jetson Xavier nx with jetpack4.4
I want to install opencv-3.3.1 in my jetson.
Could you please tell me How to install Opencv-3.3.1 in Jetpack4.6 of Jetson Xavier nx?
I will be very thankful to you.
Hello @vashisht.akshat.rn.04
You can use this file:
#!/bin/bash
# License: MIT. See license file in root directory
# Copyright(c) JetsonHacks (2017-2019)
OPENCV_VERSION=4.1.1
# Jetson Nano
ARCH_BIN=5.3
INSTALL_DIR=/usr/local
# Download the opencv_extras repository
# If you are installing the opencv testdata, ie
# OPENCV_TEST_DATA_PATH=../opencv_extra/testdata
# Make sure that you set this to YES
# Value should be YES or NO
DOWNLOAD_OPENCV_EXTRAS=NO
# Source code directory
OPENCV_SOURCE_DIR=$HOME
WHEREAMI=$PWD
# NUM_JOBS is the number of jobs to run simultaneously when using make
# This will default to the number of CPU cores (on the Nano, that's 4)
# If you are using a SD card, you may want to change this
This file has been truncated. show original
For your setup you should change these lines below.
From:
OPENCV_VERSION=4.1.1
# Jetson Nano
ARCH_BIN=5.3
To:
OPENCV_VERSION=3.3.1
# Jetson Xavier NX
ARCH_BIN=7.2
Then, you can run this file:
./buildOpenCV.sh
Regards