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

Qt5 + opencv invalid pointer

Dear all, I spent the whole day to solve a weird problem. Qt5 and opencv can work independently. when I put opencv code into the qtcreater, bugs come. *** Error in...

View Article


segmentation fault

this code can work the image size 256x256, but not work on 4096x4096. I really confuse where get problem. the img.at(i,j) should not access invalid memory address. void dustHighValue(Mat & img,...

View Article


Convert Ptr to Ptr

Hi to everyone! Is there any way to make a convertion from FaceRecognizer to BasicFaceRecognizer type in OpenCv 3.1?When i am trying to build a project, compiler show me the error: Cannot convert from...

View Article

How to define a function using image as the input argument

Hello, I am new to opencv so I ask a simple question. I want to define a function using the image as the input argument. How should I define it? Like`void compute(int a , char b)`. If the image is...

View Article

compile error when using make: error: ‘struct AVFrame’ has no member named...

My system is centos 6.7 I am installing opencv according the official web: http://docs.opencv.org/3.1.0/dd/dd5/tutorial_py_setup_in_fedora.html. I installed all the dependencies successfully, and type...

View Article


Cygwin/ARM cross-compile cmake not able to compile a simple test program

I've been struggling with this all day. Under cygwin I get the result shown below. I tried a DOS command line approach as well with the same result. As near as I can tell, the scratch directories and...

View Article

with opengl condition, compilation failedICH

I tried to compile opencv 3.1.0 with OpenGL condition. But it failed; [...] CMakeFiles/example_gpu_opengl.dir/opengl.cpp.o: In function `draw(void*)': opengl.cpp:(.text._Z4drawPv+0x21): undefined...

View Article

Return what element the mouse pointer are on?

I build a rectangle detector and it return the four rectangle edges x,y coordinate. so the out put is like the attached picture and file [C:\fakepath\opencv.png](/upfiles/14531096286126189.png)...

View Article


Opencv Blur doesn't take padding BORDER_WRAP?

I am writing a function that uses BLUR with variable padding, however the function crashes if I use BORDER_WRAP (works fine for other padding types). Is this by design or a code issue? Has anyone...

View Article


cv2.VideoCapture(1) error.

I am using OpenCV 2.4.10 and python 2.7.9 I am trying to capture video from builtin webcam (Toshiba ,Windows 7) . I am using this code import numpy as np import cv2 cap = cv2.VideoCapture(1) print...

View Article

Why is boundary detected as a contour?

![image description](/upfiles/14531071295243714.png) ![after threshold](/upfiles/14531127609820423.png) If the function is looking for white obstacles, then yes it makes sense that boundary is...

View Article

How to follow a line while moving in (x,y) plane?

In short what i want is to follow a line like the guy in this video: https://www.youtube.com/watch?v=iHiasfAE63k He talked a little bit about his algorithm in the description and in the comment...

View Article

cv::Tracker roi size

i am trying out cv::Tracker using tutorial_introduction_to_tracker.cpp, and comparing the prepackaged algorithns (MIL, BOOSTING, MEDIANFLOW, TLD, KCF). In all but TLD, the size of the ROI bounding box...

View Article


Procedure To Migrate From One Net Host To One other?

Web enterprise is all about money, hardwork and smartwork, that is why, a lot of people always love to go along with the identical. Nonetheless, if in case you have a web site that is extraordinarily...

View Article

LINK : fatal error LNK1181: cannot open input file...

i try to create opencv 2.4.6 libaraty to visual studio 2110.i follow the instructions in http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html#windows-installation....

View Article


Convert from GpuMat to Mat

I have a little piece of code that try to convert a Mat to GpuMat and reverse. When I try to upload the Mat in GpuMat with "upload" function, it breaks. If I go next step in the debug the size of...

View Article

Unable to run end_to_endrecognition.cpp written by lluiz gomez

Hiii all of u..Iam creating a project on text recognition of natural images.I have installed eclipse juno 4.2 of 32 bit along with cygwin and opencv .When a created a c++ project and copied the code...

View Article


Error when launch opencv_traincascade : _cascadeDirName or _bgfileName or...

Hello, I work with OpenCV on a mac book pro running on version 10.11.2 (15C50)- latest one. I successfully ran the first stage : opencv_createsamples -img FianetLogo.jpg –num 10 -vec Fianet.vec...

View Article

Capturing and saving/manipulating a single frame from a camera.

Hi there, What I am trying to do sounds pretty basic to me, I just can't quite do it. I saw code online showing how to connect to the camera and stream through it, so I thought, maybe I'll just take...

View Article

@file SURF_FlannMatcher and OpenCV 3.0.0 do not link

Hi I am relatively new to OpenCV. I program C++ in Vis Studio 2013 and use Cuda 6.5. I found FlannMatcher algorithm as presented on OpenCV as a good tool for parts of what I need to do. It took me 3...

View Article
Browsing all 41027 articles
Browse latest View live


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