OpenCV (Open Source Computer Vision) is a cross-platform library of programming functions for real time computer vision.
Questions tagged [opencv]
466 questions
1
vote
3 answers
Algorithm for centering an object that is changing speed
I'm trying to use a pan / tilt alt-azimuth telescope mount to track an object that is moving in the sky. The problem is that the object is changing speed constantly. I can easily track objects that are moving at a steady speed.
I'm using the OpenCV…
mcshaf01
- 23
- 4
0
votes
2 answers
OpenCV and ROS2
I've checked all the related questions here and I still wasn't able to get this example to run. I apologize in advance if the solution was right in front of me and if that offended anyone.
Problem description: I run Ubuntu 20.04 and ROS2 foxy,…
mintybim
0
votes
1 answer
compile with different opencv
I would like to compile a ros package skimap_ros with a local version on opencv. All my attempts at overriding the libraries in the CMakeLists.txt have failed ...it keeps taking the opencv from /usr. Does anyone know how to do this in ROS. Thank…
rnunziata
0
votes
1 answer
Drone Line Follower
Hello everyone, I am working a project where I want to follow a straight line to clean gutters. I read up on opencv for image processing. This is my thought process:
Perform Erosion/Dilation Operations on your image to get rid of extra space, if…
mikerosz
0
votes
1 answer
error in adding extra module in opencv
hi guys
i am trying to add opencv_contrib module to my existing opencv and i am getting following error, please help
-- Looking for sys/videoio.h - not found
-- Checking for module 'libavresample'
-- No package 'libavresample' found
-- Found…
zubair
0
votes
1 answer
convert pixel values to meters
hello guys ,
this is how i am getting x and y from the blob, can anyone tell me how can i convert these posX and posY values in meters or centimeters ??
//Calculate the moments of the thresholded image
cv:: Moments oMoments = moments(img_mask);
…
zubair
0
votes
1 answer
Error: no matching function for call to 'ros::Nodehandle::advertise()'
Error
/home/sharan/catkin_ws/src/zlab_drone/src/videoFeedListener.cpp: In constructor ‘ImageConverter::ImageConverter()’:
/home/sharan/catkin_ws/src/zlab_drone/src/videoFeedListener.cpp:67:46: error: no matching function for call to…
sharan100
0
votes
1 answer
Image encoding problem
Hello
I have a cv::Mat of depth CV_8UC1 (that I know for sure it is this since it what the camera streams). In the camera driver I can do cv::imshow and display this CV_8UC1 image and I see it right:
In order to send it as a ros message, I use the…
apalomer
0
votes
1 answer
Which ROS version to use with opencv
Hi. I would like to use the feature detection library from opencv to detect an object and then navigate the mobile robot to the center of the object . I dont know only which version of ROS should install and to use it with opencv. I know that can…
Astronaut
0
votes
1 answer
I need help with an error when run an OpenCV program
I am sorry if my subject is not clear but I am not sure how to describe this problem.
Below is the error I receive when I try to run my node:
ubuntu@tegra-ubuntu:~/Documents/WorkSpaceOpenCV$ rosrun img_processor img_processor
img_processor:…
Thang Nguyen
0
votes
1 answer
Can't visualize image in opencv. what is problem?
I tried to run ros opencv tutorial program: converting converting between ros image and opencv image using cv_bridge. but after i ran the command: rosrun opencv example input:=/camera/image_raw than rosrun image_view image_view…
dinesh
0
votes
1 answer
which version of Opencv should I use?
Hi everyone,
I'm a beginner in ROS. Currently, I'm trying to use a camera to locate and identify the color balls by the OpenCV package, but depend on my research I found that there has two version of OpenCV, one is OpenCV 2 and OpenCV 3.
So what is…
Zero
0
votes
1 answer
How to start using OpenCV and ROS
Hi
Im new in OpenCV and would like to learn using it with ROS fuerte. I am using Ubuntu 12 and 14 and ROS fuerte and Microsoft Kinect. Any good tutorial to start install OpenCV in ROS and start using it with some basic functions to hit the ground?…
Astronaut
0
votes
1 answer
Where's the install location of the ROS indigo's opencv
Hi, all,
My OS is ubuntu 14.04, I had installed ROS indigo (Desktop-Full), where's the install location of the ROS indigo's opencv ?
I coudn't find it in "/opt/ros/indigo/lib"
Could somebody answer me?
THX~
Originally posted by Milton on ROS…
Milton
0
votes
2 answers
ROS Answers SE migration: OpenCV imread
I was following these examples;
http://wiki.ros.org/action/login/image_transport/Tutorials/PublishingImages
More specifically, let's look at this piece of code:
1 #include
2 #include
3…
acajic