How hard is it to only extract specific class and functions?
OpenCV have many modules in which I only need a few classes and functions. I know I can only build libs like core, highgui, imageproc by turning on these Macro and off all other Macro when build libs...
View ArticleHow can I export each image match using a template in opencv?
I need to export each match template in diferents images for example. In this url there is an example about how to draw the border of the match....
View Articlecv2.error: OpenCV(4.1.0)...
(While running this code I am getting this error , I am using windows10 Pro 6bit OS) import numpy as np import cv2 img = cv2.imread('messi5.jpg',0) cv2.imshow('image',img) k = cv2.waitKey(0) if k ==...
View ArticleUnable to load image in Visual studio c++
I have just set up open cv4.1.0 with visual studio 2019 on windows 10. My simple code for loading the image is as under main() { Mat imag; // LOAD image imag = imread("D:\\image1.png",0); // Read the...
View ArticleClassification with machine learning and a small database
Hello, I want to create a valve detection and classification like this video : https://www.youtube.com/watch?v=VY92fqmSdfA To detect the positions ***Open*** and ***close*** and ***intermediate***. I...
View ArticleNo opencv jar file created in build/bin
I've followed the instructions as mentioned in the official docs here: https://opencv-java-tutorials.readthedocs.io/en/latest/01-installing-opencv-for-java.html#install-opencv-3-x-under-linux I'm...
View ArticleHow to make dull text bold
Text on my image is dull and sparse in some places. How can I make it bolder and how can I join sparse regions on letter? (red circles on the second image)  ![I...
View ArticleVideoCapture.isOpened() is always returning false
I'm new to openCV and I'm having trouble with VideoCapture.isOpened() always returning false. I've seen other posts that have similar problems, but I'm not managing to make headway towards a solution...
View ArticleCan not imread ASCII-based PBM, PGM, PPM
How can I read from Python `cv2` module nad `imread` function any of the ASCII-based netpbm formats? All of these fail for me i.e . returned for `img` is `None`: img = cv2.imread('F:\\a.pbm') img =...
View Articleippverion.h, ipp.h not found while building using 'make'
Hi, I am trying to compile a piece of code taken from github, that requires opencv header files. During compilation I got stuck. In the terminal I find ` fatal error: ippversion.h: No such file or...
View ArticleThe dependencies of each opencv module
OpenCV has 35 modules, is there a documenting elaborating the dependencies for each of them? Thanks a lot. I will select only a new modules and include all the dependencies(3rd party headers and libs)...
View ArticleCan I remove unwanted modules from the modules folder and build an OpenCV...
The list of modules I have in the modules folder is: core highgui imgcodecs imgproc CMakeLists.txt I need to build only these modules. What are the steps required to do it for iOS and Android?
View ArticleCan I build OpenCV using CMake without extra modules?
I want to build only 4 main modules in the opencv source directory.
View ArticleHow to load SVM .xml file
Hello guys, I have an Android project that uses the face detection feature (Cascade Classifier). After recognizing the face, I classify it with trained SVM(the training is done in C++). It works well...
View ArticleHow to create a image matrix of pixels showing there value
Hi I have a project where I would like to zoom in on an EOI (pointed to by mouse) on a displayed image and have a pop up image of say 21 x 21 pixels around the EOI showing their value and and color...
View ArticleDetect bends in connector on PCB board
Hi, I have a problem with detecting the bends in connectors on a PCB board.So far, I have tried but the USB webcam cannot detect the bends in connectors. Have anyone did similar project and can share...
View ArticleDetect Closed loop through from the image
Hi, I am trying to detect the closed loop within the attached images and mentioned below code I am able to draw contours of closed loop and I need to detect the closed-loop contour Image 1 Without any...
View ArticleImplementing cvtColor
I need to convert RGB to LAB color space and this operation needs to be done parallelly for all pixels. The main issue is that I couldn't find a proper implementation from OpenCV's code. After trying...
View Article[Android] How to show a camera processed frame before finish onCameraFrame...
Hi guys, working with Aruco markers in an OpenCV an android app, I need to know if there is some way to show in the screen a frame captured with the mobilephone camera, before ending the onCameraFrame...
View ArticleOpenCV + CUDA installation on Windows
We have trouble installing opencv with cuda in Windows environment. Need help Windows : 7 Cmake : 3.14.5 Cuda Toolkit Version: 10.1 or 9.2 Visual Studio: 2017 community or 2015 community OpenCv:...
View Article