Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
1342 Discussions

OpenCV library(cv2) is introduced and used in DevCloud

HYB
Beginner
860 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
839 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
823 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
802 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
786 Views

Hi,


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


Thanks.


JananiC_Intel
Moderator
764 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