OpenCV Python on RPi, can't seem to iterate through image width
Hi all, Expect to see me here a bit in the next few weeks, working on my university honours project. I'm rewriting a C++ script using OpenCV that I made a year ago but this time in Python. import cv2...
View Articlecan't capture multicast UDP stream raspberry pi 3B
I'm streaming udp video by using my picamera, using UAVcast. I can get this video from PC, but i can't get the video from raspberry pi. I got this stream in my PC using .sdp file. The same code i run...
View ArticleHow to improve threshold image result OpenCV Java Android
Iam using OpenCVAndroid for thresholding images following is code and result  Following methods from OpenCV used Bitmap bitmap =...
View ArticleWhy there is no documentation for TS module?
Hello opencv, I came across OpenCV's **TS** module in 2.4 version. It is really interesting to see OpenCV modules being **tested automatically**. So I studied the TS module to figure out how it is used...
View ArticleWhat is the best way to extract human bodies from static background?
Hello guys.I have used various techniques to human body extraction.There is a lot of way to detect human bodies and extract these bodies on videos but Every technique has own disadavntages.How can i do...
View ArticleLucas-Kanade check next keypoints
Hello, under the example of the lucas-kanade algorithm is written https://docs.opencv.org/trunk/db/d7f/tutorial_js_lucas_kanade.html: "(This code doesn't check how correct are the next keypoints. So...
View Article(RPi Python) Trouble Understanding findContours & drawContours
Hi, I'm further adapting my code and the idea at this testing point is to output the original image and *contImage* which is meant to be a black image with the contours drawn in white. For some reason...
View ArticleBackground Scene Modeling Problem on Foreground Extraction
I am using Backgroundsubstraction method to human body extraction.When it comes to detect moving bodies this algorithm work well but if the body does not move, this algorithm does not work.How can i...
View ArticleBuild opencv.framework for Swift on Mac OS
[Mac OS 10.13.3, updated Homebrew, multiple OpenCV installations] I'm in need of a opencv.framework for a Swift/OpenCV project I'm working on in Xcode. I found some instructions on how this may be done...
View ArticleHow to configure opencv 3 with GPU Support, Cuda 9.0, Ubuntu 16.04?
I am working with this large data set of around 40,000 images. I find that reading the images in OpenCV takes too much time. I have access to an NVidia GTX 1080, and would prefer to run the imread on...
View ArticleHow to use HSV values for drawing functions in Python?
For example: cv2.rectangle(img,pt1,pt2, X ,-1) X = (B,G,R) for red, green, and blue. I want to draw a square that has a specific (h,s,v) value. Can someone please tell me of a way I can use my (h,s,v)...
View ArticleHow to use HSV values for drawing functions in Python?
For example: cv2.rectangle(img,pt1,pt2, X ,-1) X = (B,G,R) for red, green, and blue. I want to draw a square that has a specific (h,s,v) value. Can someone please tell me of a way I can use my (h,s,v)...
View ArticleObstacle avoidance with pure Vision approach?
I would like to do obstacle avoidance using pure Vision approach. I will use ROS and Ubuntu as a framework. The application is in construction industry so would like to detect the material winch is...
View ArticleDetect crossing lines at a single point
I am currently stuck trying to detect where lines intersect on a grid containing non-straight lines. My goal is to determine a single point or pixel at the intersection of two lines, for all lines on...
View ArticlestereoRectify, projectPoints, triangulatePoints
Hi, I am simulating 3D->2D->3D process. first, i project worldPoint to two camera points(left and right) then, use stereoRectify caculates the P1, and P2 finally use P1, P2 and two camera points...
View Articlebuild/install/usage questions
When I compiled FaceLandmarkImg code in the OpenFace project, an error appeared which is "C2039 'PDM': is not a member of 'FaceAnalysis' ". In fact, the included headers file include one PAW and one...
View ArticleBug: xphoto::Inpaint crash without exception
Hey guys, I compiled opencv with contrib module. It works well, however as soon as I try to use xphoto::Inpaint method the code crashes without an exception. Datatype of the mat is CV_64F. All inputs...
View ArticleDNN module efficiency is low in C++
I'm trying to run "master/samples/dnn/ssd_mobilenet_object_detection.cpp" of caffe module, and the efficiency is not high. I have tried to recognize a local video file but the FPS is only around 4-5....
View ArticleTrack/Detect an object with a dynamic background
I'm trying to track a rat in a box from videos that have already been taken. I need the distance the rat has traveled and a heatmap of the box based on where the rat has been. The videos are...
View Article