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

Trainning SVM using HOG feature

I am trying to train SVM to predict the traffic sign, but I always get the same predict result for difference input image. Can anyone explain why for me? Here is my code: vector < Mat >...

View Article


Can't build opencv headers and libraries in eclipse CDT luna + windows

Hi I've followed all the steps in [this](http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html) up to the point that I need to build the project and get the headers and...

View Article


How to read an image from an array character ?

i have and array containing file name (number) without the extension (.jpg) as an example - [ 1, 0, 14; 3. 0, 10; 4. 2, 15] in this first column represent the file name. how can i load first image and...

View Article

PCA + SVM ?

Hi, I am trying to reduce the dimensionality of my feature set using PCA and then classification using SVM. I have created and populated my feature matrix and label matrix : Mat labels(875, 1,...

View Article

Calibration with findCirclesGrid - trouble with pattern width/height

Hi, I'm calibrating a GoPro Hero 4. I have calibrated using chessboard pattern. I would like to see if I can get a better calibration with the circles instead. However I'm having some problems...

View Article


AttributeError: 'module' object has no attribute 'BackgroundSubtractorMOG'

hello , I'm new to opencv and i'm trying to do back ground subtraction example but there is an error AttributeError: 'module' object has no attribute 'BackgroundSubtractorMOG' and it appears also with...

View Article

getDaimlerPeopleDetector vs. getPeopleDetector48x96 vs. custom SVM

Long-time lurker- first time poster... first off let me say what a great forum for new OpenCV developers like myself. It's been invaluable. Keep it up- you may not think people actually use your...

View Article

How to Blur a Rect[] with OpenCV Java

i'm trying to blur the faces detected by the webcam. This is the code to draw the rectangle. this.faceCascade.detectMultiScale(grayFrame, faces,1.1,2,0 | Objdetect.CASCADE_SCALE_IMAGE,new...

View Article


how can i subtract backgrounds ?

Hello , i'm new to opencv and i'm trying to do background subtraction example in tutorial but it seems there is an error 'module' object has no attribute 'backgroundsubtractorgmg' any suggestion for...

View Article


Tracking forward/backward movement of camera

Hi Gurus, Is there a way to track the movement of the camera in a markerless room? Direction of movement is determined by a headtracking device. Basically I just need a value for: Camera Movement: 1)...

View Article

Mac freezes when setting full screen

Hello Xcode 7.3.1, Mac OS X 10.11.5, OpenCV 2.4.13, MacBook Pro When attempting to show an image in full screen the program stops running (lines after the one below don't seem to run), and the screen...

View Article

Use full retina resolution on OSX

Hello Working in Xcode, Mac OS X 10.11.5, OpenCV 2.4.13 When openCV shows an image on my MacBook Pro with retina display: namedWindow( wndName, CV_WINDOW_NORMAL ); imshow( wndName, img ); it seems to...

View Article

How to plot the Precision-Recall Curve (PRC) for a Cascade classifier correctly?

I am following OpenCV 3 Blueprints' Chapter 5 Object Detection for Industrial Applications by Steven Puttenams https://www.packtpub.com/application-development/opencv-3-blueprints The training was...

View Article


Source code for BackgroundSubtractorMOG2 ?

I am looking for the source code for the BackgroundSubtractorMOG2 function. I am looking for the python version. I already found the 'C' version of it at...

View Article

imshow() very slow

Xcode, Mac OS X 10.11.5, OpenCV 2.4.13, C++ I am showing images from vector, with the aim to flip through them as fast as possible: for (int i = 0; i < imgs.size(); i++) { imshow( wndName, imgs[i]);...

View Article


Homography transformation

I've X and Y components of original and smooth trajectories saved in following matrices, whose rows corresponds to frame number and columns corresponds to features. Mr -> X components of original...

View Article

How can I use the gpu.class in eclipse?

I have the program code in eclipse like this: public class TestforGPU { public static void main(String[] args) { System.loadLibrary(Core.NATIVE_LIBRARY_NAME);...

View Article


Image may be NSFW.
Clik here to view.

Different sort Of Disability Scooters To pick From

There are durable and lightweight scooters. The sturdy scooters are excellent to take outdoors and to circumnavigate town with. They are more resilient due to the fact that they are sturdy. Have a look...

View Article

RTrees::setCalculateVarImportance(true) has impact on training?

Hi all My understanding of calculating the variable importance is that this is a diagnostic feature only. However, I get reproducibly different training results if it is activated. Am I wrong? Thanks...

View Article

Problem using connectedComponents() in opencv 3 using Visual Studio 2012

Every time I try to use connectedComponents() function of opencv in my program, the execution of the program gets Aborted with error code R6010. This is what i get on the terminal **OpenCV Error:...

View Article
Browsing all 19555 articles
Browse latest View live


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