Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Browsing all 2088 articles
Browse latest View live
↧

problem in displaying video stream window in face detection python

hey i just want some help this is my code but i do not know how to display the video using imshow or anyother method. it was working fine but as soon as i put all the code into processes it is running...

View Article


destroying mousecallback in python

In C++ it is necessary to explicitly destroy a mousecallback by passing in a null pointer. But is this automatically done in python? since there is nothing like a null pointer in python, the only...

View Article


how to dispaly percentage pridiction in fisher face recoginition algorithm

i am using fisher-face to recognize faces and i want to show a percentage prediction on a rectangle with the matching name. secondly, i want to set a value e.g if the matching percentage is 80% it...

View Article

problem in making fisherface recognizer efficient

i want to put a condition that if there is a known face then it executes the part where i display name of recognized person on the rectangle. but if there is an unknown face or a face with bad...

View Article

Video composition by switching between multiple cameras

I wanted to compose a video from multiple cameras. While stitching I wanted to switch view from one camera to another. Is it possible to do it in OpenCv? For example I have 3 video paths(videos having...

View Article


py-opencv import error in Bash for Windows 10

Hello, I installed `py-opencv` using the following command on Bash for Windows 10: `conda install -c conda-forge opencv` I try importing `cv2` in my Python3 interpreter and get the following error:...

View Article

Verification of fundamental matrix

I have evaluated the fundamental matrix using the following data: A = [[19, 53], [127, 145], [81, 208], [43, 173], [89, 37], [159, 64], [225, 136], [132, 192], [139, 79]] B = [[35, 40], [127, 104],...

View Article

Line segmentation in handwritten text

I'm developing a simple script for extracting features of each of the lines of a image that contains handwritten text. After thresholding the image I add to the Numpy matrix a complete white row and...

View Article


Descriptor extraction algorithms

I am trying to extract the descriptors of some keypoints I have set but I have found that OpenCV 3 by default has only ORB. I don't want to re-build OpenCV to add the other algorithms but I do get...

View Article


What is the difference between OpenFace, OpenBR and OpenCV?

Currently I don't know which library I should use. I don't want any recommandations, I just want to know the differences, so I can decide for myself. The available libraries are: - OpenFace - OpenBR -...

View Article

Videocapture in opencv 3.0.0 is not reading the video

Hi, I am using opencv 3.0.0 on ubuntu 16.04 with python 2.7.12 in virtual environment. When I am writing the following program, import cv2 import os.path import numpy as np print...

View Article

Errors on compiling OpenCV on MacOS Sierra

Good evening guys, I am having an error when I execute the command make -j4 on my terminal. The error is the following: /Users/lucadigiammarino/opencv/modules/videoio/src/cap_qtkit.mm:46:9: fatal...

View Article

How do I convert urllib parameters to urllib3?

Hi everyone, This code makes the URLs of the images contained in the link, be resized and saved in a folder. The code is not mine, but I intend to use it as the basis for my project....

View Article


OpenCV - Python Instalation

Hey there boys and girls! I'm kind of new to programming business. I am trying to instal OpenCV-Python from source (via http://docs.opencv.org/3.1.0/d5/de5/tutorial_py_setup_in_windows.html tutorial)....

View Article

OpenCV - Python Install Error

Hello there! I have to do some work for my degree in Python. I need the OpenCV libraries too. I followed up the tutorial from OpenCV-Python installation and it went good up to last phase where i had...

View Article


Python cv2.BackgroundSubtractorMOG2 history parameter doesn't work

I'm using opencv 2.4.11 with python 2.7.12. The BackgroundSubtractorMOG2 works (i.e. background subtraction results are ok), but I wanted to tune the parameters. However, changing the history parameter...

View Article

error: (-215) scn == 3 || scn == 4 in function cv::cvtColor

using: gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) i get: error: ..\..\..\..\opencv\modules\imgproc\src\color.cpp:3739: error: (-215) scn == 3 || scn == 4 in function cv::cvtColor here's the whole...

View Article


where to get simple.jpg

Hi! Where do I get the sample images simple.jpg, chessboard.jpg, home.jpg, fly.png and others from the Python feature detection and description tutorial (...

View Article

Blurred mask on image

Hello, i want to blur specific regions (ellipses) of an image with smooth edges. What i have done so far is: 1. create mask for non blurring area (ellipse) 2. create inverted mask for blurred area 3....

View Article

Barcode character recogniton

I am currently undertaking a python project that involves taking an image of a barcode and then scanning the barcode to identify the item. I have decided to use OpenCV. Currently I have managed to...

View Article
Browsing all 2088 articles
Browse latest View live