VIDIOC_STREAMON: Bad file descriptor opencv 3.0
VIDEOIO ERROR: V4L2: Pixel format of incoming image is unsupported by OpenCV VIDIOC_STREAMON: Bad file descriptor Good news bad news .... I modified mi cap_v4l.cpp file in order to set...
View ArticleOpenCV and Sphinx conflicting types
Hello there. I'm in a project where we use both OpenCV and Pocketsphinx. It happens that when I compile the sources, I get the following errors about conflict types on "prim_type.h" of sphinx base and...
View ArticleHow can I convert Yuv420 to BGR in gpu mode
When I use cv::cvtColor in CPU,cvtColor(yuvImage, rgbImg, COLOR_YUV2BGR_I420);It works well.I can get a correct BGR picture But I want to use gpu accelerate this transform,I use gpu::cvtcolor to...
View ArticleDescriptor extraction algorithms
I am trying to extract the descriptors of some keypoints I have set but I have found that OpenCV 3 by default has only ORB. I don't want to re-build OpenCV to add the other algorithms but I do get...
View ArticleBio-inspired features returns NaNs
Hello, I am using bif function (bif.cpp) from the extra module 'face' of Opencv-3.0.1. When I run the function for a test image, the returned feature vector includes many NaN values. Could you please...
View ArticleExtract area inside rectangle
Hey, i have some Bitmaps in an Android App which always contain some kind of rectangle in the right part of the image. The rectangle is not fully closed tho. Inside this rectangle theres some numbers....
View ArticleJava tests for OpenCV 3.1 desktop
Are there any automated tests included in nightly builds for testing java wrappers? What is the process of contributing tests to OpenCV?
View ArticleHow to initialize a Mat object with zeros
I want to create a Mat object initially initialized with zeros, and i want to avoid doing that using two nested for-loops. is there any alternative solution to the one posted below? **code**:...
View ArticleRaspiCam with OpenCV on pi3
Hi All, Can any one please let me know how you guys are using raspicam with opencv on raspberry pi 3, as far as I know opencv doesn't support raspicam directly. Thanks a lot for your help and support.
View ArticleConvolution of ROI using as border the pixels outside the ROI
Hello, is it possible to calculate the convolution of a ROI of an image and use as border the border of the ROI which is outside the ROI (not included in the ROI)? If yes, how is it calculated? For...
View ArticleHow can we detect idle pixel from video footage using python...?
I am a beginner so can anyone help me in detecting and tracking **idle objects**..
View Articlehow to build custom opencv for android (and test application using c++ client...
Hello. How can I build opencv myself on android such that I can write other native c++ application code that interacts with it? Im using Android studio 2.2 with ndk installed. Most...
View Articleneed to finish the error in the given code ?
import cv2 import numpy as np cap=cv2.VideoCapture(0) while(1): _, img=cap.read() hsv=cv2.cvtColor(img,cv2.COLOR_BGR2HSV) red_lower=np.array([136,87,111],np.uint8)...
View ArticleOpenCV 3.1 Stitch images in order they were taken
I am building an Android app to create panoramas. The user captures a set of images and those images are sent to my native stitch function that was based on...
View ArticleOpenCV stitching - Bundle Ray Adjuster adjusts total rotation to > 360º when...
Hi OpenCV community! I am building an Android app that lets the user take panorama photos horizontally up to 360 degrees. I am currently using a version of the detailed example at:...
View ArticleCascade clasificator JAVA does not load XML
Hi, I have tried first steps with OpenCV and have a problem I need help with. Based on examples I wanted to test face detection. I prepared a simple code that loads a image and should run the...
View ArticleHow save multiple image in a "BOOST_FOREACH" loop
I have written the snippet code below to save multiple images with different names but it doesn't work. Thanks in advance for your help. #include #include #include ........ int nBlur[] = {5, 7, 13};...
View ArticleCascade classifier detect multi scale always returns nothing.
Hi guys, sorry to bother again. But when I run the the detectMultiScale on a trained cascade classifier nothing is ever detect, no rectangles. Weird thing is even with just one stage i get good...
View ArticleSkeleton image
You have any idea on how to evaluate the neighboring pixels to define if there is a junction or triple point in a skeleton binary image ?
View ArticleRegarding understanding Canny's parameters?
I am trying to learn how to make edge detection, so i referred to some tutorials such as the one in [this link](http://opencv-java-tutorials.readthedocs.io/en/latest/07-image-segmentation.html) I...
View Article