Category "opencv"

How to send Frame from openCV client to server

I am trying to send input from a capture card on a client to a server. I can get the capture card to display on the client, but I am having some trouble sending

Why converted images now shown as grayscale?

I am working on image compression problem, i want to convert the images from 3 channel to 1 channle , i used tf.image.rgb_to_grayscale(img_data_array, name=None

Fixing green YUYV frame format being streamed using OpenGlView

I am using a library to do RTMP streaming from an USB/UVC camera in android. The library I am using is this one. This library works just fine for android USB ca

Failed to Build Wheel For Opencv

I upgraded wheel, pip, and setuptools all to the latest version, with the following command. pip3.9 install --upgrade pip setuptools wheel When I try to install

How to determine between inner and outer contour with Python OpenCV?

I want to have a polygon region of interest and would like to perform an object detection algorithm within this area. For example, the user gives some points an

SIFT match computer vision

I need to determine the location of yogurts in the supermarket. Source photo looks like With template: I using SIFT to extract key points of template: img1 =

How to convert CMSampleBuffer to OpenCV's Mat instance in swift

I am working on an OpenCV project where I am taking input from iPhone native camera as CMSampleBuffer now I wanted to create Mat instance that is required in Op

EasyOCR disables Cuda GPU when installed

Hello after installing EasyOCR via pip install easyocr via Anaconda Prompt (base) I receive this error. OpenCV(4.5.4) D:\a\opencv-python\opencv-python\opencv\m

SIFT detection / FLANN matching results in matches with way too long distance

I'm doing some feature detection/pattern matching based on the OpenCV example code shown at https://docs.opencv.org/3.4/d5/dde/tutorial_feature_description.html

Opencv 4.5.4 YoloV5

I export the Yolov5 .pt model to onnx with the command-line command python3 export.py --weights best.pt --include onnx --simplify I am able to read the yolov5.o

Is OpenCV with Blazor WASM in .NET6 feasible?

I'd like to process images on clientside with Blazor WASM and OpenCV. I can run OpenCV with the OpenCVSharp4 NuGet Package serverside, but that wont cut it. If

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