Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Browsing index pages (429 articles)

compiling stereo_image_proc with local OpenCV

I have read a few places that I should be able to compile stereo_image_proc with a locally compiled OpenCV like this: 1. Clone vision_opencv and image_pipeline into my workspace. (vision_opencv gets...

View Article


package.xml for OpenCV

I'm in need of a newer version or OpenCV than is provided by my Ubuntu repo. Is there a version or fork of OpenCV that contains a package.xml so it can be compiled as part of a ROS workspace? Seems...

View Article


How to use a service to make a snapshot?

Hello, i already make the python file for the server and client. I am starting the camera in the server file at the begining, so it just starts one time only and keep up while the service is up too....

View Article

ros-kinetic is blocking my new opencv install

I'm working on my own custom opencv script and when I try to execute some methods i get the error: ![error](/upfiles/15597389382660227.png) OpenCV Error: Assertion failed (input.dims == 4 &&...

View Article

Why cv_bridge uses opencv3.2 in ros melodic?

I have OpenCV 3.4 in my Ubuntu 18. I have installed ros melodic according to the website instructions. However, I have been getting the error: /opt/ros/melodic/lib/image_view/image_view: error while...

View Article


Display ros image on webpage using roslibjs

Hi all,Problem: I am using ros hydro and publishing compressed image on a topic /cameraColor. Also, I am using rosjslib(webpage) to interact with rosbridge_server. Now I want to display image on...

View Article

Setpoint VS RC Override : which is better solution for quadcopter positioning...

Hey all. I want to ask some question before I'm dead exhausting... I've seen several pages like http://python.dronekit.io/examples/channel_overrides.html or http://wiki.ros.org/mavros What I want to...

View Article

Cannot Converting between ROS images and OpenCV images - Python

Hi, My name is Junifer. And I am a newbie. I am going to learn ROS and OpenCV. And I trying to convert ROS Image to OpenCV Image with Python language. But when i make follow the guide, it is not...

View Article


How to use arbitrary version of OpenCV

Hi, i have ROS Kinetic installed and it comes with OpenCV. I also have the latested OpenCV that i downloaded from github and installed in /usr/local. The following code that i wrote will always use...

View Article


Combines message for image and information gives "invalid initialization error"

Hello, I am currently trying to implement a message that includes the images as well as the detected bounding boxes. The publisher works very well, but the subscriber gives me the following error...

View Article

Can't install ros-kinetic-opencv3

I am trying to install `opencv3` using terminal. After saying sudo apt-get update i tried sudo apt-get install ros-kinetic-opencv3 But i am getting this error and called: can't find file to patch....

View Article

Tutorial for Image Publisher/Subscriber in Python (Video Stream)

Is there any tutorial or code for image publisher/subscriber in Python?...

View Article

display a 16-bit grayscale images from a thermal camera in OpenCV

Hi Guys, I am struggling to display a 16-bit grayscale images from a FLIR tau 2 thermal camera in OpenCV. I tried different images' encoding but what I get is either totally black or totally white...

View Article


How to update cv::namedwindow in multi-threading environment?

If 1 out of 2 subscriber receives an image and performs some image-processing. How can the output image be shown in multi-threading environment? And, one more query: Is using `waitkey(1)`, optimal for...

View Article

How to calculate the distance to object with orbbec astra camera

Hello, I am using orbbec Astra camera in order to get the distance to the already detected object. I have detected the object by using OpenCV and /brg/image_raw topic from Astra camera. Now I want to...

View Article


tf and image stitching with multiple camera topics

I'm looking to mount two cameras on the left and right in parallel on the base of a mobile robot, stitch the images taken from the respective camera topics together and run them through a CNN to...

View Article

ROS2 Windows OpenCV self package?

Hi, I have finished migrating a ROS package to ROS2 and I am currently going to test it on Windows. I had a question regarding the installation of...

View Article


Source code Kinetic install fails on Fedora when can't find opencv tar file

Source code Kinetic install fails on Fedora when can't find opencv tar file. I get this error: [localhost ros_catkin_ws]$ /usr/bin/wstool init -j8 src kinetic-desktop-full-wet.rosinstall Using initial...

View Article

How do I change the version of a package being used? Specifically, I want to...

I want to change the version of opencv I am using to fix a problem I am having, or to at least rule out the version update as the problem cause. The problem is described...

View Article

How to use pcl with cuda

Hi, I want to use pcl and openCV with cuda. I know now that I have to install another version of openCV (since the default version of openCV in ROS kinetic does not include cuda modules) and then call...

View Article
Browsing index pages (429 articles)


Latest Images