Partition() - Finding the number of Clusters
Hi all, I am evaluating few of the openCV api's for my application, in the process I came through this [Partition](http://docs.opencv.org/modules/core/doc/clustering.html#partition) api. Basically I...
View ArticleHOW TO CALCULATE THE MAXIMUM DISTANCE OF A STEREO CAMERA
Hello, I'm working on a stereo camera for a project. Using two identical Ueye camera's ,i made a custom stereo rig.Now,I would like to know the maximum distance it can cover.The baseline is 25 cm and...
View ArticleHow to get length and width of a bounding box?
I want to identify the length and width of a bounding box in OpenCV, any functions I need in the LIB? please give me some tips,ideas~ MUCH THANKS IN ADVANCE!!!
View Articledrawing orientation axes of a rotated bounding box
I have an object from which I extract the contours and as consequence the minimum rotated bounding box. From the latter I can successfully obtain the center point (i.e. **Point(box.center.x,...
View ArticleCreate a box the bounds them into smallest possible box.
Hi guys.. I am trying to bound some points into a box (Rect).. The problem is though the box becomes to large, even though I use boundingRect.. I am trying to box the features The sample code Surf...
View ArticleDepth-camera KIT for Development
Can anyone suggest any good Depth-camera-kit for development. A camera that is compatibles with OpenNi2. Should have both Depth and RGB. I'm looking into Intel Creative
View Articleopencv 3 + python 2.7 make -j4 error mac 10.7.5
i get the next error when i use make -j4 to install opencv 3 2 errors generated. make[2]: * [modules/line_descriptor/CMakeFiles/opencv_line_descriptor.dir/src/LSDDetector.cpp.o] Error 1 make[1]: *...
View Articleassertion failed
on running this code an assertion failed error occurred on cmd line window OPENCV Error : Assertion Failed in cv::cvtColor,file:C:\(address) #include #include #include "opencv2/core/core.hpp" #include...
View ArticleUnable to open mp4 video file with VideoCapture before and after recompiling...
It all started when I tried to run a program like this: VideoCapture cap; cap.open("GOPR3252.mp4"); if(!cap.isOpened()) { return -1; } I couldn't open the video, even though I tried to manually add the...
View ArticleOpenCV + Swift 2 + CvVideoCameraDelegate
Hello guys, I've been studying OpenCV for the last couple of weeks. I'm developing a project using OpenCV 3, Swift 2, iOS 9. It needs real time camera image acquisition. I've followed several...
View ArticleCan OpenCV2 and OpenCV3 be installed togheter?
I have OpenCV 2.4.11 and now I am porting some of my codes to OpenCV3, in the meanwhile I still have to do work on 2.4.11. So I have been installing and uninstalling, going back and forth between...
View ArticleHow to get the max i from for loop to be printed at console?
Hello, I'm doing the tutorial to get the moment. So as we have more than one area calculated, how can I display the total number of areas i.e. the max number of `i` to be printed in the console. This...
View ArticleUsing Contrib modules with OpenCV4Android (OpenCV3.0.0)
I'm trying to write JNI wrappers for the OpenCV3.0.0 FaceRecognizer modules but I'm having a bit of trouble because the "sdk/native/jni/include/opencv2" folder does not contain any reference to the...
View ArticleKalman filter for parabolic motion
Hi I have to implement a Kalman filter for noise removal in a parabolic trajectory and estimate position, velocity and accleration (accleration mostly). I am unable to understand how would the...
View Articleporting a statement from C++ to Java
hi all! I have following OpenCv mask statment, which i am unable to convert o my Java android. It is in C++ im1 = cmyk[3].mul(1 - cmyk[1]) > 0.25; cmyk[1] and im1 are Mat objects.i get following...
View ArticleHow to include opencv inside an Android NDK project (relative paths)
Hi, I would like to include the opencv-3 android SDK directly into my NDK project, to avoid absolute paths in Android.mk. So what I did was to move the "sdk"-folder to the project's directory, and...
View ArticleOpenCV 3.0 make error
Hi, I'm trying to build OpenCV 3.0 for both Python 2.7 and Python 3.4 on my Macbook Pro (OSX Yosemite). I used my own cmake : > cmake -D CMAKE_BUILD_TYPE=RELEASE \ -D...
View ArticleOpenCV similarity between two images using Euclidean distance
Can we use the Euclidean distance to determine the similarity between two images - Detect Keypoint image1, image2 using SUFT - Compute Descriptor image1, image2 using SUFT - double dif =...
View ArticleProblem when I try to use findContour function
When I want to detect contours of watershed results, interesting thing emerged.! Applied image file:///C:/E/Figure/Test/marker.jpg marker image file:///C:/E/Figure/Test/ws.bmp watershed result...
View ArticleText contrib module and Tesseract
Good afternoon to everyone. First of all, sorry for my english hehe. I've been trying to build the opencv contrib module 'text', however I haven't got sucess. Note: Other modules like xfeatures2d have...
View Article