Error static function 'bool pyopencv_to not defined
Hi. I've tried to compile opencv 3.4.5 for using nonfree (xfeatures2d). but I can't solve this problem. please help me. 1. OS : windows 10 64bit 2. compiler : visual studio 2017 community (set:...
View Articlepython: how to compute the sharpness features of image
I am extracting the sharpness features of image as shown in the following image mentioned in a paper.  I have done with the following code. Firstly, use the...
View Articlepython: how to compute the sharpness features of image
I am extracting the sharpness features of image as shown in the following image mentioned in a paper.  I have done with the following code. Firstly, use the...
View Articlecuda::DescriptorMatcher::knnMatch runs in differ
I want to use cuda::DescriptorMatcher::knnMatch to speed up my feature match.But the running time of cuda::DescriptorMatcher::knnMatch with different format input is different. First, if I construct a...
View ArticleOpenCV crashes after playing a video... help.. please!
I am going thru the tutorials to learn OpenCV. And I have a problem. When I run this code: import cv2 cap = cv2.VideoCapture('C:\\Users\\wg\\174037210.avi') while(cap.isOpened()): ret, frame =...
View ArticleGetting c runtime error?
Hello all, During running the program getting error of Microsoft Visual Studio C Runtime Library has detected a fatal error in test.exe. Please suggest how to resolve. Thanks
View ArticleHow can I draw the x,y, and z axis of a aruco marker and know the distance...
Hello, I ran the marker_detection.exe and the aruco markers were successfully detected by passing arguments " marker_detection.exe --ci=1 -d=10". But what kind of arguments should I pass to draw the...
View ArticleInstall gstreamer support for opencv python package
I am having trouble enabling gstreamer support for the opencv python package (cv2). gstreamer1.0 is running fine as a standalone and I have manually built the cv2 python package from the OpenCV...
View ArticleBlack glow when exposure blending
I have used opencv library in iOS to creat exposure blending of 3 images also 11 images If there is a light source like a brightl light or bright light from windows , it will cause a black glow around...
View ArticleLSH matching very slow
Hey guys and girls, I'm testing a recognition pipeline using ORB descriptors. I recently changed the matcher from bruteforce to flann, using the new LSH index. Unfortunately the LSH matching is about...
View ArticleCapture Rectangle Image From WebCam In String to Send It To Server
Below is my Code classifier.detectMultiScale(gray, faces, 1.1, 3, 0); // draw faces. for (let i = 0; i < faces.size(); ++i) { let face = faces.get(i); let point1 = new cv.Point(face.x, face.y); let...
View ArticleHow to remove text from manga page?
I'm working on a projet of colorization of Black and white manga pages and I'm having some troubles with the text in the different areas of the page. Specifically, i'm interested in removing the text...
View ArticleDoes Opencv js has support for connected components. If so how to use it?
Does OpenCV.js has support for connected components. If so how to use it? Also I only have this nightly build link of Opencv js. So does it work in it. https://docs.opencv.org/master/opencv.js
View ArticleLong Distance object detection
I want to detect objects - any object at long distances. To do so, I would like to use several high-powered lasers, with each beam separated by a degree or two. I would flash the lasers and turn them...
View Articleerrors on running FAST algorithm on corner detection
Could any one provide a example python script to test FAST algorithm on corner detection? When I run below example python script from opencv-python tutorial, I get a error "TypeError: Required...
View ArticleOpencv-dnn's erformance declined significantly on Android with JNI
My OpenCV-dnn shared lib program running in an Android APP through JNI is 2x slower than the original standalone executable binary. Its CPU usage is halved. BTW, the aarch is armv8a here. .so lib and...
View ArticleOpencv-dnn's erformance declined significantly on Android with JNI
My OpenCV-dnn shared lib program running in an Android APP through JNI is 2x slower than the original standalone executable binary. Its CPU usage is halved. BTW, the aarch is armv8a here. .so lib and...
View ArticleHow to reduce noise from technical drawings?
I receive some technical drawings from my co-worker. It is scanned. Some lines in that have noise as the following image:   it is a project written with tensorflow and keras. Enviroment : win7 x64 visual studio 2015 opencv 4.0.1...
View Article