Questions tagged as 'opencv'

1
answer

How to correctly add the EmguCV libraries to C #?

According to I already have the Emgu.CV libraries added in the root folder of the project, but when I compile it sends me the following error: As if the libraries were not added ... see photo. This is the image of the added references:...
asked by 25.10.2018 / 21:59
0
answers

Show only the desired items - OpenCV

The thing is that I've wanted to show the elements that interest me. Let me explain, I have applied a threshold to only see completely white elements. (Having previously applied a gray filter) _,threshold_frame = cv2.threshold(gray,2...
asked by 07.10.2018 / 17:49
0
answers

Web service with Flask to access external device cameras

At this moment I have with the code that I am using, I create a web service with Flask with which I access the webcam of my laptop. Python code: from flask import Flask, render_template, Response import cv2 app = Flask(__name__) @app.rou...
asked by 02.10.2018 / 02:56
0
answers

Error in the recognition script.py

I have an error when executing the promo code.py, I'm doing facial recognition, I already capture the faces I want the problem is the error in a line and honestly I do not know how to fix attached image and the script made in python waiting for...
asked by 28.08.2018 / 18:40
3
answers

Define correctly a variable to be read in all parts of the code

Good I have this code and I am not clear what parameters I have to pass to the function or which to return. It returns an error that "grayFrame" is not defined. I do not understand if I have to declare it in another way or in another place....
asked by 24.08.2018 / 12:11
0
answers

A gray image appears when a c ++ photo is shown in a window

the truth I just started with opencv and I have a problem is that when I send an image print send me an error in imshow ("image", image); and says this "Unhandled exception in 0x00007FFEBEE3A388 in PhotosOpenCV.exe: Microsoft C ++ exception: cv...
asked by 11.08.2018 / 06:35
1
answer

How to extract the classes found in a real-time capture of object detction with the APi of tensorflow?

Good day, what I want to achieve is to extract in real time the labels of the objects detected in the videocamera to be able to store them in a txt or xml or json. Does anyone have an idea of how I can do it? I'm using python 3.6 with the...
asked by 10.08.2018 / 16:29
0
answers

python - TypeError: Required argument 'flags' (pos 2) not found

My code is for a program that is activated by facial recognition to add two numbers, and shows the result with my voice, but on the line of an audio that appears the following message TypeError: Required argument 'flags' (pos 2) not found...
asked by 09.07.2018 / 04:29
0
answers

Pixel distances depending on contour

I have a binary image in opencv where the outline of an object is shown. My boss told me that there is a function in OpenCV that measures the minimum distance between all the pixels of the image and the outline, could someone tell me what that f...
asked by 12.06.2018 / 15:47
0
answers

Convert grayscale image minus one color using python and opencv

I need to pass a grayscale image avoiding modifying any particular color, for example red objects, does someone help me out how I could do it? Thank you very much in advance Greetings     
asked by 30.05.2018 / 00:20