Unlimit window size?
Currently, I have the shown images (red rectangle marked RoI on example)  being resized to height, that is slightly less than...
View ArticleTrack ring pull Python
Hello, i want recognize ring pull and detect position angle... I think that is effective a haar cascade but i want ideas to do that in Python.  Only...
View ArticleVideo frame to numpy array
I just started with OpenCV. I have a small video clip that I want to process frame by frame. That's why I want to be able to access the pixel RGB values via Numpy arrays. What is the best way to...
View ArticleHow to recognise a image 2d preload and follow it by webcam in a rectangle in...
Hello, I have an autonomous drones project and I am using **python with the Opencv** library and what I need is to preload an image of a landing point and with the python functionality this must...
View ArticleWhy am I not able to change all settings of Logitech C920 camera using...
I am using opencv 2.7 and python27. I tried getting and changing the camera settings such as contrast, brightness,gain,exposure,etc. I am not able to change any of the camera properties viz EXPOSURE,...
View ArticleSIFT Feature matches coordinates
Hello, I want to print the detect features keypoints with the FLANN based Matcher Algorithm : http://docs.opencv.org/trunk/dc/dc3/tutorial_py_matcher.html. The search works fine and show as the...
View Articlestereocalibration Qs
i have a pair of webcameras and would love to calibrate it with opencv stereoCalibrate function. The complete code could be found here: https://github.com/bruce95/stereocam/blob/master/attach.py While...
View ArticleHow to display multiple images in one window?
I load 1 image and display them in 2 separate windows , one is normal and other one is grayscale filtered. But i need to display them in 1 window , side by side. I made example image :...
View Articleimprove my findContours for a square detection?
Hi guys, for a robotic project I want to detect a black square in real time (Resolution: 720p) using ROS and OpenCV. I'm working with such a high resolution because I used VGA first and then figured...
View ArticleMake blocks of related connected components
Hi, for university purpose I'm trying to do the physical segmentation of a document. At this moment I find the connected component, both in term of characters that in term of text lines and images....
View ArticleAerial View Stitching
Hello Guys, Newbie here, need guidance on picture stitching through python. I have tried stitching through Homography but the result were unsatisfactory due to tilting of stitched frames. What could be...
View ArticleMatching image position before comparing image
My goal is to make image 1 and image 2 in the same position before comparing and get the difference between images using python. Take this example: ...
View Articleimport cv2 leads to "segmentation fault"
Hello I am installing opencv and opencv-contrib in my ubuntu pc. I installed it in both python 2 and 3. I have successfully installed it. However when I doing "import cv2" it immediately produce...
View ArticleHow to add the "contrib" part to cv2
Hi, I'm using openCv 3.1.0 and python 2.4, both x64 version. I was looking at this https://docs.opencv.org/3.2.0/d1/dc5/tutorial_background_subtraction.html However none of those method are available...
View ArticleAccess webcam without sudo
The code below will only work if I run it with sudo: cap = cv2.VideoCapture(0) cap.set(cv2.CAP_PROP_FRAME_WIDTH, 320) cap.set(cv2.CAP_PROP_FRAME_HEIGHT, 240) while True: ret, img = cap.read()...
View ArticleSecond camera is not opening until the first camera is released
I want to display the video inputs from two cameras at the same time. I used below code. capL = cv.VideoCapture(0) capR = cv.VideoCapture(1) if capL.isOpened() & capR.isOpened(): while True: retL,...
View ArticleHow to add background in webcam using python and opencv
I am trying to add video as background when (like this video https://www.youtube.com/watch?v=G_AVZ8GZbTw)i am connecting to webcam. For this i did Background extraction first in this code i folow these...
View ArticleI am not able to put text in my frames of the video it is not giving any...
import tensorflow as tf import cv2 fn_list=[] # Capture video from file cap = cv2.VideoCapture('test_lego.wmv') image_path = '/home/shorav/tfClassifier/new_capture.jpg' label_lines = [line.rstrip()...
View ArticleOpenCV 3.0.0, FaceRecognizer and Python Bindings
Hi there - I am very new to OpenCV and am using it for a school project on the Raspberry Pi (Mine is the B+ model). I have followed numerous guides to get the FaceRecognizer to work in Python, but to...
View Article