Will this code give me the coordinates for the intensity-weighted centroid of...
 Mat image; Moments moments(image); int x = moments.M10 / moments.M00; int y = moments.M01 / moments.M00;
View ArticleFacelandmarking
I am using DLib, which is very similar to OpenCV. I would like to detect different parts ( lips , nose) etc with it. Can anyone help.
View ArticleWhen to use Gaussian filter?
Hello can someone tell me which type of noise present in the image reduce by the Gaussian filter ?
View ArticleBOWKMeansTrainer Max Images?
Hello. I am training BOWKMeansTrainer with a dataset of 30,000 images using AKAZE features and descriptors. When i hit the 3500 sample on call int BowTrainer.add(descriptor), i receive an error. My...
View ArticleBackground subtractor - automatically ignore always-changing area
Is there a way to have a background subtractor automatically ignore an area of the video that is always changing such as an LED screen so that doesn't constantly show as foreground?
View Articlethis code giving me error of c1083 cannot open source file cv.h ...iam using...
#include #include "opencv2\highgui\highgui.hpp" #include "opencv\cv.hpp" #include "opencv\cv.h" using namespace std; using namespace cv; CvCapture* g_capture=NULL; int g_postion=0; void ontrackbar(int...
View ArticleSaving OpenCV images in Android
I have the Image with DrawMatches() between two Images (one from the database and the other from the user captured Image in his mobile). I need to store this Image automatically in my gallery without...
View ArticleWhy does changing the order of build arguments matter?
I've been struggling with a simple hello-world style opencv application in c++, and while it compiles fine, it wouldn't link due to unresolved references to any cv function (OutputArray, waitKey, etc)...
View ArticleStereoSGBM crash
The code crashes at stereo->compute without any mention of error. Any ideas why ? Ptr stereo; int window = 5; stereo->create(1, 100, 16, 8 * 3 * window*window, 32 * 3 * window*window, 1, 10, 100,...
View ArticleDetect white droplets height on surface
I want to get a height profile of white water droplets on a surface. My plan is to project a line laser perpendicular on the surface and observing it from a 45 degree angle. As seen in the image below...
View ArticleHow i detect a cricket bat with Kinect V2 and openCv in unity 5
i am new in unity and kinect. I buy openCv in unity but i have not idea how detect cricket bat with openCv. I need help
View ArticleWhich cameras do you recommend for stereo with a larger baseline in OpenCV?
I want to have a pair of cameras for a stereo research project (disparity maps etc.) with OpenCV from live feed video. I am thinking of some modern USB HD webcams, but I am not entirely sure because of...
View ArticleIssue with Camera Orientation
Hi, I'm new on OpenCV and I want to change the camera orientation from landscape to portrait. I found some solutions that involve pixel manipulation in onCameraFrame method (rotate and flip the mat),...
View ArticleUpdating openCV for android
I am developing an android app that uses openCV 2.4.11 and I would like to change the openCV library to 3.0+ version. So that it works on 64bits devices, but i have no idea how to do this? i'm using...
View Articlehow to use python to detect ellipse
I want to detect the simple shapes in an image. I use cv2.approxPolyDP to detect vertices, but the result of ellipse is 4, same as square, how to differ them? Or, how to detect an ellipse, given the...
View ArticleAntialiasing in warpPerspective
I have noticed that there is a lot of aliasing when I perform downsampling (resize) or distortions on an image (warpPerspective) using any of the interpolation methods. Is this a limitation of the...
View ArticleHow do I get hold of OpenCV 2.4.8
Hi all, I am wanting to run a programme called Microsoft zootracer, but to do this it requires some folders from OpenCV 2.4.8 I can not find this anywhere (other versions do not seem to work). Does...
View ArticleDlib linker Error
face_landmark_detection_exram.obj : error LNK2019: unresolved external symbol "public: __thiscall dlib::entropy_decod er_kernel_2::entropy_decoder_kernel_2(void)"...
View ArticleProblem with OcrTesseract class.
Hello everyone, I hope you are all well. I have installed opencv with extra modules with help of this...
View Article