Tagged Questions
64
votes
1answer
22k views
Simple Digit Recognition OCR in OpenCV-Python
I am trying to implement a "Digit Recognition OCR" in OpenCV-Python (cv2). ( It is just for learning purposes ). I would like to learn both KNearest and SVM features in OpenCV.
I have 100 ...
54
votes
3answers
5k views
How to remove convexity defects in sudoku square
I was doing a fun project, ie solving a sudoku from input image using OpenCV (as in google goggles etc). And i have completed the task, but at the end i found a little problem for which i came here.
...
26
votes
5answers
28k views
Displaying webcam feed using opencv and python
I have 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 I am partly there because the window is ...
24
votes
1answer
7k views
What is different between all these OpenCV Python interfaces?
There are
opencv (the library from the OpenCV guys),
cv (the old library from the OpenCV guys) and
pyopencv with its predecessor ctypes-opencv.
What are the main differences and which one should ...
21
votes
3answers
3k views
Compare similarity of images using OpenCV with Python
I'm trying to compare a image to a list of other images and return a selection of images (like Google search images) of this list with up to 70% of similarity.
I get this code in this post and change ...
19
votes
4answers
3k views
OpenCV Image Processing — C++ vs C vs Python
I was thinking of trying OpenCV for a project and noticed that it had C, C++ and Python.
I am trying to figure out whether I should use C++, C or Python -- and would like to use whatever has the best ...
19
votes
4answers
20k views
How can I detect and track people using OpenCV?
I have a camera that will be stationary, pointed at an indoors area. People will walk past the camera, within about 5 meters of it. Using OpenCV, I want to detect individuals walking past - my ideal ...
19
votes
1answer
465 views
SWIG Python bindings to native code not working with OpenCV 2.1
I have an OpenCV project mixing Python and C. After changing to OpenCV 2.1, my calls to C code are not working any more, probably because OpenCV is no more using SWIG bindings.
From Python, I was ...
17
votes
3answers
696 views
Finding properties of sloppy hand-drawn rectangles
Image I'm working with:
I'm trying to find each of the boxes in this image. The results don't have to be 100% accurate, just as long as the boxes found are approximately correct in position/size. ...
15
votes
6answers
6k views
writing robust (color and size invariant) circle detection with opencv (based on Hough transform or other features)
I wrote the following very simple python code to find circles in an image:
import cv
import numpy as np
WAITKEY_DELAY_MS = 10
STOP_KEY = 'q'
cv.NamedWindow("image - press 'q' to quit", ...
14
votes
3answers
15k views
How to use OpenCV in Python?
I have just installed OpenCV on my Windows 7 machine. As a result I get a new directory:
C:\OpenCV2.2\Python2.7\Lib\site-packages
In this directory I have two files: cv.lib and cv.pyd.
Then I try ...
13
votes
2answers
4k views
OpenCV Python and SIFT features
I know there is a lot of questions about Python and OpenCV but I didn't find help on this special topic.
I want to extract SIFT keypoints from an image in python OpenCV.
I have recently installed ...
13
votes
4answers
456 views
Affine transformation between contours in OpenCV
I have a historical time sequence of seafloor images scanned from film that need registration.
from pylab import *
import cv2
import urllib
...
13
votes
1answer
2k views
How to detect gestures in OpenKinect (with python wrappers)
I've started looking into OpenKinect development, and to start, I'm trying to figure out how to look for certain gestures done by the person.
Are there any tutorials out there on how to do this? Or ...
12
votes
5answers
17k views
Installing OpenCV on Windows 7 for Python 2.7
Hey guys, am trying desbrately trying to get OpenCV to work on Windows 7. I download and installed it, and it didnt work, i got ImportError: No module named opencv when I tried to run one of the ...