building a Mat image from different 1-column Mat images
Hi everyone! I'm a little bit at the beginning of working with opencv. How can I build a Mat image called let's say A,from other 1-column Mat images, in a way that, every column of image A, is one of...
View ArticleGenerating matrix representing nearness to edges
Hi Community! I'm attempting to improve a hand segmentation algorithm I'm working on, and as an experiment, I'd like to give higher priority to pixels that are near an edge. (My most typical failure...
View Articlecolor detect
Hello at all! I'm trying to do a people detect using color histogram to realize it. I would know if exists a function of openCV that works as Canny but not with grayscale. More precisely a funtion that...
View ArticleQuestion about the this installation page.
Ok see this page I'm on here: http://docs.opencv.org/2.4/doc/tutorials/introduction/windows_install/windows_install.html#windows-installation Question - If I go for the easy install, will I lose out on...
View ArticleInstallation steps for windows XP CodeBlocks.
Firstly, let me ask if these were the only things I had to do: 1. Download OpenCV. 2. Extract it. 3. Open CodeBlocks and add the library.
View ArticleBlue Screen while runing OpenCV 3.1 mini-application.
Hi everybody ! :) I'm having several problems to run my OpenCV based projects on my computer. I'm using OpenCV 3.1.0 with Visual Studio 2015 so i'm using vc14 .lib and .dll. The official web page of...
View ArticleIn OpenCV , failed to create an RGB image from a Bayer binary file.
I have a binary file containing Bayer image in BGGR format. Every pixel is 10 bits. For that I am reading the binary file into byte[] array and then did some bit level manipulation with the byte[] to...
View Articlehow to remove green ground from a soccer footage
Hi all, I am trying to perform player and ball tracking from video footage. How having some issues. Below is a sample code: Mat grayInputimage = Mat(size(inputImage),CV_8UC1); int blue,green, red;...
View ArticleCustomize Opencv to get raw data from usb(Imaging )device
Hi all, I want OpenCV to capture raw data from the camera device. Can any one guide me in this. The camera device will be sending some data like "FF" for 16KB, I want to get it without being Processed...
View ArticleHow to use Opencv3.0 to train My own DPM model?
hello,everyone i`m very glad to find that opencv3.0 provide C++ implement for dpm in the opencv_contribute model. but there is *inriaperson.xml* **only**. And sometime ,it has something wrong,so i...
View ArticleSave detected eyes in form of images
I have been working on eye detection and I want to detect and then extract the eyes from video feed at specific interval. I want to store the detected eyes in form of images. I have done the detection...
View ArticleWhy is cv::Mat::data always pointing to a uchar?
I try to read a NEF file using LibRaw and then put it in a cv::Mat. The NEF file stores data as 12bit, this means I need 16 bit, so I ought to use CV_16UC4 like this: Mat img1(height, width, CV_16UC4);...
View Articlelooking for an image viewer with pixel preview
Hi, this question is only indirectly connected to opencv. However, I hope its ok asking it. In my workflow I usually have a time series of images and I examine them using the image viewer Eye Of Gnome....
View ArticleJava Spring & JavaCV
Hello all, Can i use Java Spring and JavaCV together? Is it possible and How? Do you have any documentation about this?
View ArticlePython & OpenCV 3.1: imshow fail when called in different thread
Hi guys, I'm trying to build a multi-threading application. Each thread captures a video and display each frame of the video with imshow till the end. However, the script fails with: xcb] Unknown...
View ArticleWhich OpenCV4Android class does the field/constant CV_FILLED belongs to?
What OpenCV4Android class does the field `CV_FILLED` belong to? I couldn't find out from my Google search. It is used as the value of the 5th argument to the [`Imgproc.drawContours()`][1] method. From...
View ArticleVideoCapture is very slow in OpenCV 3.1
Hi to everyone! I am trying to get an mjpg videostream from ip camera Foscam 9831p (30 fps max) and run the face recognition code. But the VideoCapture frame rate is very very slow. I use realese mode...
View Articleeye detection is shaky
Hi everyone. I have problem with eye detection , it is very shaky is there a way to make it stable . I have uploaded video of this : [eye...
View ArticleHow to find the corners of a rectangular contour in pixel points?
Hello, i want to know how i can find the pixel postion of the corner points of a rectangular contour? With `findcontours()` and `moments()` i find the mass center of the contour but know i need the...
View ArticleI want to use OpenCV library in my app with Android Studio(without manager)
I followed instructions found here http://ashokvarma.me/android/how-to-setup-android-studio-with-opencv-opencv4android/ but I get error "OpenCV/StaticHelper: First attempt to load libs fails". static...
View Article