Category "opencv"

Remove character-noise with OpenCV/Scikit image

I am having trouble finding an algorithm that could remove those "pixel" noise attached to the letters shown in the image below. I've tried opening functions ho

How to Run Multiple Cameras live in a single window using Python PYQT Desktop?

Here is my code, It's Flashing When I runs it bur working both cameras, Also It is a Very difficult for me to put the camera display correctly one camera on lef

Possible solutions to process two images into one [closed]

Hi Im new to computing vision and I am currently stuck at this problem. I have 2shots of component(One is classing RGB and other is IR) and I

How to connect disjointed lines or edges in images?

I am currently working on lines extraction from a binary image. I initially performed a few image processing steps including threshold segmentation and obtained

Custom distance with FLANN in OpenCV

Is there a way to define our own distance for FLANN tool in OpenCV. This question has been asked here but remains not answered for more than 6 years.

Method to stop QThread that calls OpenCV functions

I have a simple PyQT application which, on press of a "calculate" button calls a long-running function that performs some image processing using OpenCV. To allo

Boost not found when installing dlib, but its actually installed

Im trying to install dlib for few cv2 projects, but I have problems installing it.I made everything without problem but when I wanted to finally do the python s

Raspberry Pi 3 - Video error: select timeout() (Ubuntu)

We are trying to run an object detection program in a Raspberry Pi 3B+ with Ubuntu Server. We are connecting the following devices to the USB ports: USB Camera

How to crop and extract stamp from an image with OpenCV?

I am new to OpenCV. I have a "simple" image of a stamp that I have already processed a bit, as you can see in the code below. Now I have the problem of cropping

How to know the name of a library installed with vcpkg?

In my simple app which I build with cmake I use opencv, which is installed with vcpkg. On CMakeLists.txt I have to find_package(OpenCV REQUIRED), replacing Open

How to get the value of a python script I run through ssh

I am using 2 raspberry pi and each of them has a camera connected. I am trying to run, from the first pi, a script to get the video feed of the second one. And

I can't install opencv-python because I don't have vs?

whenever I try to pip install opencv-python it comes with an error saying I need to install visual studio 2022 but I already have it installed. I'm completely o

How to desaturate the background of an image in Python

I need to desaturate the background of this kind of images. I thought I can find the largest contour and desaturate everything around. So far I can find the lar

How to convert YOLOv5 PyTorch model to OpenCV DNN compatible format

Could anybody please help me to convert YOLOv5 PyTorch model to ONNX or TensorFlow format to be able to use it with OpenCV C++ inference? I used this tutorial t

Epipolar line using essential matrix for calibrated camera is wrong

I wanted to get the essential or fundamental matrix for calibrated cameras (R, T, Ks are given). There are two cameras. Is this step correct to get the essentia

CMake Error at CMakeLists.txt:7: Parse error. Function missing ending ")". End of file reached

cmake_minimum_required(VERSION 3.0.0) project(opencvtest VERSION 0.1.0) include(CTest) enable_testing() set(OpenCV_DIR C:\Users\Sayar\opencv\build\) find_pac

DARKNET/OPENCV/GSTREAMER: module v4l2src0 reported: Failed to allocate required memory

I'm trying to run the Yolov4-tiny demo of Darknet but am encountering the following error: [WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (1824) handl

Face Detection in Preview Camera Feed on Flutter

How do we "draw a square" on detected faces on camera preview feed in Flutter? Is there a cross platform solution to this? Flutter provides a Camera Plugin, but

How can get the hexagons and circle in this image with opencv?

I can's find the hexagons and circle clearly in this image, in the process of finding, i have used too many normal ways but there was still have no effective

Install OpenCV on Mac Catalina

I am trying to install OpenCV on my Mac using this tutorial: https://medium.com/macoclock/setting-up-mac-for-opencv-java-development-with-intellij-idea-fd2153eb