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

Does OpenCV help in getting not just images, but sound etc?

Does OpenCV help in getting not just images, but sound etc? I'm building AI and putting it in a robot and need to get images, sounds, accelometer's senses, feel senses.

View Article


Why is my copyTo function Not copying the mask to the correct Mat?

I started with the following image, named `rgbaMat4Mask.bmp`: [![enter image description here][1]][1] Then I converted it to HSV, and then did `inRange()` to find contours, and got the following `Mat`...

View Article


Does OpenCV support GDAL for writing?

I noticed that there's an example that uses GDAL for reading here https://github.com/Itseez/opencv/blob/master/samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp , which is very cool, but what do...

View Article

detection and rect

hello! I'm trying a program that I find on web. This program do a people detect. I have a little problem and I think that this is very trivial. Below I Post the code but I have problem on each...

View Article

Is ICR (Intelligent character Recognition ) is possible using opencv 2.*

Hi, i am trying to create ICR but i am not sure whether opencv 2.4.* versions will support those features. if any suggestions about icr using opencv please let me know. thankyou

View Article


Why is pointPolygonTest() method of OpenCV4Android returning -1 for every pixel?

In the following code, I have carried out the following steps: 1. Loaded an image from sdcard. [![enter image description here][1]][1] 2. Converted it to HSV format. 3. Used `inRange` function to mask...

View Article

Distribute Opencv java project?

Forgive the newbie question - Eclipse 3.8 Ubuntu 14.04 - java project runs under Eclipse a-ok. I would like to export to production and distribute .jar to other linux users. However, what I am reading...

View Article

Is there a function to see if a polygon is contained within another polygon?

I need to test to see if a polygon is contained within another polygon. Right now I'm just iterating through the points in one polygon and calling `pointPolygonTest()` on each one. I'm wondering if...

View Article


compareHist problem, type != CV_32F

I'm trying to compare card bitmaps in an android application. The error I'm getting is: OpenCV Error: Assertion failed (H1.type() == H2.type() && H1.type() == CV_32F) in double...

View Article


How do I remove unwanted background edges for my ANPR project

Here is the binary image of the Canny filtered image. (Gaussian Blur 7x7) ![image description](/upfiles/14527113895172693.png) I just need the License plate or any other text if present in the...

View Article

A raw format for testing purposes?

Hi, For adding some unit tests, I would like to create some image files in raw format. So, that I can load them later from for use in a test harness. imwrite can't save in raw format. what format do I...

View Article

Why pixels can have float values?

Hello, This may be a simple question, but i wonder why pixel values can have float values? I'm tracking a target and get the mass center with contours() and moments() method and if i want i can get...

View Article

Unable to store stort[] array in Matrix object : OpenCV Java

Hi, I am trying to store a short[1280*1024] 1D array in Mat object and and trying to create an image out of it. Below is code: Mat mat1=new Mat(); mat1.create(1280, 1024, CvType.CV_16UC1);...

View Article


CvSVM.get_default_grid() missing in Java?

Hi, I've noticed that in the Java documentation for version 2.4.2: http://docs.opencv.org/java/2.4.2/index.html?org/opencv/ml/CvSVM.html There exist a function to get the default parameter grid for...

View Article

Imgproc.cvtColor or Imgproc.demosaicing for Bayer to RGB conversion in OpenCV...

Hi, I would like to know : 1)What is the difference between Imgproc.cvtColor(mat1, mat2, Imgproc.COLOR_BayerBG2RGB) and Imgproc.demosaicing(mat1, mat2,Imgproc.COLOR_BayerBG2RGB) when doing conversion...

View Article


The No Frills Guide To Easy Camping

Something as seemingly simple as camping might appear as though little planning is necessary. This isn't the entire case. The better planning you do, the more pleasurable you could have. The tips below...

View Article

fisheye camea calibration

hello, I can't get correct image from following code. Could you find where are problems in my code. thanks, int main(int argc, char** argv) { Mat frame = imread("fisheye_img.jpg"); Size boardSize;...

View Article


opencv videocapture lag

hi everybody, we have implemented a colour detection, as can be seen in the attached code. the problem is, that when moving the object, that shall be detected, reveils a delay of about 3 seconds. we...

View Article

Camera Flash with OpenCV3.0.0 Android not working767

I'm writing a code using OpenCV VIDEO PROCESSING, and i want to open the camera flash when first opening the camera. i have implemented a new class that is extended from JavaCameraView but the app...

View Article

How to track a letter T

I want to use Contour Matching. I need compute coordinate of center and rotation angle of contour. Contour Matching is Hu Moment, and are there more algorithm? For coordinate of center, only use...

View Article
Browsing all 41027 articles
Browse latest View live


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