OpenCV (Open Source Computer Vision) is a cross-platform library of programming functions for real time computer vision. It was officially launched by Intel in 1999 and is now supported by Willow Garage. Uses include: Human-Computer Interaction; Object Identification, Segmentation and ...
0
votes
0answers
15 views
Nested samples in machine learning training in OpenCV
I've been messing around with with Neural Networks (MLP) OpenCV
and I have a problem, I have sets of coordinates
[[x1, y1], [x2, y2] .. [xn, yn]],
[[x1, y1], [x2, y2] .. [xn, yn]],
[[x1, y1], [x2, ...
2
votes
1answer
14 views
cv::Mat matrix, HOW TO Reduce digits to the right of the decimal point in cv::Mat?
I have an app that prints a 3x3 cv::Mat on the iPhone screen. I need to reduce the decimals, as the screen is not so big, see:
[1.004596557012473, -0.003116992336797859, 5.936915104939593;
...
-1
votes
0answers
9 views
iOS Drawing detection with Open CV [closed]
I need to extract pixels of a drawing drawn on a solid colored paper. First user will take a picture of this drawing with a camera and use the JPG/PNG image as input to the app.
It is going to be an ...
-1
votes
0answers
33 views
How to overlay multiple images on a template in C++ [closed]
So i'm trying to convert a PHP program I wrote to c++, and in PHP overlaying images is as simple as using the:
imagecreatefrompng
imagealphablending
imagecopy
features. However, when it comes to ...
0
votes
1answer
27 views
Removing blobs from a binary image
I have a binary image which contain few blobs.
I want to remove blobs which are less than a certain are.
Can any one suggest me a way?
I am using Open-CV. i did dilation and erosion to get those ...
0
votes
0answers
10 views
Disable the removal of keypoints near borders with GridAdapter?
I am using the GridAdaptedFeatureDetector( ... ) with ORB to have a better distribution of keypoints.
The bad thing is that when you apply a grid all the points near the grid will get eliminated ...
1
vote
2answers
24 views
OpenCV: How to get the number of pixels?
How to get the number of pixels in an image? Following is my code, and I need to get the total number of pixels in Mat "m".
int main()
{
Mat m = imread("C:/Users/Public/Pictures/Sample ...
0
votes
1answer
13 views
cvGetSize gives bad argument error
I'm trying to reduce the glare and light reflections from an image to then continue with some more image processing. I found a snippet of code online that supposedly works to select pixels in a range ...
1
vote
0answers
26 views
Opencv naive image match
I'm using OpenCV/EmguCV to perform a naive matching procedure. I've two images, img1 and img2, and I enumerate the translations and rotations of img1, and match against img2 to find the optimal ...
0
votes
1answer
20 views
Anyone knows how to convert a cv::Mat into a NSString?
I am using OpenCV in a iPhone project. In this application, I receive a 3x3 matrix from the Opencv function an need to transform it into a NSString. For example:
cv::Mat myMatrix = ...
4
votes
3answers
73 views
getting the type of parameters passed in a variable arguments list
I have written a function with variable argument list
void cvShowMatImages( char* title, int nArgs, ...) // Mat Images
where the argument to pass are openCV images.
I have actually 2 different ...
0
votes
0answers
20 views
OpenCV Haar Detection problems
I'm trying to use the haar Cascade Classifier to find a face in an image and extract its center point , bit it seems to be not working with a certain set of images include the one below:
...
0
votes
1answer
22 views
what is the 4 char id for mpeg decoder in opencv
I want to create a mpeg4 stream whith the following specs:
Container mp4.mov m4v
Resolution 1920 X 1080
Codec h264 main profile 4.1
I am wondering what CV_FOURCC and file extension should I use?
...
0
votes
0answers
39 views
color object tracking in openCV keeps detecting the skin
What I intend to do is as follows:
Fix a colored object. Track it across video frames using histogram-backprojection approach with camshift. I use the following code and it always ends up detecting ...
-1
votes
1answer
41 views
OpenCV vs Core Image [closed]
I have worked with Core Image, creating filters and stuff. Also I'm aware that Core Image has feature detection capability.
I have also worked a bit with OpenCV, but not on a mobile device. Used it ...