OpenCV Fails to Install on Ubuntu 16.10 using ICC and ICPC
Hi all, I'll try to provide as much detail as possible off the bat. I'm using Ubuntu 16.10 with Intel ICC and ICPC installed and I want to compile OpenCV such that it can be run by Caffe. I am using...
View Articlehow to Use KNN for OCR
so iv had this question every where and no answers are provided i am trying to recognize a digit (image)  and the training data set is ![image...
View ArticleIn the Histogram Cost Extractor module, what does the values returned by...
I am using buildcostMatrix function and passing it 2 arguments which are the descriptors of two images. I am getting a matrix of double. But it is very huge and therefore hard to comprehend. Can...
View ArticleOpencv+v4l2 set resolution
Hello, I am using Opencv 2.4.9 on my Raspberry PI2 and I am trying to change the resolution width and height using v4l2 through command line. *command = 'v4l2-ctl -d --set-fmt-video=width= ,height=...
View ArticlePurpose of trained xml file
Hi, I'm dealing with machine learning / deep learning and read a lot about it (how it works, kinds of net structures, kinds of learnings, etc) and read the paper from Paul Viola and Michael Jones...
View ArticlePython3 bindings ubuntu 16.04
I'm having problems running python3 with cv2. When I try to run an script with cv2.namedWindow I get "OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows,...
View Articledebian 8 (jessie) opencv 3.2 python3.4
Hi please note: that i have managed to get this same code to run with python2.7 and 3.6 (anaconda), but for some reason it does not run with python3.4: import cv2 img =...
View ArticleANN_MLP bad argument error
i am going straigt to the point i am doing a neural network and after setting the ANN i get this error saying that > OpenCV Error: Bad argument (input> training data should be a>...
View ArticleHow to load ANN in opencv 3.xxx
i have trained an ANN and saved it. now i want to load it and input images in to it and classify. how can i do this? example code will be so helpful. Thanks
View ArticleFrame Rate Issue
There is a issue I'm facing regarding saving a video. I currently have a camera that can capture up to 120fps. When I recorded a 10s video, the video duration was being cut by half and The video looks...
View ArticleHow to use cpp-tutorial-pnp_detection in real time camera
Hi, I tried to use cpp-tutorial-pnp_detection in opencv sample code. I compile it successfully and can use in the box video, which is provided in opencv master. However, I know...
View ArticleCreating 360 degree spherical panoramas with Stitching Detailed
I want to create spherical panorama image with https://github.com/opencv/opencv/blob/master/samples/cpp/stitching_detailed.cpp. I want to create image like generated by Panotools...
View Articleintellisense stops working after installing opencv via nuget
Hi, I installed opencv using nuget package manager in visual studio 2015, but as soon as it gets installed all code suggestions and error report stops working. Intellisense does not work. If I...
View ArticleHow to find distance between centers of two green boxes?
Hi , I am still beginner in opencv and I have this task : find the distance between the centers of two green boxes using camera. I could be able to find the centers of the boxes but how to find the...
View ArticleStore entries of vector as columns in eigen3 matrix
Hello guys, I'm fairly new to OpenCV and working with C++ in general, so I'm sorry if this seems trivial. The work I've already done is mostly the stuff covered in this tutorial:...
View ArticleANN_MLP recognition
so i have been successful with making ANN_MLP work and output results since i had a problem with the sigmoid not initialized however i am still not sure if there is a problem with having not enough...
View Articlevoid match (const ImageFeatures &features1, const ImageFeatures &features2,...
Can anyone describe each parameter in this function ? What we have to pass for ImageFeatures? Can we use Mat and for MatchesInfo?Please describe what it ouputs(i.e in which format image or vector or...
View ArticleHow to threshold 3 colors using trackbars ?
Hi, I have a task says " Threshold three colours using trackbars. Paint the blobs to corresponding colors." I have created the track bars and they work fine but how can I do this task ? import numpy as...
View ArticleGStreamer + OpenCV using Raspberry Pi + Mac OSX
The current problem I am working on is to send stream from Raspberry Pi to Mac OSX using Gstreamer and extract frames from Gstreamer using OpenCV. Here is my code: Mac: cv::VideoCapture...
View ArticleIs there a way to "tilt" haar cascad for face detection
I'm quite a noob in Opencv . I m using the Haar cascade for face detection . however when i pivot the image it doesn't work any more .how solve this problem .I m using c++
View Article