Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Browsing all 19555 articles
Browse latest View live

Getting started with OpenCV and Lego Mindstorms

Hello First off ... sorry for the noob question ... but I have searched the OpenCV forums and the Internet on this topic ... and have not found much reliable information on the topic I am working on a...

View Article


Optical flow based Obstacle Avoidance

Hello everyone , i am trying to build a obstacle avoiding robot with monocular vision and want to use the optical flow from the camera to make it take decisions and avoid some static obstacles in a...

View Article


Blue screen when using VideoCapture

I'm accessing the front and back cameras of my surface pro 4. When I run my code the program usually get stuck at the following line and I get a bluescreen after a while. std::VideoCapture vidCap(1);...

View Article

Svm and java

hi first time using Opencv 3 my question is how to train a SVM whit HOG as parameter in java all the example i have found are in C++ . thx

View Article

Error using SFM with Python

Hello, I am trying to use the SFM opencv contrib module with python3. After dealing with a couple of problems, I can now access to all the SFM functions from python3, e.g. help(cv2.sfm) shows all the...

View Article


adding pupil detection

Hello guys, I am beginner at Opencv.I found eye regions via haar and cropped them.However , now I am trying to find pupils. Do you have any suggestion to how to add pupil detection on those codes?...

View Article

documentation about compile and cmake definitions

Hi, I just found to enable QT and opengl I need add -DWITH_QT=ON, for example something like: cmake -DWITH_QT=ON -DBUILD_EXAMPLES=ON -DINSTALL_C_EXAMPLES=ON -DINSTALL_PYTHON_EXAMPLES=ON...

View Article

inRange() bounds : in agreement with the color space used with cvtColor() ?

Good evening, I'm trying to use [inRange()](http://docs.opencv.org/3.1.0/d2/de8/group__core__array.html#ga48af0ab51e36436c5d04340e036ce981) function, in line with...

View Article


Python OpenCV Kalman Filter, How to set the initial position ?

I tried setting statePre, and statePost variables to desired initial position but it has no effect. The initial position is always (0,0). Thank you

View Article


Why calculated Fps is more than the actual Fps?

I have created an application in Android using CamerBridgeViewBase to access camera. The application detects face and eyes in the captured frames. For some reasons I added a method to calculate Fps....

View Article

cv::Scalar color with transparent

Hi, > My question is it possible to draw> rectangular/circle above image with> transparent color let's say> transparent green (see water> molecules) using cv::scalar? if not is> there...

View Article

Is it safe converting to a Mat itself with different type?

The following code can be compiled without error. However, is it safe doing this? Mat im = imread('test.jpg', CV_LOAD_IMAGE_GRAYSCALE); im.convertTo(im, CV_32F1);

View Article

Mat from width*height*4 bytes BGRA Buffer

Hey guys. Instead of wasting more time I decided to ask those people who already know a nice answer to my question ; ) I'm using the Chromium Embedded Framework off-screen rendering which provides me...

View Article


I cannot find FastBilateralStereo source code

S. Mattoccia, S. Giardino, A. Gambini Accurate and efficient cost aggregation strategy for stereo correspondence based on approximated joint bilateral filtering Asian Conference on Computer Vision...

View Article

OpenCV Error When Train ANN_MLP

i want train neural network to classify two type of images but when train network this error occurred : OpenCV Error: Bad argument (output training data should be a floating-point matrix with the...

View Article


how to install opencv contrib on mac

So i need opencv contrib, and i use home-brew to install. Home-brew also has the option to do --with-contrib. I see the contrib directory but only a couple of files in there, no face.pp

View Article

double free or corruption (!prev) c++ opencv

I'm implementing a method that decomposes the images,it takes an image as input and returns many images as output called BEMCs.Here is my main function where I try to return just the first BEMC : int...

View Article


OpenCV iOS seamlessClone function gives memory error

I'm trying to use seamlessClone OpenCV function on iOS, but I'm always getting an EXC_BAD_ADDRESS error. Here it is the code: Mat output; seamlessClone(warped_frame, backgroundFrame, warped_mask,...

View Article

Opencv samples crash. (directx-example-d3d11_interop.exe)

Hello, everyone. There are some problems with OpenCV, which I hope you could help me to solve. I compiled OpenCV for Windows 10 x86_64, and now I try to run some samples. How I did that? I configured...

View Article

How to merge multi RGB channel to a new Mat

I am trying to grab a frame from my camera which provides raw image in Bayer 8bit format, I am converting it to RGB 8bit channel using cvtColor and make red, green, blue Mat using CV_8UC3 as splitting...

View Article
Browsing all 19555 articles
Browse latest View live


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