Posts about image-processing

main_graphic.jpg
Image Similarity with Python Part II: Nearest Neighbor Search

This is Part II of my post on image similarity in Python with perceptual hashing. In this post, we will use Spotify's Annoy library to perform nearest neighbors search on a collection of images to find similar images to a query image.

Read More
Flood fill graphic
The Flood Fill Algorithm in Python

The flood fill algorithm has several high profile uses, most notably the bucket fill tool in image editing programs, as well as in games like Minesweeper. In this post we will go over how the tool works, as well as how to implement the algorithm.

Read More
dresspixelated.jpg
Determining how similar two images are with Python + Perceptual Hashing

Years ago I had an app idea where users could upload an image of a fashion item like shoes, and it would identify them. In this post I will go over how I approached the problem using perceptual hashing in Python with Pillow and the imagehash library.

Read More