Questions tagged as 'opencv'

2
answers

Proportions of an image resized with OpenCV?

I have a project where I need to identify objects in an image, I am currently using the OpenCV library in C ++. I used the warpPerspective() function of OpenCV on a 605x141 size image to resize its perspective to a 674x35 size image. When...
asked by 10.09.2016 / 18:41
1
answer

Build OpencvBlobsLib in Windows environment

How to run the OpenCVBlobsLib library compilation in Microsoft Visual Studio 2013 (works in earlier versions)     
asked by 26.12.2014 / 13:20
1
answer

setting an array element with a sequence

I have a program in python and opencv that reads an image and then checks the colors of the image in each position of two% nested%. Since I am doing for in the image to make it easier to verify, it will return a binary image. And I can no...
asked by 05.01.2019 / 19:25
1
answer

Error finding the center of an OpenCV Python object

Hello, I'm studying opencv to use in a drone and while I was implementing a code from a tutorial that detected objects and drew a circle in the center of it, and for that you should get half the dimensions x+w and y+h only the probl...
asked by 19.06.2018 / 23:14
1
answer

PYTHON - How do I know if there is an object on the screen from a reference?

Basically I was wondering if there is a possibility of knowing if there is an object on the screen from a reference Example: There is a generic program on the screen that displays a closed padlock, and when you do an action the padlock is dis...
asked by 08.02.2018 / 19:26
1
answer

I wanted to improve the performance of my program

Good afternoon, I'm currently creating an interface for an application, but I'm having a problem with the function I created. def contornos(self): self.im = cv2.imread(self.imagem) im_copia = self.im.copy() imagem_cinza = cv2....
asked by 14.02.2017 / 19:01
1
answer

Capture webcam images every 1 second using JavaCV

A particular programmer is doing a project where the default webcam takes pictures every 1 second using JavaCV. For now, in this code, at the click of the capture button it captures a photo and saves it in the program folder. It asks the prog...
asked by 04.11.2016 / 13:47
1
answer

Capture webcam image and save every 1 second?

I'm doing a project where the default webcam takes photos every 1 second using opencv. In my code, to the click of the capture button you select the folder where you want and it captures a photo. I need to loop him so he can capture photos and s...
asked by 05.10.2016 / 13:51
1
answer

QT - Display WebCam on a QLabel using another Thread?

Hello, I'm doing a project in C ++ using GUI QT. In the project in question I need to display images of a camera in the window, but in doing so, the performance of the window is very compromised, all other buttons and features that it includes i...
asked by 03.08.2016 / 17:44
1
answer

OpenCV Error: Assertion failed (ssize.area () 0)

I'm having the following error with the OpenCV library in Java: OpenCV Error: Assertion failed (ssize.area ()> 0) in cv :: resize, file ........ \ opencv \ modules \ imgproc \ src \ imgwarp.cpp, line 1834 p> Code: Mat img = new Mat();...
asked by 24.10.2014 / 04:06