SETUP - OpenCVΒΆ

Install pip

sudo apt install python3-pip

Install Jetson Stats Package

sudo pip install -U jetson-stats

Reboot the Jetson Nano

sudo reboot

Edit the .bashrc file to add the jeson-ai-lab file to the pip index

gedit ~/.bashrc

Add the following line to the end of the file:

export PIP_INDEX_URL=https://pypi.jetson-ai-lab.io/jp6/cu126
bashrc file edit

Source the .bashrc file

source ~/.bashrc

Install opencv python

pip install opencv-python

Install dependencies

sudo apt install libhdf5-dev
sudo apt install libtesseract-dev
sudo apt install libatlas-base-dev