Category "image-processing"

Find Corners of pool table for perspective warp with OpenCV

I have an image of a pool table with slight perspective distortion: I am trying to un-warp the image (such that the corners of the pool table correspond to the

Find Corners of pool table for perspective warp with OpenCV

I have an image of a pool table with slight perspective distortion: I am trying to un-warp the image (such that the corners of the pool table correspond to the

Find question text block in image with Python Opencv

How can I select question blocks in a jpg file with questions in Python code? The codes below select texts. I want to select question blocks with their choices.

How to fill holes or reduce noise in an image?

I need to reduce the noise in images like the one bellow, i.e. fill the holes in the white object. I tried something with opencv but it ended up removing part o

How to fill holes or reduce noise in an image?

I need to reduce the noise in images like the one bellow, i.e. fill the holes in the white object. I tried something with opencv but it ended up removing part o

Identify table grid in image

I have to identify the table grid in this image and change it to Grimson red color. I am a beginner in image processing. img_arr = mpimg.imread("1.jpg") plt.

Is there any way to detect edge in this situation?

I try to detect edge using python. There are hundreds of algorithms for edge detection, however, the image is very obscure and unclear. The most serious problem

Ros2 : stereo image rectification

I'm starting to develop a visual odometry program. The "front" part (image acquisition and hopefully rectification) is done in ROS2, then the core of the proces

finding not exactly same template in image

I want to find a character in my input image. When I crop char from an image and use template matching, in almost all cases, it works perfect; but if I use that

How to connect broken lines into one continuous line?

I have this picture: As you can see, some lines are not connected. These lines were drawn using semantic segmentation. What I want is to connect these lines, b

I need to measure the gap between railway switch and track using python

I need to predict the gap in railway switch using python. Switch image:

Converting NRRD file to JPG

i am trying to convert nrrd file into jpg by reading that nrrd image using pynrrd and then using the pixel i am trying to form an image but the out i am getting

How to connect broken lines that cannot be connected by erosion and dilation?

I have an image like this that has multiple stoppers and some of the lines are broken. To connect this broken line, I used a morphological operation like this:

Join broken lines in image using OpenCV for python

I am working on a project in which I have to complete the broken lines in the image below and then calculate the area. Is there any way to complete the broken l

Join lines to create closed contours using OpenCV

I have the following image: And I would like to join all of these "green" linear pixels to create a bounding box contour - is this something that is possible w

Join broken lines in image using OpenCV for python

I am working on a project in which I have to complete the broken lines in the image below and then calculate the area. Is there any way to complete the broken l

Low pass filter with apply function - Help to solve

I have a question.how can I write the code. I want to create an image interface. The class filter should apply a low-pass filter to a given image and should be

Compare two images and find all pixel coordinates that differ

I have designed a program that compares two images and gives you the coordinates of the pixels that are different in both images and plots the using pygame. I d

joining dotted line by interpolation in an image

I have this image as shown below. It is a binary mask I created this image using the below code. Basically I got the x_idx, y_idx for just those white pixels,

TypeError: __call__() takes 2 positional arguments but 3 were given. To train Raccoon prediction model using FastRCNN through Transfer Learning

from torchvision.models.detection.faster_rcnn import FastRCNNPredictor from engine import train_one_epoch, evaluate import utils import torchvision.transfor