What are the "moments" in opencv ? Ratios, eigenvalues and eigenvectors
I asked this question : [Question about second momentos](http://answers.opencv.org/question/96733/calc-the-seconds-moments-of-area-of-huge-number-of-countours/), which @Tetragramm helped me a lot . For...
View ArticleWriting values got from template matching to new image
Hi, Could you please help me with the task? I have to write values of correlation coefficient between two images to the new one. I am trying to compare two same size images (116x206px) by cropping...
View ArticleBuild another OpenCV 3 library for a different Python interpreter in the same...
I am using Mac and already installed a computer vision library, OpenCV 3 for my computer (system-wide) and it is compiled with support for Python 2 interpreter. I am now, want to build another OpenCV...
View ArticleI want to detect closed eyes after it closed 3 seconds
This is a program to detect eyes closed. But i want after eyes closed 3 seconds, it will print "Warning" in terminal. for (x, y, w, h) in faces: cv2.rectangle(image, (x, y), (x + w, y + h), (255, 255,...
View ArticleChange pixel x,y location with mathematical function
As the title suggests, I have an image, whose pixels I want to move based on a mathematical function. The code I use right now is consisted of two loops. And because of the nested loop, the process...
View ArticleHow to upgrade version
Hi anyone can help me ? I was able to install openCV-3.1.0 on Ubuntu 14.04, but I confirmed version using python and version was 2.4.8. How did this happen?
View ArticleOpencv hang
Hi, I have installed OpenCV3.1 (stable) on Debian Jessie on my laptop and ran opencv_core_test without any issues however when installing on a server (Debian Jessie also), using the same cmake command...
View ArticleOpenCV for Python 3.5 for use under Anaconda's Navigator 1.2.3
I am running Jupyter under Navigator 1.2.3 on my Mac with OS 10.6.8. I have set up an ImageProcessing environment for use with Jupyter and would like to install the OpenCV package for use in that...
View Articlepython sample script error : AttributeError: 'module' object has no attribute...
Hi, posting the content below. Executed, as python facedetect.py in sample scripts of opencv version 3.1: face detection using haar cascades USAGE: facedetect.py [--cascade ] [--nested-cascade ] []...
View ArticleSegmentation fault OpenCV cap.read() udp stream Python
I'm new to using OpenCV, and I'm trying to write a program to access a video stream on a UDP port. However, the code keeps giving a segmentation fault when I run it. The program is just intended to...
View ArticleHow to use the dense sampling detector to image with OpenCV3_python?
I am using python2.7, OpenCV3 with opencv-contrib to image processing. So I can use SIFT and get features as follows, sift = cv2.xfeatures2d.SIFT_create() kp = sift.detect(gray,None) des =...
View ArticleDeskew Text with OpenCV and Python
Hello, i'm new with OpenCV and i want to deskew an image that have a skew text: First i read the image in GrayScale and Binarize it, then i try to...
View ArticleComplicated compilation for python 3.5
Hello, Compilation used to be a piece of cake for python 3.4. However, ubuntu 16 ships with python 3.5, and things get complicated for openCV from the latest git pull. Yes, I have followed the...
View ArticleWhat is the correct way of using the cv2.correctMatches in Python
I am trying to pass the corresponding image coordinates to the function and throws an error. cv2.error: D:\OpenCV_3\opencv_8-18-16\modules\calib3d\src\triangulate.cpp:202: error: (-209) The...
View ArticleHow to create multiple VideoCapture Obejcts
I wanted to create multiple VideoCapture Objects for stitching video from multiple cameras to a single video mashup. for example: I have path for three videos that I wanted to be read using Video...
View Articleerrors on running FAST algorithm on corner detection
Could any one provide a example python script to test FAST algorithm on corner detection? When I run below example python script from opencv-python tutorial, I get a error "TypeError: Required...
View ArticleKCF and BOOSTING tracker segfaults in Python
Hi, I installed opencv 3.1.0-dev on Ubuntu 14.04, compiled with OPENCV_EXTRA_MODULES_PATH set to opencv_contrib. I can successfully run opencv_contrib/modules/tracking/samples/tracker.py with MIL,...
View Article8 digit Alpha numeric detection from video frame
Dear Friends, I have a video file and I processed it through cv2.VideoCapture and analyzing frames in loop to detect 8 digit Alpha numeric from the frame. I used handwriting detection script but it...
View Articlehow to find percentage score from orb
I am using opencv 2.x with python. I need get similarity between images as percentage score using orb. I tried dividing number of good matches by total number of matches but the value seems really low....
View ArticlePython script with opencv_createsamples doesn't create samples
I create positive samples to get classificator through opencv_traincascade. I wrote a Python script that iterates through all the positive images and does "opencv_createsamples" command on them....
View Article