Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Browsing all 41027 articles
Browse latest View live

Most efficient way to clear an image with C++ interface?

I'm currently porting my old OpenCV C code to the C++ interface of OpenCV 2/3 and I'm not quite sure about some equivalents for old functions. Pretty early I ran into an issue with cvZero. The only...

View Article


Random Forest - Vector subscript out range during training

I am trying OpenCV (3.0) random forest implementation for the first time. The forest->train always throws the "vector subscript out of range error". My code is here, cv::ml::RTrees::Params params =...

View Article


Adding an user defined object to Mat Object

Anyone knows or have some sample code where a user defined object ( for example of a class myClassX) can be added to a mat Object. Example Something like this -> But definitely the below program is...

View Article

Handling unknown scale in structure from motion initialization

I am trying to establish a structure from motion pipeline, and am struggling a bit regarding the initialization/bootstrapping of such a system, more specifically how to handle ambiguous scale...

View Article

Chain code in opencv

Can someone please guide me on how to extraction chain code feature from a hand contour polygon approximation.![image description](/upfiles/1456150005564296.png). I have seen that other people have...

View Article


Simple OpenCV test generates blank image from tutorial

ALL, New to Python and OpenCV - trying to follow the tutorials. Created Python 2.7.11 environments (32b & 64b) with Miniconda Included numpy 1.10.4 & matplotlib 1.5.1 Added opencv (3.1.0)...

View Article

OpenCV Error: Gpu API call (invalid device symbol) in buildPointList_gpu

Hi guys, I followed the instructions from here: http://elinux.org/Jetson/Installing_OpenCV With the exception that I built OpenCV v3.1 and also opencv_contrib. I could run the cpp samples - edges.cpp...

View Article

opencv in Mac using qt creator

Hi I am trying to install opencv in my mac system using qt creator. I have already tried every method to make it work. The opencv in properly installed and I can include the libraries in my program....

View Article


How to use CMT?

I want to use [CMT](https://github.com/gnebehay/CppMT). But I don't understand the program. Are there some examples only with web camera? I try to use the [libCMT](https://github.com/delmottea/libCMT)....

View Article


OpenCV portable

I am trying to work on OpenCV to detect various objects The Problem is i can't use it independently but i have to use it independently. As it relies on many third party DLLs and lib. How and what can...

View Article

Force UMat allocation on CPU?

[Documentation](https://software.intel.com/en-us/articles/opencv-30-architecture-guide-for-intel-inde-opencv) states that >The actual UMat data can be located in a> regular system memory,...

View Article

findContours when image is cut off (part of the object in the image)

I have the following image (many immages of that kind, backgroud vary from image to image, might be dark, or light) ![image description](http://i.imgur.com/XOJ3f7a.jpg) ![image...

View Article

Exposure Fusion createMergeMertens not working in 3.1.0

I have a simple Android application, running proper with OpenCV 3.0.0, but crashing in 3.1.0 with error FATAL signal 11. Is there something wrong in 3.1.0 library ? List images = new ArrayList();...

View Article


Adding fisherface method for Adroid Studio

Hii.. I,m new here, i want to ask some trouble.. i've project, but when i looking for any, i have no answered about adding fisherface method from openCV for Android Studio. Anyone can help me..,...

View Article

About the OpenCV Tests

Regards. I am working with the library OpenCV on Windows. Newly built OpenCV 2.4 using CMake 3.4.2 (cmake-gui). During the configuration step, prior to build of the library, I can see that you can...

View Article


Naming OpenCV target DLLs, when building from source on Windows

Regards. I am working with OpenCV on Windows. Recently, I built OpenCV 2.4 (I used CMake 3.4.2). I only need the core, imgproc and highgui modules, so I built just those modules. I have noticed that...

View Article

Loading a pre-trained KNN classifier - python

I know there is a save command for the KNN classifier, that outputs the model in XML. Is there any corresponding load command to load that model back into python I am using cv2 3.0.0 and Python 2.7

View Article


Calibrate camera rotating LR images

I´ve calibrated my cameras using the standard Calib sample, but the images are both rotated clockwise by about 12 degrees. The cameras are quite well aligned, so I'm puzzled as to why this rotation...

View Article

detect hydraulic part from iPhone camera

I want to detect hydraulic part from the iPhone camera and find 4 major thing: ![image description](/upfiles/1456207073408482.jpg) 1) Length 2) Breadth 3) Height 4) Diameter 5) Thread per inch. Any...

View Article

Can anyone help me in face recognition using C#.net?

I am new in face recognition system. How can I install openCV and run it and use it with .net? Which camera can be best for recognition please suggest a model number.

View Article
Browsing all 41027 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>