Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Browsing all 4615 articles
Browse latest View live
↧

Get HSV and RGB values of an image

im trying to get RGB values of an image. which i can get Min(R-G-B),Med(R-G-B),Max(R-G-B) also i want to get the HSV of RGB with same format HSVMIN(R-G-B), HSVMED(R-G-B), HSVMAX(R-G-B).

View Article


Geeting error while reading the xml file.

Hi , I am getting the error while reading the xml file. The error message is.."duplicate key". I have attached read and write function and screenshot of xml file.![image...

View Article


i want to use my usb camera in raspberry pi and i have written this code ,...

import cv2,io,imutils import numpy from imutils.video import VideoStream print("Starting Camera...........") webcam = VideoStream(0).start() webcam.resolution = (640, 320) detector=...

View Article

Check for metamers in an image (using C++)

How do I check how many metamers on my image using OpenCV & C++ ? For example in this picture, what I'm trying to do is find out that box in no 1 & 5 are metamers, also box no. 3 & 6. So...

View Article

Opening an OpenCV window in a Windows Runtime component (C++) for a UWP app

I'm stuck with some linker errors when trying to call the imshow function in my WinRT component for a UWP app. The component simply calls imshow after a type conversion on the file name string, which...

View Article


Error msg intalling opencv Python on window

Hi ,I am new to OpenCV. I am trying to install opencv-python for Windows. I literally followed instruction from this link: https://docs.opencv.org/3.2.0/d5/de5/tutorial_py_setup_in_windows.html When I...

View Article

opencv cmake issue

I used to compile from vc12 or msvstudio12 2013,, i like using vc12 because it only needs the basic files, like msvcp120.dll and msvcr120.dll in which in could be run or open from windows XP. so,...

View Article

How do I find a vertical line in a image?

My current project is to use OpenCV and a webcam to follow a line with the Lego Mindstorm EV3. That would be black tape on a light background. I have a test image (white left, black right) that I can...

View Article


How to warp image with predefined homography matrix in OpenCV?

I am trying to set predefined values to homography and then use function warpPerspective that will warp my image. First i used findHomography function and displayed result: H = findHomography(obj,...

View Article


How can i use mask created by background substraction algorithm to see the...

I have used the back ground substraction algorithm to create a mas k of moving object now i need to crop the actual image showing only moving object and save it in pc. How can it be done. winName=...

View Article

Integrate OpenCV with Sikulli

Hi, Is it possible to integrate OpenCV with Sikulli? I have an image which detected a button with MSER method. And i want to use that image with that button to increase the size of the button with...

View Article

Training and Test images must be of equal size! OpenCV Crash iOS

I am using the fisher face recognizer. When I call the predict function the app crashes. This is what it says in the logs... Face DetectedOpenCV(3.4.0-dev) Error: Bad argument (Wrong input image size....

View Article

How to run background process for accessing camera and image processing with...

I have learned how we can do image processing in Android with Open-CV but normally we have to extend Activity for doing so. I have gone through the 15-Puzzle Sample Game, is there a way where we can...

View Article


Saving Clusters in OpenCV

I'm using OpenCV with Python 3.6. Suppose I have this [this black-white binary image](https://i.stack.imgur.com/j2paS.png), which shows 10 white blobs on a black background. Is it possible to save each...

View Article

Why do we get different predictions when using java and python(dnn)?

When using the python language at the output of a neural network, I get an array consisting of numbers from 0 to 5. For example: ...[3 3 3 ... 1 1 1] [3 3 3 ... 1 1 1] [3 3 3 ... 1 1 1]... When using...

View Article


Using ORB image recognition

Hello, I have to create a traffic sign detector (in python)which detect,distinguish three sort pf panels (turn right,left ,stop) and show the distance between the vehicle and the sign. I don't know how...

View Article

How can i set mouse callbacks to different windows with python

I am working on a project that will require me to have two OpenCV windows,i want to set callbacks for the different windows,how do i go about it using python

View Article


Template matching not finding all image occurrences

I am not getting 100% result in template matching. If the match pertcentage is 95, it will not show all the target image found. It will show few matches and skip others. I checked the area that missed,...

View Article

How to do Nightly Build to the OpenCV for Windows?

I'm new to this OpenCV Library. I would like to know **how to do the nightly building process** for the *Opencv* code in *windows*. I have been checking with this to work on? But i don't get any...

View Article

Function to find joint probability and conditional probability in OpenCV

Is there any built-in function to find Joint Probability and Conditional Probability of images in OpenCV! What does the function "CalcProbDensity" does? OpenCV documentation explanation says divide...

View Article
Browsing all 4615 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>