floydhub / dl-docker

An all-in-one Docker image for deep learning. Contains all the popular DL frameworks (TensorFlow, Theano, Torch, Caffe, etc.)

Home Page:https://www.floydhub.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not importing openCV

PauloCirino opened this issue · comments

I tried import cv2 in python but it is not working.

I check for opencv in the machine with
$ pkg-config opencv --cflags
And got a confirmation, such as
-I/usr/include/opencv

What can I to fix this issue?

Thanks

use the following command to install opencv:
pip install opencv-python