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

opencv 3.1 ffmpeg should I do shared enable

SO I'm installing opencv 3.1 for c++ use on Ubuntu 16.04 on Rpi 3 opencv with gcc 4.9. In some tutorials they recommend to build ffmpeg from source with shared enable and disable static flag. In others...

View Article


how 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 Article


OpenCV C++ in Android Studio

**Context:** I'm using OpenCV for a Unity project. I already made a simple .dll plugin to wrap the C++ code I use to fit my needs on Editor / PC. Now I need a .so or .jar plugin to do the same for...

View Article

Not able to extract text from attached image

![image description](/upfiles/14755746846274595.jpg) Hi All, I'm new to openCV. From colored image first I did smoothening of the image and then I converted the image to greyscale, but still, I'm not...

View Article

Calculate length between 2 points in c++

I need to calculate length of lines(number of pixels along the path) from a point until a terminal point. terminal point is a point which either ends or which has more than one line starting from that...

View Article


Convert from RGB to YUYV in OpenCV

Is there a way to convert from RGB to YUYV (YUY 4:2:2) format? I noted that OpenCV has reverse operation, but not RGB to YUYV for some reason. Maybe someone can point to code which does that (even...

View Article

Detect circlues using Circular Hough transform does not work correct

I would like to detect circular objects using OpenCV and Circular Hough transform (HoughCircles). In the image I have 3 circles, but Im only able to detect one (or two of them) when set up the...

View Article

WebCam using error with opencv and c++

There is a c++ code for capturing from webcam. This is a code. #include #include #include using namespace std; using namespace cv; int main(int argc, const char *argv[]) { VideoCapture vid(0);...

View Article


Detect not regular rectangular object does not work correct

I would like to detect not regular rectangular objects using OpenCV and approxPolyDP function. In the image I have 4 windows that can be approximate as rectangular contour using the approxPolyDP. But...

View Article


OpenCV 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 Article

Adding nonfree module

Hello, I am having difficulties to build in nonfree module to my opencv. Is there any other way to do it not using cmake?

View Article

Can Microsoft visual c++ 6.0 work with all 0pencv versions or not ?

I have tried different versions of opencv with Microsoft visual c++ 6.0. Some simple projects can work ok with Opencv version like 2.x.x but some projects don't. I am installing Opencv by Using the...

View Article

getting rvec wrong pose estimation fails

I'm using the function solvePnP to estimate the pose of my robot by visual markers. Some times I get wrong results in two consecutives frames. In the file problem.cpp you can see one of these results....

View Article


Operator overloads not working with vector

Hi All, I have posted this on linuxquestion.org and have posted the link here. http://www.linuxquestions.org/questions/programming-9/opencv-error-4175591196/ For your convenience I'll place the...

View Article

Opencv 3.0 and GCC 5.3 and later support

My ubuntu version is 16.04 LTI and I am going to install Opencv 3.0 in that machine. While doing the installation I came across a bug report in the link [link...

View Article


Problem with alpha-trimmed filter

I am trying to make an alphatrimmed filter in openCV library. My code is not working properly and the resultant image is not looking as image after filtering. The filter should work in the following...

View Article

run stereo vision on a stereo video data using open cv

Hi, I am new to openCV and want to run stereo vision on a stereo video data using openCV+visual studio. I want to show results by using color keys for disparities. Does any one know from where to...

View Article


text extraction from image

I am able to detect text i.e getting bounding boxes around the text. but i want to segment detected text from background. How can we do that???

View Article

ConjGradSolver: how to properly use setFunction to avoid assertion failure?

I'm using cv::ConjGradSolver in OpenCV 3.0 and I'm facing a failure in a debug assertion when exiting the scope of my function. Here is my minimal (not) working code: void Fitting() { TorusFunction...

View Article

Cross Validation and hyperparameter optimization

I recently started using the machine learning library of opencv . I implemented the Random forest algorithm using it. Now I want to do cross validation and hyper-parameter optimization using Grid...

View Article
Browsing all 600 articles
Browse latest View live