Skip to content Skip to sidebar Skip to footer
Showing posts with the label Computer Vision

Opencv(4.0.0) Assertion Failed In Function 'contourarea'

My aim is to identify car logos using HOG descriptors. I am following tutorial linked https://gurus… Read more Opencv(4.0.0) Assertion Failed In Function 'contourarea'

Remove Unwanted Parts Of Mask Image

I'm successfully calculating the mask of an image using U2NET as seen below: However, as can b… Read more Remove Unwanted Parts Of Mask Image

Binarize Image Data

I have 10 greyscale brain MRI scans from BrainWeb. They are stored as a 4d numpy array, brains, wit… Read more Binarize Image Data

Classifiers Confidence In Opencv Face Detector

I'm using opencv's har cascade face detector (cv.HaarDetectObjects) in python. for example:… Read more Classifiers Confidence In Opencv Face Detector

Opencv Dot Target Detection Not Finding All Targets, And Found Circles Are Offset

I'm trying to detect the center of black/white dot targets, like in this picture. I've trie… Read more Opencv Dot Target Detection Not Finding All Targets, And Found Circles Are Offset

Square Detection In Image

I am trying to detect all the squared shaped dice images so that i can crop them individually and u… Read more Square Detection In Image

Python: Find Amount Of Handwriting In Video

Do you know of an algorithm that can see that there is handwriting on an image? I am not interested… Read more Python: Find Amount Of Handwriting In Video

Count Number Of Cells In The Image

I need code for counting the number of cells in the image and only the cells that are in pink color… Read more Count Number Of Cells In The Image

How To Display 16-bit 4096 Intensity Image In Python Opencv?

I have images encoded in grayscale 16-bit tiff format. They use a variant of 16-bit color depth whe… Read more How To Display 16-bit 4096 Intensity Image In Python Opencv?

How To Detect Red Color In Opencv Python?

I am trying to detect red color from the video that's being taken from my webcam. The following… Read more How To Detect Red Color In Opencv Python?

Find Extreme Outer Points In Image With Python Opencv

I have this image of a statue. I'm trying to find the top, bottom, left, and right most points… Read more Find Extreme Outer Points In Image With Python Opencv

Do I Need To Calculate Hist At Prediction Time In Svm?

I am training my dataset with the below code: for file in glob.glob('C:\*.png'): image … Read more Do I Need To Calculate Hist At Prediction Time In Svm?

Detect Image Orientation Angle Based On Text Direction

I am working on a OCR task to extract information from multiple ID proof documents. One challenge i… Read more Detect Image Orientation Angle Based On Text Direction

Detecting Simple Geometric Shapes Using Opencv [java]

I'm programming a Java application that detects simple geometric shapes. The following Python c… Read more Detecting Simple Geometric Shapes Using Opencv [java]

Implement Custom Cost Function In Keras Which Requires Output Of Whole Batch-size

Brief info about the data-set:- Its a person Re-ID problem(whether 2 images are same or not) and i… Read more Implement Custom Cost Function In Keras Which Requires Output Of Whole Batch-size

Efficiently Group Overlapping Rectangles

Best way to group overlapping rectangles? I've tried using OpenCV but the grouprectangles metho… Read more Efficiently Group Overlapping Rectangles

How To Convert A Label Matrix To Colour Matrix For Image Segmentation?

I have a label matrix of 256*256 for example. And the classes are 0-11 so 12 classes. I want to con… Read more How To Convert A Label Matrix To Colour Matrix For Image Segmentation?

How To Find Different Centers Of Various Arcs In A Almost Circular Hole Using Opencv?

I have a photo of a hole. I am currently assuming that the hole is not a perfect circle, and hence … Read more How To Find Different Centers Of Various Arcs In A Almost Circular Hole Using Opencv?

Check Visibility (contrast?) Between Text Image With Transparency On Top Of Background Image

I have two images: one with colored text and transparent background and another with a random backg… Read more Check Visibility (contrast?) Between Text Image With Transparency On Top Of Background Image

I Am Trying To Manipulate The Pixel Values Without Clipping Them

I have an image which has a max pixel value - 287.4976094062538 and min pixel value - -41.082841881… Read more I Am Trying To Manipulate The Pixel Values Without Clipping Them