Calculate length between 2 points in c++
I need to calculate length of lines(number of pixels along the path) from a point until a terminal point. terminal point is a point which either ends or which has more than one line starting from that...
View ArticleOpencv with Caffe
Hey is there any way to use person detection/ identification using opencv+caffe? I have tried using PASCAL VAC dataset is there any other dataset with caffe that can be used for person...
View Articlerunning imdecode on a buffer containing jpeg image
i am running imdecode on a buffer (string called str) containing a 4 channel jpeg. I do this: vector vectordata(str.begin(), str.end()); Mat mat = imdecode(vectordata, IMREAD_UNCHANGED); the mat object...
View ArticleUnable to build OpenCV (with CUDA) error
I am unable to build openCV v3.1 with Cuda. I followed the instruction as given in the link http://docs.opencv.org/master/d3/d52/tutorial_windows_install.html In CMAKE I just select all flags with...
View ArticleHow to remove glare from image
I am trying to detect circular object in image. I am not using hough circles as it gives many false outputs as well. I am converting the image into binary after applying median blur. For conversion...
View ArticleAndroid add Native OpenCV
I made a console application in c++ and want to add it now to Android. I already configured everything and added a JNIInterface for my SourceFiles. After that I builded OpenCV Libraries for Android and...
View ArticleRGBD contrib module depth registration (registerDepth)
Hi, We I register my depth image **with distortion** in size of 640x480 to a bigger size of an image, I always get 2x2 block 0 depth at in the center of the output registered depth. I activate the...
View Articlehow to build custom opencv for android (and test application using c++ client...
Hello. How can I build opencv myself on android such that I can write other native c++ application code that interacts with it? Im using Android studio 2.2 with ndk installed. Most...
View ArticleconvexHull clockwise parameter inverted ?
Perhaps I'm misunderstanding the 3rd parameter to convexHull ? :> clockwise - Orientation flag. If it is> true, the output convex hull is> oriented clockwise. Otherwise, it is> oriented...
View ArticleChange Background Colour Keeping Shadow Intact Over the New Colour
In this image I just wanted to change the background colour from texture green to blue or any other colour which I have successfully done, but I am not able to retain its shadow or its glow after the...
View ArticleHow can I extract the most "emphasized" (brightest?) parts of an image?
Hi! I'm trying to extract the most different/emphasized/brightest parts of an image. An example is in the next image, I would like to obtain a ROI of the red and blue auras on it. However, these auras...
View ArticleVideoCapture - knowing the id parameter
How can i know the camera whose the id parameter of VideoCapture function are pointing out? I need to find a default on the id, because I need know if the webcam is the default installed at windows or...
View ArticleOpenCV 3.1 sending bytes to serial port
Dear all, I did an application where the pointer of the mouse would be able to pilot two servos (tilt and pan) via an Arduino. I am able to pilot just one, not both. Could you help me please ? I am...
View ArticleFighting For Peer Coaching Program For Teachers Edwin Javius: The Samurai Way
Teaching elementary college science has to be approached in a way that differs from further education levels of science. Young youngsters are best suited to learn by way of hands-on experimentation...
View ArticleNo member named 'Blender' in namespace 'cv::detail' stitching.hpp error when...
Headers were added to the beginning as I was originally getting Parse Issues from the Expected Identifier ‘NO’ in the macro. By adding these headers, I removed the Parse Issues as recommended in the...
View ArticleSobel function documentation
I am looking for more documentation around the Sobel function arguments but I have been unable to find. Here is what I am after: This tutorial...
View Articlegender classification
I had fixed the eigenvalue 0.000000 thing i had the other day. Or so i thought. It seems to come up randomly when training a model. I don't know *what* is causing that to appear, i wish i did. I used...
View ArticleAny Ideas? to find user's picture area of windows 10 logon screen.
Hi there!~ I want to find user's picture area of windows 10 logon screen. (center position of circle) I used way to find circle of image. but it's not enough accuracy. (HoughCircle) always, the user's...
View Articletraining a model
Stupid question maybe, but does training a model always give the same results? If i remove it and re-train, can i expect the same model file ? (training on the same pictures and amount of pictures of...
View ArticleVideoWriter not writing frames to H264 output file
I am VideoWriter to write frames which are read from VideoCapture. The H264 file has the header and tail information written, but no frames are written in the file, the file is just 1KB large. I am...
View Article