Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
826 Discussions

OpenCV library(cv2) is introduced and used in DevCloud

HYB
Beginner
451 Views

Can OpenCV library be introduced and used in DevCloud?Can a friend who knows these things give a way?

0 Kudos
5 Replies
AthiraM_Intel
Moderator
430 Views

Hi,


Thanks for reaching out to us.

You can install opencv by the following methods:


pip install opencv-python


Also you could install opencv in a conda environment and execute your workload. Please follow the below steps:


Step 1 : Create conda environment

conda create -n <env_name> python=<version>

Step 2 : Activate conda environment

conda activate <env_name>

Step3 : Install opencv

conda install -c conda-forge opencv


If you have any further issue, please let us know.


Thanks


HYB
Beginner
414 Views

The OPENCV installation was successful, but there was an error when it was introduced, using # include & < opencv2/dnn. hpp>;   and then error:'opencv2/dnn.hpp' file not found with <angled> include; use "quotes" instead

AthiraM_Intel
Moderator
393 Views

Hi,

 

Could you please share the reproducer code and the complete steps you used?

Did you try as mentioned in the error, use "quotes" instead of <angled> include.

 

Thanks.

 

 

 

AthiraM_Intel
Moderator
377 Views

Hi,


Could you please give us an update? Is your issue resolved?


Thanks.


JananiC_Intel
Moderator
355 Views

Hi,


We assume that your issue is resolved. If you need any additional information, please submit a new question as this thread will no longer be monitored.


Regards,

Janani Chandran


Reply