udacity-cs344-colab icon indicating copy to clipboard operation
udacity-cs344-colab copied to clipboard

About opencv installation in Colab

Open Michaelsqj opened this issue 3 years ago • 1 comments

Hi, I'm curious about how you manage to install the opencv requirements before compiling the code. Since I only see these before compilation

!git clone https://github.com/depctg/udacity-cs344-colab
!pip install git+git://github.com/depctg/nvcc4jupyter.git

# load cuda plugin
%config NVCCPluginV2.static_dir = True
%config NVCCPluginV2.relative_dir = "udacity-cs344-colab/src/HW1"
%load_ext nvcc_plugin

# change to work directory, generate makefiles
!mkdir udacity-cs344-colab/build
%cd udacity-cs344-colab/build
!cmake ../src

Could you please teach me about which command that finished the installation of the opencv?

Michaelsqj avatar Mar 26 '21 06:03 Michaelsqj

Maybe colab has opencv pre-installed 🤔

Guoning-Chen avatar Nov 11 '23 06:11 Guoning-Chen