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

OpenCV library(cv2) is introduced and used in DevCloud

HYB
Beginner
2,008 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
1,987 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


0 Kudos
HYB
Beginner
1,971 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

0 Kudos
AthiraM_Intel
Moderator
1,950 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.

 

 

 

0 Kudos
AthiraM_Intel
Moderator
1,934 Views

Hi,


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


Thanks.


0 Kudos
JananiC_Intel
Moderator
1,912 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


0 Kudos
Reply