Skip to content

Tag: opencv

OpenCV 2.4.11 Compilation For ROS ORB_SLAM2 Fails

I am trying to get orb_slam2_ros to compile and it needed an OpenCV version higher than 2.3. I have 4.2.0 but it doesn’t work but according to ROS, it has been tested to work on 2.4.11. Here is what I did: Download the source zip file. Extract it. Go into the directory and create a build folder. Go into…

install opencv on centos for java

I’m trying to install opencv on my centos 8 server to be used by java program. I followed the instructions here. after configuring opencv, I get the following result: I have already installed java on my server (by using sudo dnf install java-11-openjdk-devel, but I have not installed ant). in order to m…

Receive RTP stream with gstreamer

I’m trying to stream from a linux-based microcontroller, using gstreamer, to a python script. This is to workaround some firmware issues on the microcontroller where it cannot open the camera directly with opencv/python. The launch output command looks like this for gstreamer: My question is, what would…

Saliency Model – BMS (having error setting up)

I have downloaded a saliency model called BMS “Exploiting Surroundedness for Saliency Detection: A Boolean Map Approach” from here – available online. The code has been implemented and tested on Windows. I am trying to set up on my machine (Linux Mint), by reading the instructions given insi…

How to compile opencv with gtk 2.x rather than gtk3.x

I’m using tensorflow 1.4 & qt in ubuntu 16.04. The problem is when I include tensorflow(version: 1.4) and opencv (version: 3.2.0) simultaneously, protobuf is conflicted. The error msg is as follows: [libprotobuf FATAL external/protobuf_archive/src/google/protobuf/stubs/common.cc:79] This program was…

pip freeze doesn’t show opencv in Linux/Mint

I’ve installed OpenCV on Linux Mint and I can import it in python But when I want to see it in pip freeze, it doesn’t appear: Also, I tried to import it via PyCharm’s Project Interpreter. It wants to installation with pip. (pip install opencv-python and pip install cv2) When I installed that…