Removing translation from double camera facing the same direction
Hi all, I have a project for Android with which I take an image from the main camera as well as the "depth camera". The only problem is that the actual sensors are placed few centimeters away from...
View ArticlefindCirclesGrid can't find sub-pattern with hollow insides
I'm trying to find a unique 2x2 hollow center sub-pattern inside a circle grid pattern. Using "detect", generates keypoints that indicate that the hollow circles are detected correctly, but the 2x2...
View ArticleHow to enable Windows media foundation hardware acceleration on opencv.
Hi, My OpenCV application uses cv::CAP_MSMF flag for cv::VideoCapture, and in getBuildInformation() is added below. Is the application uses the Windows Media Foundation Hardware acceleration? or do I...
View ArticleParsing error (Unsupported activation: relu) in ReadDarknetFromCfgStream
Hi. i used opencv 3.4.8 and alexnet.weights and alexnet.cfg. when i want to load it this error happen. i want to ask you why opencv not work with all dnn model correctly ? it have worked with yolo3...
View ArticleCreating simple custom librarys using the opencv library
Can I create a simple custom library using the opencv library? Could you please tell me a similar sample? The language used is c++.
View ArticleOpencv_contrib - Surface matching issue
Hi everyone, I have an issue with using surface matching module. Now the example with [parasaurolophus_6700.ply and...
View ArticleHow to avoid potential noise after Canny?
I have a time averaged grayscale frame of a video:  I applied Canny edge detector to that frame, but sometimes there is noise like this:...
View Articleerrors when building opencv 4.5.0 wit extra modules using Mingw
please help!!!! I I am building opencv with extra modules for java using Mingw and cmake , and get some errors in the console what can be the reason !!!! 
View Articletvec and coordinate systems q
The output of solvePnp tvec and rvec: is tvec in world coordinates? I am guessing it is b/c the chessboard calibration is in mm. Second, what is tvec measuring from-to?
View ArticleError building opencv with extra modules in Visual Studio 2013
I have configured and generated opencv 4.5.0 with extra modules on CMAKE successfully. However, when building this project in Visual Studio I get several errors. Below, you could find: small sample of...
View Articlecv::dnn::blobFromImage() works in python but fails in c++
I am using opencv dnn.Net with the same network and with the same image in python and C++. While in python everything is ok, in C++ I get an access violation error from an opencv.dll. Here is my code...
View Articlepre-built OpenCv with extra modules for java
For two weeks, I have been trying to add extra modules especially face module to opencv without success,can I find pre-built OpenCv for java somewhere?? please if someone could help me with a link or...
View ArticleConvert a Video.mp4 in a 2D Matrix where each row represents a frame
Hello, as explained in the title, i want to upload a video in python (import cv2) and then find a way to represent this video as 2D-array video_matrix. The rows of video_matrix are equal to the total...
View ArticleReal-time webcam stream very slow with pixel manipulation
I am trying to write a script to manipulate video from a webcam. I am trying to do this through OpenCV with Python, but I am running into some issues. If I run the video capture stream with no pixel...
View ArticleHow to find the location of a point in an image in millimeters using camera...
I am using a standard 640x480 webcam. I have done Camera calibration in OpenCV in Python 3. This the Code I am using. The code is working and giving me the **Camera Matrix** and **Distortion...
View Articleopencv-python:Using Opencv my WebCam is not open
Hey! I found this warning [ WARN:0] global C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-6sxsq0tp\opencv\modules\videoio\src\cap_msmf.cpp (435)...
View Articleimshow no window on Mac Big Sur with Python
Ive recently upgraded to Big Sur, and also Python 3.9. and opencv 4.4.0.46 (latest) Now my imshow does not show anything. I can see the python launcher running, but no window appears. I am currently...
View ArticleHow can I track the disappearance of a TV logo in a certain area in a frame...
Hi! I have a TV logo image and a rect where the logo is placed on almost all video frames. But there are also frames where the logo completely disappears (at least 10 consecutive seconds of running...
View ArticleConverting image to grayscale
hi a newbie in python and opencv here.i tried to convert a picture from coloured to grayscale but it has an error,eventhou i take that code from youtube and all of my friends tried it and it work.i...
View ArticleTV logo detection in a video file
Hi! I am trying to detect a TV channel logo in a video. My aim is to classify commercial and video portions (commercials don't have TV logo). I also don't have any templates of TV logos, so I think I...
View Article