Category "image-processing"

How to crop sub-part from national ID without losing quality

I am having a use case where dividing National ID card is mandatory for OCR Received Image vary in size and pixels number Samples Used the following code to c

Resize multiple images with OpenCV to square size without padding

My question is simple yet I haven't found any solution on Google, all the answers are for adding padding which in my case I don't want... It's basically resizin

How to detect multiple colored regions in an image and produce individual crops for each with Python OpenCV?

I have an image like this: And I want to crop the image anywhere there is red. So with this image I would be looking to produce 4 crops: Obviously I f

How to find and crop words into individual images with Python OpenCV?

I have a binary image of words as shown, and I want crop the image with each character in different image. Output should have different images of k,7,2,f,5 &am

How to remove noise artifacts from an image for OCR with Python OpenCV?

I have subsets of images that contains digits. Each subset is read by Tesseract for OCR. Unfortunately for some images the cropping from the original image isn'

How to perform image lighting correction with OpenCV?

I have an image which I grab using a camera. Sometimes, the lighting is uneven in them image. There are some dark shades. This causes incorrect optimal threshol

How to detect and extract rectangles with Python OpenCV?

I am trying to detect three rectangles from the contour. I have already extracted the entire contour from the whole image. I am attaching the image of extracted

How to extract green objects in an image?

I have ROI's for the bounding boxes around the objects in an image. The ROI's are obtained by the Faster R-CNN. Now I want to get the green spike objects contai

Getting a Black and White UIImage (Not Grayscale)

I need to get a pure black and white UIImage from another UIImage (not grayscale). Anyone can help me? Thanks for reading. EDITED: Here is the proposed solut

How to extract multiple objects from an image using Python OpenCV?

I am trying to extract object from an image using the color using OpenCV, I have tried by inverse thresholding and grayscale combined with cv2.findContours() bu