why the captured image from code is not bright as normal captured image?
Hello, I am facing one problem regarding the capturing image from the USB camera. when I captured image without using coding i.e. directly from the camera than its give me bright image. but when i...
View ArticleRedrawing the grayscale histogram to have more normalize
Hi, I had done the calculation on the grayscale histogram and expected two distinct peak. From the histogram, it does not so smooth so I could not locate both distinct peaks effectively. What I want...
View ArticleHow can I resize an image where the face should be cropped and scaled to fit...
My webcam takes images. But opencv gender classification needs the images to be of the same size of that of the images used to train. So I need my webcam images to be 300*300 where the face in the...
View ArticleWhy I cant resize the image with the track bar?
I am a beginner and using OpenCV 2.4.11. Here is my code: #include #include #include using namespace std; using namespace cv; // Global variables const int slider_max = 100; int slider; Mat img; //...
View Articlelkdemo.cpp crashing upon cornerSubPix() and calcOpticalFlowPyrLK() call
Hello there, I'm new to this forum, new to opencv and not that experienced as a C++ programmer, so please bear with me for a few seconds.. I recently tried to run the lkdemo.cpp (code below with...
View ArticleI got error on libopencv_highgui.so.2.4 : undefined symbol
I am using OpenCV on python. And OS is OpenSUSE13.1 I made a python code below. #!/usr/bin/python import numpy as np import sys sys.path.append('/usr/lib64/python2.7/site-packages') import cv2 from...
View ArticleHow to Multiply cv::Mat with mask
I'd like multiply two arrays(cv::Mat) with mask for speed up application. In add and subtraction exists **mask** - optional operation mask - 8-bit single channel array, that specifies elements of the...
View ArticleIs there a reason why OpenCV does not support (CV_32U) 32 bit depth unsigned...
For optimization purposes, I'm avoiding the usage of floating numbers, while maintaining a good enough precision. Thus, I want to use 32 bit depth unsigned integer along with Mat data structure....
View ArticleSIFT contrast problem
SIFT can't find corresponding key-points in two images whose colors are reversed. Could anyone give me any suggestion for handling this problem. Thank you. For more clear understanding, check this two...
View Articlecompiling errors with opencv GOLD
Hi all , i'm under ubuntu 14.04 and opencv 3 gold .... i have found an example here for eye detection https://github.com/trishume/eyeLike when compiling in raspberry pi i got a lot of errors...
View ArticleText Classification with ML in OpenCv
Hello everyone, I made a program for taking areas from pdf files. Now I am going to OCR those areas and after that I want to classify the original file with that OCR results. Do you know OpenCV have a...
View ArticleIs there any reason not to use UMat?
I'm currently writing a piece of software that uses various different modules of OpenCV (some examples are edge detection via Canny, filtering operators, optical flow and I have some own algorithms...
View ArticleText Recognition from receipt photo iOS
It is possible recognize the text from a photo with openCV for iOS? I'm reading the tutorials but not find something yet.
View ArticleFindcontours() no working correctly in background subtraction
Hi, I am trying to obtain the foreground objects from the background using background subtraction model. There will only be a person walking in foreground whom I have to track and draw a bounding box...
View ArticleVideoCapture constructor doc
Hi in this [post](http://answers.opencv.org/question/64600/changing-resolution-of-front-lifecam-on-ms-surface-pro/) videocapture constructor is cv::VideoCapture INvidstream(CV_CAP_DSHOW | 1); Where...
View ArticleCapturing a blob of white pixels
Hi, I want to bound the foreground object by a rectangle, how shall I go about doing it? I tried bounding the rectangle by collecting the white pixels , but it bounds the whole screen... . Further, I want to apply this method in DICOM images. Can I read DICOM images...
View ArticleCalculating homography of multiple markers on a single plane
Hi, I've got an algorithm that calculates the homography of a number of markers in a single image, using findHomography. This works fine, but due to the size of the markers/resolution of the images,...
View ArticleWhat is the distance used by K-nearest neighbour in opencv
Hello, I am using the machine learning k-nearest neighbour algrithm c++. I have a dataset with a high dimensional features. So, the euclidian distance will be not the best. I try to find which...
View Article