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

Track 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. ![image description](http://i.imgur.com/SNojsZ7.jpg) Only...

View Article


Can I build OpenCV on my Desktop Computer from source, then transfer the...

Hello, I have built OpenCV 3.1.0 on my Windows computer. I used python 2.7, have numpy installed, and have added a few modules from opencv_contrib. The build works on my computer in the python...

View Article


Object Measurement using OpenCV and Raspberry Pi with Python

Hi! I am a school student and I am completely new to OpenCV with python. I want to do Object Measurement using OpenCV and Raspberry Pi as my final project. To start with, what is the best site to...

View Article

Face detection not working on specific image

I am using the haarcascade_frontalface_default.xml classifier to detect faces in python 3 on Windows 7 with OpenCV 3.1.0 using the following code: import cv2 import sys classifier =...

View Article

cv2.VideoCapture() works on python 2 but not on 3, ubuntu 16.04, opencv v3.2.0

I got a OpenCV 3.2.0 on an Ubuntu 16.04. When this code is executed with Python 2.7.12 it works like a charm. In exactly the same code with Python 3.5.2, cv2.VideoCapture() returns FALSE. import cv2...

View Article


faceCascade.detectMultiScale error

I want to test face detection, An error occurs. Please help me python-3.6.1-amd64.exe numpy-1.12.1+mkl-cp36-cp36m-win_amd64.whl opencv_python-3.2.0-cp36-cp36m-win_amd64.whl...

View Article

Question about resizing and cropping

https://snag.gy/DOdZBc.jpg First: I have an image that I want to adjust the resolution of to a set resolution with a desired scale to ratio around the head.. currently i have this going widthO, heightO...

View Article

Using trained file for predictions

Hello, I am trying to create a way to recognize faces. In one file the code generates a trainner.yml. Then in another file I am trying to load the file so then it can (when it detects there is a face)...

View Article


Detecting 16 squares in a live video in Python

Hi; I am trying to detect all squares colors in a picture below -but in a live video-. By using simple blob detector, the program can get 16 squares most of the time and gets color values mostly...

View Article


Thresholding multiple RGB values in Python

Trying to extract three RGB values - (255, 255, 0) - (0, 0, 255) - (255, 0, 0) via thresholding in a live video, but couldn't make it work by using inRange. How can it be done? Not asking for code...

View Article

Which one is the faster between Python and Java for OpenCV?

Which one do you choose? And Why?

View Article

Successfully built opencv 3.3.0 but no cv2.so found

under ubuntu 14.04. The cmake commands are: `cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_CUDA=ON -D ENABLE_FAST_MATH=1 -D CUDA_FAST_MATH=1 -D WITH_CUBLAS=1 -D...

View Article

Sub-pixel estimation with match template

Hello guys, I am trying to make particle image velocimetry using OpenCV and I have a few questions. Does Matchtemplate module take care of subpixel estimation? I have two images filled with particles...

View Article


Adaptive Bilateral Filter in OpenCV 3 ?

Why hasn't Adaptive Bilateral Filter still been in built into OpenCV 3?? No Adaptive Filter here -> [OpenCV 3.0](http://docs.opencv.org/3.0-beta/modules/imgproc/doc/filtering.html) [OpenCV...

View Article

Using minAreaRect with contour in Python

I'm attempting to use OpenCV to identify and extract a fairly obvious region from an image. So far, by using a threshold and a series of dilations and erosions, I can successfully find the contour for...

View Article


Dilation not working

I have a distance transformed image and I have to return an image in which each pixel is assigned a highest value in the neighbourhood using a 3x3 grid. I am using morphological Dilation for that, but...

View Article

Visual Studio 2017 doesn't have auto complete (OpenCV and Python)

I installed whole *Python development workload* category in Visual Studio 2017 but I have a problem. I don't know if this is a Visual Studio problem or OpenCV library problem or `numpy` problem. I...

View Article


import 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 Article

rotation-Bicubic resampling -using OpenCV python

Hey ! I am trying to rotate an image using cv2.getRotationMatrix2D(center, angle, scale) . dst = cv2.warpAffine(img,M,(cols,rows)) how do I manipulate the interpolation method? I would like to use...

View Article

Python OpenCV Code to C++

I found some code in python to prepare an image for scanning using opencv. This code works, but now I want to covert it to objective c++ (or c++) to implement its use on the IOS devices. I converted...

View Article
Browsing all 2088 articles
Browse latest View live