OpenCV version in image l4t-ml:r32.5.0-py3?


According to OpenCV version in l4t-ml:r32.5.0-py3 shoud be 4.4.1 while it seems to be 4.1.1 (same as L4T 32.5 base system)

takeshiba@jetsonnano2g:~$ docker run -it --rm --runtime nvidia --network host
allow 10 sec for JupyterLab to start @ http://localhost:8888 (password nvidia)
JupterLab logging location:  /var/log/jupyter.log  (inside the container)
root@jetsonnano2g:/# python3
Python 3.6.9 (default, Oct  8 2020, 12:12:24) 
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
>>> cv2.__version__

Is this a typo in or am I missing something?


BTW: 4.4.1 Would make me happy

It could help you.

1 Like

Hi @bin_nvidia, sorry it is a typo, the version in the container is the same as on the host (OpenCV 4.1.1). It is the same package from the host that is installed into the container.

If you want to change it, you can create your own container using l4t-ml as a base and re-builds OpenCV, or you can edit the l4t-ml Dockerfile and rebuild l4t-ml here: GitHub - dusty-nv/jetson-containers: Machine Learning Containers for NVIDIA Jetson and JetPack-L4T