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

Opencv_traincascade failing on precalculation for negatives

I have tried several times now to use opencv_traincascade (using vc12 and vc11 from Windows build), but I keep running into the error: BEGIN POS count : consumed 40 : 40 Train dataset for temp stage...

View Article


Some function is not recognize, opencv3

Dear everyone, I am using opencv3 in visual studio, I have successful in configure step. But some basic functions are not recognized as the attached image. ![image...

View Article


min max is not a member of std

Hello, I'm having problems trying to decode h264 video from IP camera, after some search I found it's because ffmpeg, so I downloaded the latest ffmpeg, and tried to link it to openCV but it still...

View Article

ubuntu 16.10, OpenCV build fails - stdlib.h missing

Hello, I'm trying to build OpenCV on Ubuntu 16.10. The build process is interrupted with the error shown below. Obviously the file "/usr/include/c++/6/stdlib.h" exists in my system. I have tried this...

View Article

I was compiling a sample but am getting these errors in visual studio 2015...

'ConsoleApplication2.exe' (Win32): Loaded 'C:\Users\cartc.DESKTOP-U10DILR\Documents\Visual Studio 2015\Projects\ConsoleApplication2\x64\Debug\ConsoleApplication2.exe'. Symbols loaded....

View Article


Stitching Images, error code 1

Hi, I have a simple code of stitching image. int main() { Mat pano; vector imgs; imgs.push_back ( imread ("2.jpg",CV_LOAD_IMAGE_COLOR)); imgs.push_back ( imread ("3.jpg",CV_LOAD_IMAGE_COLOR));...

View Article

Issues with Visual Studio 2013 and 3.2

When in debug mode, I get the errors cannot open source file "opencv2/core.hpp" cannot open source file "opencv2/imgcodecs.hpp" cannot open source file "opencv2/highgui.hpp" With the sample code. In...

View Article

Can't find opencv.hpp, however it is not installed in /usr/include/

Context: I am a new Ubuntu 16.04 user and I am trying to get OpenCV running on my system. I had some problems downloading and installing OpenCV with CUDA installed, so I used the solution as proposed...

View Article


Error (undefined reference to 'main') in the eclipse CDT setup tutorial

Hi! I am trying to work through the "Using OpenCV with Eclipse (plugin CDT)" tutorial on this site I keep getting an error when I build the the project as is stated in the tutorial. The output is: ****...

View Article


Trying to compile character_recognition.cpp

Hi, i've just installed opencv 3.2 and tesseract module. Now i'm tryng to compile the character_recognition.cpp sample in the opencv_contrib folder. If I use the command "pkg-config --cflags --libs...

View Article

I cant extract opencv3.2.0 android-sdk

I want to use open cv in android studio so I download opencv3.2.0 android-sdk but when I extract it make an error : "the archive is corrupt" . I use windows 10 , and I extract with winrar and 7zip .

View Article

why are mat operators seeing wrong type?

I'm at a loss here, why does my code crash with the error: OpenCV Error: Assertion failed (type == B.type() && (type == CV_32FC1 || type == CV_64FC1 || type == CV_32FC2 || type == CV_64FC2)) in...

View Article

namedWindow fails to display graphics if minimised immediately on creation

Since upgrading to OpenCV 3.2 from 2.4.3 (I believe it was around that), a window created using OpenCV fails to display any graphics if minimised immediately after creation, even if it is brought back...

View Article


How can I fix this?

Python 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information.>>> import cv2>>> print...

View Article

Createsamples.exe: Error Code -9

Hi there, as I finished creating my info.txt file containg the absolute paths to the images and the rectangle information of my desired objects to be detected, I just ran opencv_createsamples.exe...

View Article


image reading error

error: ..\..\..\..\opencv\modules\imgproc\src\color.cpp:3739: error: (-215) scn == 3 || scn == 4 in function cv::cvtColor Help me out.

View Article

NoneType attribute error, no object shape & omxplayer unable to play video

Hello, I'm trying to get the following working # import the necessary packages from __future__ import print_function from imutils.video import VideoStream import numpy as np import argparse import...

View Article


Installation Error

hi, i'm trying to install the OpenCV on windows 7 but I'm reaching an error which says mutex and thread is not a member of std. I've downloaded both opencv and it's contribs and unzipped them in the...

View Article

i cannot use python opencv

when i type import cv2,error occurs like this : ** ImportError: /usr/local/lib/python2.7/dist-packages/cv2.so: undefined symbol:_Z13pyopencv_fromIN2cv4MatxIdLi4ELi4EEEEP7_objectRKT_...

View Article

How to solve this error ?error:...

import numpy as np import cv2 import thread, winsound face_cascade =...

View Article
Browsing all 322 articles
Browse latest View live