Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Browsing all 19555 articles
Browse latest View live
↧

Extracting Palm Lines as separate contour (opencv)

Hi All I am working on extracting Palm Lines from an image. I reached to a point where I am able to extract Palm Lines as contour but problem is : when any palm line is intersecting each other then...

View Article


Viz initialize camera position

How do I initialize the camera such that the scene in 3D is viewed like the image in 2D ? When I run my program, the camera starts off far off from the scene. I have to do a lot of dragging and...

View Article


CvMat zero initialization confusion with cv::Mat

I was reading a code which was like this : CvMat * MyMat[10]; for(int i = 0; i<10; i++) { MyMat[i] = 0; } what does this do ? Does it initialize the MyMat to 0. And if I want to do the same in...

View Article

How to address a specific centroid obtained from the function...

Hello everyone, I hope you can help me with a specific issue. I have been using the function connectedComponentsWithStats to extract the centroid of an object in an image. Here is part of my code, int...

View Article

OpenCV 3.1.0 Cascade Classifier detectMultiScale provides inconsistent...

I am using Cascade Classifier detectMultiScale to detect text in an image. I am testing on two different machines whose configuration is listed below. The results generated for the same images using...

View Article


How do I merge the bounding rectangles generated for i,j and '?'?

I want to create an OCR software using python and openCV. I managed to find the contours and generated the bounding rectangles. However the code seems to detect two separate bounding rectangles for...

View Article

Compare Camera captured images with computer generated images

I am making an app which compare camera captured image with computer generated images and these images are stored in database. I am using Opencv for image comparison but it only compare computer...

View Article

Opencv_contourArea

HI, When I calculate the area of via the contourArea function in binary image, I'm not getting the correct contour area. Below the snippet code, why the area is calculated incorrectly ? I have used a...

View Article


DrawMatching between two images - image recognition

I was trying to show the matched keypoints between two Images (one that is captured from my camera and the other from the database) Can anyone help me out in writing DrawMatches function in my code in...

View Article


Wrong measure on Zaxis on Translation Matrix of SolvePnP

Hi, I am trying to get both rotation and translation matrix of a red square with webcam using SolvePnP. All the values are correct with my measures (with +-1mm of error) except the translation value...

View Article

QApplication + cv::viz::Mesh::load: Parsing error

I'm trying to load an .obj file using cv::viz::Mesh::load method as follows: cv::viz::Mesh::load(filename, 2); It works fine, but if I call the same method after initializing a QApplication like so:...

View Article

VideoCapture problem - Inappropriate ioctl for device

I'm trying to open a video VideoCapture video_source; video_source = VideoCapture(); video_source.open("/home/thom/Downloads/output.mp4"); and I'm getting this message: > Unable to stop the...

View Article

cuda_runtime.h error without even including it

Hi, I'm written a very simple "hello world" opencv3 program from which I'm going to start my project. But I am getting an error in currently setting an error and I'm not sure if its because of...

View Article


cudacodec::VideoReader returns 4 channels

Hi, the regular video reader returns 3 channels (BGR) but the gpu version returns 4 channels for the same video. Is there any documentation that could help me understand what format is it returning them?

View Article

OpenCV for unity template matching

Hi everyone, I am working with OpenCV unity package with Vuforia and there's this issue with familiarizing with the API of OpenCV. I am getting Camera Frames through Vuforia's API whenever the Image...

View Article


Aborted (core dumped)

Run on Python 2.7 and OpenCV with Ubuntu12.04. Thnx enter code here The actual code is: import urllib import cv2 import numpy as np import os def store_raw_images(): neg_image_link =...

View Article

Aborted (core dumped)

Run on Python 2.7 and OpenCV with Ubuntu12.04. Error; terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::substr: __pos (which is 140) > this->size() (which...

View Article


How to sort contours left to right, while going top to bottom

I'm finding the contours for an image with digits and characters, for OCR. So, I need the contours to be sorted left to right, while going line to line, i.e. top to bottom. Right now, the contours...

View Article

CvCapture* capture = cvCreateCameraCapture(0); is not working for me... c++ w10

but VideoCapture cap(0); is working for me..it opens the camera.. please anyone give solution.. #include "opencv2/highgui/highgui.hpp" #include #include using namespace cv; using namespace std; int...

View Article

Distortion camera matrix from real data

I have a camera for which I have exact empiric data 'image height in mm' vs. 'field angle'. Field angle(deg) Image Height (mm) 0 0 0.75 0.035 1.49 0.071 2.24 0.106 2.98 0.142 3.73 0.177 ... 73.85 3.831...

View Article
Browsing all 19555 articles
Browse latest View live


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