How to build opencv 4.7.0 with gstreamer and cuda enabled in venv python3.8 on Jetson Nano

I’ve installed python3.8 by:

sudo apt update && \
sudo apt install -y python3.8 python3.8-venv python3.8-dev python3-pip \
libopenmpi-dev libomp-dev libopenblas-dev libblas-dev libeigen3-dev libcublas-dev

And then create a venv and activate it by:

python3.8 -m venv venv
source venv/bin/activate

What should I do next for the right way to build opencv 4.7.0 with gstreamer and cuda enabled?

Hi,
A user has shared a script for manually downloading and building OpenCV:
GitHub - mdegans/nano_build_opencv: Build OpenCV on Nvidia Jetson Nano

Please give it a try.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.