Questions tagged as 'opencv'

1
answer

Speak which is the predominant color

Example: If the predominant color is red or red, a print appears saying it is red. The code works and returns a value in RGB, which I'm not getting and say which is the predominant color, Example: when the code returns the value in example: R...
asked by 31.10.2018 / 14:14
0
answers

Create samples of various positive images OpenCV

I'm creating a cascade haar to find a part of the eye, but I can not create the image samples. I have a file containing the path to all positive images and one to all negative, but at the time of putting the parameter of opencv_createsamples...
asked by 02.10.2018 / 18:15
0
answers

Define sections in a color recognition program

I'm working on a project, which will be my CBT next year. I'm learning from the Python language, and for the time being I've had some progress. I was reading about computer vision, but I still have some doubts. I was able to formalize a program...
asked by 28.07.2018 / 01:54
0
answers

Problem running main components

Hello, I'm running an algorithm for classifying objects in an image. At the moment I need to determine the obejto the center coordinates to calculate the diameter and apply compactness. The part of the code that does this is: cv::Point enco...
asked by 21.06.2018 / 20:48
0
answers

How can I use the OpenCL functions available in OpenCV?

I'm creating a program in Python, which often ends up requiring more CPU and I've researched how to use the GPU for processing. The OpenCL bases I found had C ++-only examples, and still not very explanatory. In those days I discovered that from...
asked by 07.05.2018 / 19:49
0
answers

Load a DLL from within a jar

Hello, I'm currently working on a project where I need to create an API in Java for image processing and after that I have to integrate it into a Mobile module and a web module. But when I tried to do the first integration, an error occurred w...
asked by 18.08.2017 / 22:52
0
answers

How to zoom in an image with opencv and C ++?

I have to program an algorithm to zoom in on an image without using the opencv tools, but I can not do it. How to zoom in an image using for loops? Mat img = imread("copo.jpg", CV_LOAD_IMAGE_COLOR); Mat img2 = Mat::zeros(img.size(), CV_8UC3);...
asked by 07.11.2016 / 12:43
0
answers

Real-time facial recognition on Android

Good morning! I'm creating a real-time facial recognition application. The application should compare the video image with a recorded image. In practically all the searches that I did the most suitable to be used was OpenCV . Implement...
asked by 01.11.2016 / 12:37
0
answers

How to capture webcam images in OpenCV in Java?

Hello, I'm a beginner in opencv with java, and my problem is this, I want to capture the real-time image from my webcam and transmit it in a JLabel, however I'm having a problem executing the file, netbeans points the following error:    Excep...
asked by 07.03.2016 / 03:00
0
answers

Convert Bitmap to Mat

Hello, I'm trying to get BLOBS saved in a SQLite database and convert them to Bitmap. After that, I need to convert these Bitmaps to Mat for use with OpenCV. The problem is that when I open the camera (when these photos should be loaded), the ap...
asked by 28.10.2015 / 14:26