Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Browsing all 41027 articles
Browse latest View live
↧

opencv frame count

fr_cnt = cap.get(CV_CAP_PROP_POS_FRAMES); I'm getting frame number of a video with this code, and when it gets a certain key, it skips 50 frames fr_cnt += 50; cap.set(CV_CAP_PROP_POS_FRAMES,...

View Article


normalized euclidean Distance between 2 points in an image

Hello forum, When attempting to find the distance stated above, would it be better to use the bhattacharrya distance or the mahalanobis distance ? The mahalanobis function requires an input of the...

View Article


Java: how to set up parameters for AKAZE features in OpenCv 3.0

I want to set parameters for AKAZE features in OpenCV 3.0 based on this post http://answers.opencv.org/question/3167/java-how-to-set-parameters-to-orb-featuredetector/ I have successfully set...

View Article

Opencv3.0 in Visual studio 2015

Hello, I want to build opencv for visual studio 2015. can i get any suggestion how to do it? thank you in advance

View Article

OpenCV camera calibration is lagging on RPi2 with IR camera

I have a system running Arch Linux ARM with opencv-2.4.10-3. The Raspberry Pi 2 is connected to a Raspberry Pi Noir Camera. When i run the calibration the camera is lagging with what looks like 15-20s...

View Article


Need advice detecting object (which method)

I am trying to detect bowling pins within an image. First I tried with TrainCascade, For the positive images I took images from the entire pin. I was able to detect single pins that are clearly...

View Article

OpenCV books about handling real life scenarios

Hello, I'm new to OpenCV, to get started I've been following the official [online tutorials](http://opencv-python-tutroals.readthedocs.org/) and I've been reading the following books: - Practical...

View Article

Matching Features with ORB python opencv

hi im working in Matching Features with ORB python opencv but when i run this code i get this error Traceback (most recent call last): ValueError: could not broadcast input array from shape () into...

View Article


Using a HBITMAP image with template matching

Is there a way to save a screenshot in a HBITMAP, (either partial or full) and use it in template matching? If so, what would be the best way to approach doing so. I think imdecode() would work but I...

View Article


read camera image incorrect

I using the function of videocapture to read camera data VideoCapture cap(0); int Key; Mat src; if(cap.isOpened()) { while(1) { cap.read(src); namedWindow("capture", 0); imshow("capture",src); Key =...

View Article

Is there a solvePnP function for the fisheye Camera model?

I did an exercise recently where I used solvePnp to estimate the position of a camera. That used the normal camera model. Does there exist a solvePnP() function for the fisheye model as well? Kind...

View Article

3d modelling with stitcher?

Hi.. My name is farrukh. I'm new here so if there is anything wrong I ask please forgive me. I just wanted to know that can we use stitching function in opencv for 3d modelling. Like I have some...

View Article

TypeError: data type not understood opencv python

thats my python3 opencv3 code i get this error when i run this code i did't finished it yet that's are the error can some one help ? line 19, in matches = bf.match(np.array(kpTrain, desTrain))...

View Article


contourArea meaning and arclength

Hi, I'm playing with the moment coding and i'm confuse with the result. What I understand is the contourarea and the moment code will give the same result. 1) Contour area - is it means the area...

View Article

Proceedure for obtaining/updating camera pose for moving camera

I would like to determine the translation and rotation of a single monocular camera (android phone) mounted on a micro helicopter. The camera has been calibrated with the chess board, so the camera...

View Article


Resize kinect data

Hi, I have a 512x424 CV16U image which is the depth data of the kinect2. I want to resize it to 640x480 interpolating it. I tried with cv::resize(depth, depth_resized, cv::Size(640,480)) but the image...

View Article

Detecting color and drawing line

Hi guys. I'm just start OpenCV. I have some trouble to do my small project. I want to make a program to detect orange color and draw line from middle to the orange color's average point . I have a...

View Article


opencv 2.4.11 record 16 bit depth image as video

Hi there, As mentioned in title, I would like to ask is there any way to record 16 bit depth image (Gray scale image) as video and do not compress. Until now, I can only record depth image as 24bit 3...

View Article

opencv fails to import on python

I followed the instructions provided to install opencv-python which was installing opencv and then moving cv2.pyd to site packages. Then to check that it was installed, i tried to import it. i got the...

View Article

Save floating point TIFF images

Hi team, I work with a team that uses MATLAB for image analysis. They trade floating point TIFF files for analysis. I am working through the simple read/write tutorials but am frustrated by the fact...

View Article
Browsing all 41027 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>