imutils

github.com/PyImageSearch/imutils Developer Tools Open-source projectOpen source

imutils provides convenience functions for image operations such as rotation, resizing, and skeletonization.

github.com/PyImageSearch/imutils
imutils homepage screenshot

About imutils

imutils is an open source Python package that provides convenience functions for common image processing tasks with OpenCV. It includes functions for translating, rotating, and resizing images, and for skeletonization, which builds the topological skeleton of an object. The homepage describes these functions as a way to reduce the amount of OpenCV code needed for these operations.

The package is installed with pip and assumes that NumPy, SciPy, Matplotlib, and OpenCV are already installed. Its skeletonization function presumes the object is white on a black background. The homepage states support for both Python 2.7 and Python 3.

Key features

  • Translate an image by a specified x and y pixel shift
  • Rotate an image by an angle around a specified point
  • Resize an image to a target width or height while keeping aspect ratio
  • Optional interpolation method argument for resizing
  • Skeletonize an object presumed to be white on a black background
  • Search OpenCV function names by text across modules
Best for: Python developers who already use OpenCV and want shorter code for common operations such as translation, rotation, and resizing.
Good for
  • The resize function maintains aspect ratio without the developer computing dimensions
  • Wraps multi-step OpenCV calls, such as rotation matrix setup, into single function calls
  • Can be installed with pip
Watch out for
  • Requires NumPy, SciPy, Matplotlib, and OpenCV to be installed already
  • Skeletonization assumes the object is white on a black background

imutils at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 6, 2026 · Online when checked
Listed
Oct 5, 2026

imutils alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in Developer Tools

Well-known listings from the same topic.

All 423

imutils FAQ

How is imutils installed?
Provided NumPy, SciPy, Matplotlib, and OpenCV are already installed, the package can be installed with pip install imutils.
Does the resize function keep the aspect ratio of an image?
Yes. The resize function maintains aspect ratio and accepts width and height keyword arguments, so the developer does not need to compute the other dimension explicitly.
Which Python versions does imutils support?
The homepage states that imutils works with both Python 2.7 and Python 3.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing