Why is my knn network is so bad ?
Hello everyone ! I used a k-Nearest Neighbors algorithm (knn) and I trained it with the MNIST [database](http://yann.lecun.com/exdb/mnist/) Here is the code for the training: Ptr getKnn() { Ptr...
View ArticlePredicting MLP with single sample
I have trained MLP as shown in the code below to classify images into 4 classes. My class labels are `1,2,3,4`.This trains the model successfully but it thorws an Exception **vector out of range**...
View ArticlePicture and Samples Sizes opencv_traincascade
Hello OpenCV Community, i know there are millions Questions and Answers to the topic opencv_traincascade and i read and searched as much as i could. But i am still not sure about this, so I would like...
View Articlecamera_params convert to CV_32F: what is it for in stitching_detailed.cpp
Hello! I am practicing the stitching_detailed.cpp tutorial from itseez opencv latest repository. At one point, this conversion is called: for (size_t i = 0; i < cameras.size(); ++i) { Mat R;...
View ArticleGpuMat type varibale declaration "int type" significance
From [Reference](http://docs.opencv.org/3.0-beta/modules/cuda/doc/data_structures.html) its given that //! constructs GpuMat of the specified size and type GpuMat(int rows, int cols, int type);...
View ArticleGetting error "The called functionality is disabled for current build or...
I was running the sample code video_reader.cpp from "samples/gpu". Mine is Ubuntu 16.04 with Opencv3.1.0 and with CUDA8.0 enabled. While running the code I got the below error . OpenCV Error: The...
View ArticleError while building OpenCV from github on Mac OSX Mavericks
I am a beginner in OpenCV, using OpenCV 3.1.0 (downloaded from OpenCV.org) with Mac OS X 10.9.5 and Xcode 6.2 I was trying to run a code which needs contrib.hpp, then I found the [extra modules from...
View ArticleCan imencode() encode a large .bmp image?
I use imencode() method to put the header for the .bmp image. For an image with 20x20 pixels is working but for an image with 400x400 pixels is not working. There is no error when I use large .bmp....
View Article[Solved] find all the cards that are above and their center
Here is my situation .... it is only an example, I do not work with static image, I work with camera capture, but the strategy to use to get the result is very similar... **input :** ![image...
View ArticleHow can i get the brisk's scale?
Hello, I'm trying to extract the scale from brisk's descriptors, but i don't know exactly how. I've already get the keypoints and the descriptors from my image. I saw in another posts that I can get...
View ArticleHow to detect closing of namedWindow by mouse or ALT+F4
I have this simple code for showing an image from the command line: int main(int argc, char* argv[]) { int retStatus = -1; if(argc < 2) { std::cout << "Please provide a path to on image!"...
View ArticleExporting video from image sequence
Hey guys, So I'm working on a project that involves the user outputting a series of images that I would like to combine into a single video. Right now, these images are exported as HDR files, but I...
View ArticleOpenCV cheap stereo camera can't load both streams at once
I have purchased an [ELP-1MP2CAM001][1] which shows up as two webcam devices on Windows. If I open the Windwos default "Camera" app and Skype I can display the feeds from both the left and right...
View ArticleError at template matching in Python
I'm trying to template matching using my web cam.I used web cam feed as source and used a template as small image that taken from web cam. Both template and source have same bit depth.(uint8). ![same...
View ArticleHow to use cv::flann (radiusSearch) to find all neighbouring points within...
I have a std::vector of a couple million points (cv::Point2d) and I'd like to find, for every point, all other points within a 2 pixel radius. Since my project already requires OpenCV, I thought it...
View ArticleLose Fat And Develop Muscle-- Evaluated And Proven Methods
If you would like to learn how to lose fat around your arms with ease, then you have come to the right place. The good news is that losing fat around the arms is very simple and anybody can do the...
View ArticleHow to Come to be a Stock exchange Brilliant
Stock exchange trading is incredibly popular amongst investors. Nevertheless, ups and downs in the marketplace make numerous financiers hesitant to enter the stock market trading. Everyone understands...
View ArticleDemystifying the Saudi Arabian Visa Refine
Are you considering taking a trip to Saudi Arabia in the future? Yet you are unsure just what type of visa you might call for or better yet on the best ways to request a Saudi Visa. This post will...
View ArticleWhat Can Cause Cancer? Genetics
While scientists studied variation in composition and structure historically, research in societal and behavioral science has dedicated to environmental efforts to human alternative. However enjoyable...
View ArticleWhat Does It Mean To Buy The Stock Market?
Investing is a term that is made use of to describe the act of putting money into financial schemes or show the assumption of getting an earnings, when it concerns the stock market, investing ways...
View Article