Questions tagged as 'opencv'

1
answer

Problems opening c ++ software on another PC

I'm developing software in c ++ using Visual Studio 2015, and I'm using two external libraries OPENCV and FlyCapture2. I developed the software and it runs normally on my computer, but at the time of moving to another computer it says it is miss...
asked by 12.04.2017 / 16:36
1
answer

How to identify whether or not the area of an object is within another area desired by the user, drawn by mouse

Hello! I recently started to venture into the OpenCV library in C ++. Today, I want to create a program that applies a classifier in a polygon ROI (5 points), obtained through 5 clicks with the mouse on the cam image. The classifier can only sta...
asked by 13.02.2017 / 00:44
1
answer

Python OpenCV - Error while using drawing function

I've been able to run this code before, but now it does not work. He needs to draw a square on the video screen. Error:    Traceback (most recent call last):      File "/home/ggoulart/PycharmProjects/INTPYT_HandTracker/Main.py", line 13, i...
asked by 20.06.2016 / 18:44
0
answers

Error Undefined reference to Symbol

Good morning I'm studying the Opencv library for computational view in Ubuntu 14.04 I'm using Eclipse Mars.2 programming in C ++. The following error appears:    ./ image.o: undefined reference to symbol   '_ZN2cv6imreadERKNS_6StringEi' M...
asked by 25.05.2016 / 15:39
0
answers

heap corruption compiling an opencv project

void trackFilteredObject(int &x, int &y, Mat threshold, Mat &cameraFeed) { Mat temp; threshold.copyTo(temp); //these two vectors needed for output of findContours vector< vector<Point> > contours; vector<Vec4i> hiera...
asked by 06.04.2016 / 03:50
1
answer

OpenCV training help

In a process of creating a haarcascade, I performed the procedures according to the tutorials of the OpenCV library and arrived at the result of a vector with the number of 70 positive images named positives.vec . The vector is being generate...
asked by 06.09.2017 / 02:45
1
answer

Capture images to create a database

import cv2 import numpy as np classificador = cv2.CascadeClassifier("haarcascade_frontalface_default.xml") classificadorOlho = cv2.CascadeClassifier("haarcascade_eye.xml") camera = cv2.VideoCapture(0) amostra=1 numeroAmostra=20 id=input('Digit...
asked by 31.05.2018 / 07:35
1
answer

Image / icone / figure recognition on the computer screen itself in python

I'm starting to study image recognition, I've even messed with OpenCV I've done some basic face recognition tests and some objects that already come in the library, I'd like to capture the screen instead of a webcam to locate something on the sc...
asked by 17.08.2018 / 18:37
1
answer

I'm doing a test with opencv and python but the code below does not return anything ... Can someone help me by seeing if there is an error?

import numpy as np import cv2 cap = cv2.VideoCapture('peopleCounter.avi') #Open video file while(cap.isOpened()): ret, frame = cap.read() #read a frame try: cv2.imshow('Frame',frame) frame2 = frame except:...
asked by 31.03.2018 / 03:25
1
answer

How to solve the module error not found? (Installing opencv-python)

I installed opencv-python by Anaconda, but when I try to import it, the error is displayed: DLL load failed: Não foi possível encontrar o módulo especificado. Any ideas?     
asked by 07.12.2018 / 23:58