How do i typecast cvseq to cvpoint
Hai , how do i typecast in opencv ,I want to type cast to cvseq to cvpoint ...
Hai , how do i typecast in opencv ,I want to type cast to cvseq to cvpoint ...
Anybody has an idea what OpenCV Error: Assertion failed _img.cols == winSize.width means? I'm not familar with the new implemenation of the haar training (=traincascade) nor could I find any documentation in the wiki. Thanks, Josef ...
I've just downloaded OpenCV's trunk and now I'm trying to build it with MinGW. I read the manual and get .dll's compiled, but that's all - "interfaces/python" contains only some .i and .cmake files. How can I really get new python interface? Where I can find new cv.pyd/libcv.dll.a (because a compiled version from official site crashes so...
I am working with OpenCV and Qt, Opencv use BGR while Qt uses RGB , so I have to swap those 2 bytes for very big images. There is a better way of doing the following? I can not think of anything faster but looks so simple and lame... int width = iplImage->width; int height = iplImage->height; uchar *iplImagePtr = (uchar *) iplIm...
I want to use a CUDA-enabled SIFT library but I am using the OpenCV driver to get images from the webcam? The Cuda library is using the Devil Library for image data types. Should I transofrm the images from OpenCV data types to Devil? Or Should I use another method for getting images from the webcam[devil compatible data types]? Thanks f...
i'm working on detecting shape of any object.i've a binary image where background is white pixels and foreground/object is black pixel. now i need to detect the shape of the area where there are black pixels.how can i do it?the shape may be of a man/car/box etc. plz help ...
Hi, I have got a problem with some basic OpenCV code. Here is my code: cv::Mat src; src=imread("Calibration.bmp",0); if (src.empty()) cout << "Cannot load image" << " "; else cout << src.cols << " " << src.rows << " "; Unfortunatelly cv::imread returns NULL matrix with any kind of input image (I have tried .bmp, .jpg). The ...
How to save an avi file from camera to any disk in vc++ using opencv ...
I’m trying to build a simple application that will recognize the values of two 6-sided dice. I’m looking for some general pointers, or maybe even an open source project. The two dice will be black and white, with white and black pips respectively. Their distance to the camera will always be the same, but their position and orientation o...
Hi ive been trying to create a simple program with python which utilises opencv to get a video feed from my webcam and display it on the screen. I know im partly there because the window is created and the light on my webcam flicks on, but it just doesnt seem to show anything in the window. hopefully someone can explain what im doing wr...
hi everyone, i need to compute Laplacian Matrix-L for an image(nXn) in opencv...computing goes as follows.......... δij − 1/|wk|{[1+1/(ε/|wk|+σ2)][(Ii-µk)*(Ij −µk)]}.... for all(i,j)∈wk,summing over k yields (i,j)th element of L. where Here δij is the Kronecker delta,µk and σ2k are the mean & variance of inten...
Hello! I have a problem with OpenCV function cvCvtColor. Here is the code I used: #include "cv.h" #include "highgui.h" int main(void) { int g_thresh = 100; CvCapture* capture = cvCreateCameraCapture(0); IplImage* g_image = cvQueryFrame(capture); IplImage* g_image_copy = cvCloneImage(g_image); cvNamedWindow( "Contours", 1 ); ...
Hi im trying to detect a marker in a webcam video feed and overlay it with a 3d object - pretty much exactly like this: http://www.morethantechnical.com/2009/06/28/augmented-reality-with-nyartoolkit-opencv-opengl/ i know artoolkit is the best module for this, but i was hoping to just use opencv in python since i dont know nearly enough...
hi everyone,am trying to calculate mean and variance using 3X3 window over image(hXw) in opencv...here is my code...is there any accuracy issues with this??or is there any other efficient method to do it in one pass.? int pi,a,b; for(i=1;i<h-1;i++) { for(j=1;j<w-1;j++) { int sq=0,sum=0; double mean=0; double...
Is there a way in Java or OpenCv ; preferably Java, that i can have an HSV histogram give RGB image. I tried exploring JAI but it creates histogram for RGB image. Thanks Harshit ...
The old, C style cvMat matrices could be passed to the cvSave() function for easy writing to an XML file. The new C++ style cv::Mat and cv::Mat_ matrices are not accepted by this function. The OpenCV reference has a section on XML persistence, but the three classes (FileStorage, FileNode and FileNodeIterator) lack any description or exam...
I'm trying to use the new OpenCV 2.0 API in MS Visual C++ 2008 and wrote this simple program: cv::Mat img1 = cv::imread("image.jpg",1); cv::namedWindow("My Window", CV_WINDOW_AUTOSIZE); cv::imshow("My Window", img1); Visual Studio returnes an unhandled exception and the Console returns: OpenCV Error: bad flag (parameter or structure ...
Hi, I've tried to user HandVU with OpenCV but when I tried to run "hvOpenCV config/default.conductor" I get a "Segmentation fault". Anybody know this problem? macbook:handvu-beta3 User$ hvOpenCV config/default.conductor will load conductor from file: config/default.conductor Segmentation fault I installed OpenCV through http://openc...
Hi, has someone tried the cvFilter2D under 64bit linux? Recently when I was trying to port some code to the amd64 version of Ubuntu 9.10, I just found that the cvFilter2D works really slow. The version is Opencv 2.0. The code is as follows: CvMat *mat_src = cvCreateMat(128, 128, CV_32FC1); CvMat *mat_dest = cvCreateMat(128, 128, CV_32...
This is simple text detection video made using an opencv. Any ideas how was that made? Opencv video 1 Opencv video 2 ...