To help you leverage the plethora of building blocks available on NGC to build your AI, HPC and Visualization use-cases even faster, we partnered with Google Cloud to establish pathways for you to confidently deploy any asset on the NGC Catalog. These NVIDIA certified pathways ensure that you are always building your solutions in the most performant environment, with the latest drivers and libraries optimally configured for you by experts.
Simply put, we take care of all the underlying plumbing so you can focus on what you do best and build faster than ever.
If you use any of the above Base Images, then CUDA will be pre-installed, type RUN pip3 install opencv-python (use pip for python2). The documentation for opencv-python is here. If opencv itself does not need GPU support, then that should suffice, else refer to opencv-python docs for more info.