Error building opencv 3.3.0 Windows 10 Cmake 3.10
I was trying to build opencv to use in Code::Blocks following this guide: link: https://kevinhughes.ca/tutorials/opencv-install-on-windows-with-codeblocks-and-mingw. While building, I got the...
View Articlefor below code I'm getting this error: OpenCV(3.4.1)...
import cv2 import numpy as np facedetect=cv2.CascadeClassifier('haarcascade_frontalface_default.xml'); cam=cv2.VideoCapture(1); while(True): retval,img=cam.read();...
View Article"opencv\sources\modules\core\src\matrix.cpp:284: error: (-215) 0
Hi, I've faced a problem. Whenever, I let this code be at the end of my program, it executes to the end without any problem. Mat drawing2 = Mat::zeros( drawing.size(), CV_8UC1 ); fill_holes(drawing,...
View ArticleI am getting this error please help and I have all the ways to resolve it
 OpenCV(3.4.1) Error: Unknown error code -49 (Input file is empty) in cvOpenFileStorage, file...
View ArticleOpenCV 3.3.0 Build error - AVX2 code throwing assembly messages
I am building a baseline OpenCV 3.3.0 for a CentOS 6.9 x86_64 Intel i5 650 @ 3.2GHz. I am not a sudoer. After running:cmake -D CMAKE_INSTALL_PREFIX=/home/user/lib/opencv330/build/install -D...
View ArticleSingular Value Decomposition (SVD) with opencv
Hi, I am using SVD for my algorithm and the decomposition is done by this instruction: const int N= 16; Mat x= (Mat_(N, N)<< 23, 24, 24, 23, 22.5, 21.5, 20, 20, 19, 20, 22, 23, 23, 23.5, 24,...
View ArticleError wnen installing OpenCV from source
When I am doing ``make``, I am getting the following error `` /home/srisankethu/Desktop/opencv-3.4.3/modules/videoio/src/cap_dc1394_v2.cpp:58:10: fatal error: dc1394/dc1394.h: No such file or directory...
View Articleerror compilation openCV
[ 0%] Built target gen-pkgconfig [ 2%] Built target zlib [ 6%] Built target libjpeg [ 9%] Built target libtiff [ 19%] Built target libwebp [ 22%] Built target libjasper [ 24%] Built target libpng [...
View ArticleSuppress, hide or disable the error/warning messages
I was wondering if there was a way to suppress, hide or disable the error or warning messages outputted to the screen? I think they come from FFMpeg and they either show up as follows: CASE 1:...
View Articleinstalling opencv with visual studio 2017
So, I was attempting to install OpenCV using Pre-built libraries per Bernát Gábor's tutorial. The last step is to set the OpenCV environment variable and add it to the path of the system. I had two...
View ArticleError 'module' object has no attribute 'TrackerMIL_create'
OpenCV 3.4 Python 2.7 My code: import cv2 import numpy as np from datetime import datetime import time now = datetime.now() i=0 cap= cv2.VideoCapture(0); fourcc = cv2.VideoWriter_fourcc(*'XVID') out=...
View ArticleErrors when trying to make Samples
Attempting to install OpenCV 3.4.3 on Linux Ubuntu 16.04. When I go to "make" the samples I get the following: Scanning dependencies of target example_tutorial_how_to_use_OpenCV_parallel_for_ [ 25%]...
View Articlewhen I run the below code, I take below error. Can you help me ?
import cv2 import numpy as np image = cv2.imread('yüz1.jpg') faceCascade = cv2.CascadeClassifier('haarcascade_frontalface_default.xml') greyImage = cv2.cvtColor(image,cv2.COLOR_BGR2GRAY) faces =...
View Articlelibpng warning: Image width is zero in IHDR
Hi, when i run my first OpenCV application in Java i receive that message from compiler: Running DetectFaceDemo Detected 0 faces Writing faceDetection.png *libpng warning: Image width is zero in IHDR...
View ArticleIncorrect reading of Jpeg2000 images with unstandard encoding
Hi, I am trying to read Jpeg2000 images with an unstandard 15-bit encoding in Python. More precisely I am trying to read Sentinel-2 L1C satellite images provided by ESA. I am using the following code...
View ArticleTried to compile tracker from tutorial and got error "‘Tracker’ was not...
Tried to compile tracker https://docs.opencv.org/3.1.0/d2/d0a/tutorial_introduction_to_tracker.html and got error "/home/vioh/tracker2/tracker2.cpp: In function ‘int main(int, char**)’:...
View ArticleI got a error "Incorrect type of self (must be 'Feature2D' or its...
import cv2 as cv import numpy as np im = cv.imread("mini.jpg", cv.IMREAD_GRAYSCALE) detector = cv.SimpleBlobDetector() keypoints = detector.detect(im) im_with_keypoints = cv.drawKeypoints(im,...
View Articlejava.lang.UnsatisfiedLinkError: Cannot find dependent libraries
Some `Windows 7` users cannot use the Java bindings. For more information see the following links: https://github.com/opencv/opencv/issues/13012 https://stackoverflow.com/questions/53100890/ Thank you...
View ArticleError loading image 7656x6619
im trying to load 2 images of 150MB and i cant load it someone can helme please? this is my code, i don´t have errors Mat imageRed = imread("images/OrtoImagenTest/band(3).tif",...
View ArticleNeural Network in OpenCV 3.1.0
Hello everyone! I am currently trying to get OpenCV's neural network module running, unluckily so far with less success. Initialization and training works fine (at least as far as I can verify it) but...
View Article