Skip to content Skip to sidebar Skip to footer
Showing posts with the label Image Processing

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?

Load Svg Image In Opencv

I'm trying to download an svg image and open it in opencv for further processing. What I am doi… Read more Load Svg Image In Opencv

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

Simpleitk Resize Images

I have a set o 3D volumes that I am reading with SimpleITK import SimpleITK as sitk for filename in… Read more Simpleitk Resize Images

How To Find The Bit Depth Of An Image

I am trying to get the Statistics of image like width, height, bands, min, max, mean, stddev etc.,… Read more How To Find The Bit Depth Of An Image

Python - Pyqt - How To Detect Mouse Events When Clicking Text/points In A Pixmap

Suppose I have drawn simple text (say just the letter 'x') with some font parameters (like … Read more Python - Pyqt - How To Detect Mouse Events When Clicking Text/points In A Pixmap

Conv2d Cnn Edge Detection Script Returns Blank Images

I want to colour the oil, water and plastic in the images shown. Currently I split up the training… Read more Conv2d Cnn Edge Detection Script Returns Blank Images

How Can I Transform The Histograms Of Grayscale Images To Enforce A Particular Ratio Of Highlights/midtones/shadows?

I have a large collection of 7 mega pixel grayscale images and I want batch process them to adjust … Read more How Can I Transform The Histograms Of Grayscale Images To Enforce A Particular Ratio Of Highlights/midtones/shadows?

Keras Image Data Generator .flow_from_directory(directory) Unify/combine Classes

I am using Python with Keras and ImageDataGenerator to generate images from directory. I have about… Read more Keras Image Data Generator .flow_from_directory(directory) Unify/combine Classes

Scipy Filter With Multi-dimensional (or Non-scalar) Output

Is there a filter similar to ndimage's generic_filter that supports vector output? I did not ma… Read more Scipy Filter With Multi-dimensional (or Non-scalar) Output

Drag Mouse To Draw A Line And Get Cordinates Of End Points Of Line In Opencv Python

I need to draw a line in the image such that I click on pt1 and drag till pt2. So as a result a lin… Read more Drag Mouse To Draw A Line And Get Cordinates Of End Points Of Line In Opencv Python

How To Improve Text Extraction From An Image?

I am using pytesseract to extract text from images. Before extracting text with pytesseract, I use … Read more How To Improve Text Extraction From An Image?

How To Find Hidden Files Inside Image Files (jpg/gif/png)

I came across a link that shows how to hide number of files inside an image file: http://lifehacker… Read more How To Find Hidden Files Inside Image Files (jpg/gif/png)

Trying To Segment Characters Using Opencv - Contour Problem

My code is detecting another box when there is no letter! # Create sort_contours() function to grab… Read more Trying To Segment Characters Using Opencv - Contour Problem

Opencv Python3 Cannot Rotate Image Back Correctly

I want to use python3 with OpenCV packages to rotate an image in a degree 15 and rotate it back. Ho… Read more Opencv Python3 Cannot Rotate Image Back Correctly

Numpy 8 And 32 Bits Image Data Type After Cvtcolor() Conversion To Lab Colorspace

I am trying to understand how LAB work in OpenCV. Previously open up a post on HSV I was playing a… Read more Numpy 8 And 32 Bits Image Data Type After Cvtcolor() Conversion To Lab Colorspace

Robust Algorithm To Detect Uneven Illumination In Images [detection Only Needed]

One of the biggest challenges in tesseract OCR text recognition is the uneven illumination of image… Read more Robust Algorithm To Detect Uneven Illumination In Images [detection Only Needed]

Valueerror: Could Not Convert String To Float: 'nonpdr'

I'm facing this error: ValueError: could not convert string to float: 'nonPdr', when I … Read more Valueerror: Could Not Convert String To Float: 'nonpdr'

Is There A Way To Merge Palettes For Indexed Pygame.surfaces?

I have a Surface BaseSurf with an indexed colour palette, and I want to blit another indexed-colour… Read more Is There A Way To Merge Palettes For Indexed Pygame.surfaces?

Remove Remains In A Letter Image With Python

I have a set of images that represent letters extracted from an image of a word. In some images the… Read more Remove Remains In A Letter Image With Python