Project

General

Profile

Computer vision module import error. Can not run RCT

Added by Arne Moeller over 8 years ago

Hey all,

I was running RCT today after a brand new installation and came across this error message.

Computer vision module import error. Can not run RCT

Applications as Raster and MSI-T work fine - its the RCT node in the RCT application that outputs this error right after starting the application.

I only saw one instance in redmine that suggests installing libCV - which did not help -

any ideas?

many thanks,
cheers
Arne


Replies (1)

RE: Computer vision module import error. Can not run RCT - Added by Anchi Cheng over 8 years ago

We switched to use OpenCV in 3.2.

In Install supporting packages, It said to use yum to install openCV..

If that does not work, try the instruction in http://techieroop.com/install-opencv-in-centos/#.VsW9wMfQZg1

One person here used the following to install from source locally for hist devlopment like this:

1. I used
http://techieroop.com/install-opencv-in-centos/#.VrS-P5Rn2lM

2. Down where there is a cmake command, I used ccmake 
and disabled ffmpeg (here is another complaint
http://answers.opencv.org/question/32801/unresoved-avformat_free_context-was-not-declared-in-this-scope/  )

3. Finally I made a link to cv2.so, so that it would be found

ln -sf /usr/local/lib/python2.6/site-packages/cv2.so /usr/lib/python2.6/site-packages/

Let me know what works for you. I was able to do it with the easy way (yum).

    (1-1/1)