Questions tagged as 'opencv'

1
answer

Problem with Running Watershed Distance Transform in OpenCV 4.0.0

I'm working on an object detection project. I use OpenCV 4.0.0 and codeblocks 16.01 on Ubuntu 18.04.1. I'm testing the watershed distance transform technique using the code in this tutorial: link I just modified the path to my test image...
asked by 26.11.2018 / 04:27
1
answer

License Plate Recognition - OpenCV - Tesseract [closed]

I'm doing a TCC with the subject of auto plate recognition. I encountered a problem using the pytesseract.image_to_string function. This function should convert image to string. I tried to create a smartdata using JTESSBOXEDITOR and th...
asked by 29.10.2018 / 20:45
1
answer

Color detection and telling which color is appearing

How could it be done so that when the predominant color in the video appears a message saying which is the predominant color? Example: an object appears in the red video capture, so a message should appear saying that the predominant color is...
asked by 17.10.2018 / 17:09
1
answer

Script to recognize similarity between images

Good Afternoon Personal, okay? I'm starting my studies in Python set to OpenCV, and I want to perform the reading of images and display the degree of similarity between them. Ex: I have a database with several images, I will give the scrip...
asked by 12.09.2018 / 17:49
1
answer

OpenCV error in Python:

Good Afternoon Personal, okay? I'm looking to learn about Face Detection in Python using OpenCV, I installed all the necessary libs, however, when running the file I come across the following error: import cv2 import numpy as np face_casca...
asked by 10.09.2018 / 20:43
1
answer

how do I detect on which side the object is if I draw a line the middle

My friends, I'm discovering computer vision. I'm programmed in python and wanted to know how I do to identify in which position the object is in relation to a line drawn in the middle of the screen. Being more direct, if a line is in the middle...
asked by 23.07.2018 / 18:29
1
answer

How to show image in OpenCV?

I would like to take a part of an image to play it in an array pass some kind of filter on it manually (without using the OpenCV functions) and show the result in a window to the user. For this I want to use only the imread functions to o...
asked by 17.07.2017 / 15:09
1
answer

Function Parameters CvRTrees :: train () - OpenCV / C ++

Hello I need to use the CvRTrees::train() function of OpenCV, but I do not quite understand the parameters used. To help, the site has no documentation on the parameters of this function. The function specification is: bool CvDTre...
asked by 05.01.2016 / 18:15
2
answers

Connect DCS-932L D-Link Camera with opencv

I'm trying to connect the OpenCV with a D-Link DCS-932L IP camera. IP, password, user and port are correct, but nothing works. I believe the error is in relation to the format of the URL. Below is the code. public static void main(String args[...
asked by 18.12.2014 / 18:32
1
answer

Command that replaces time.sleep?

I'm doing a program that does the detection of color and object formats with a camera, when the format and the color are set, the program controls the GPIOS in which I connected a relay module. The problem I am having is that when I use the time...
asked by 19.12.2018 / 06:27