Mahotas: Open source software for scriptable computer vision

Luis Pedro Coelho


Mahotas is a computer vision library for Python. It contains traditional image processing functionality such as filtering and morphological operations as well as more modern computer vision functions for feature computation, including interest point detection and local descriptors.

The interface is in Python, a dynamic programming language, which is appropriate for fast development, but the algorithms are implemented in C++ and are tuned for speed. The library is designed to fit in with the scientific software ecosystem in this language and can leverage the existing infrastructure developed in that language.

Mahotas is released under a liberal open source license (MIT License) and is available from and from the Python Package Index ( Tutorials and full API documentation are available online at

View the full article: Full text PDF

How to cite: Coelho, L.P. 2013. Mahotas: Open source software for scriptable computer vision. Journal of Open Research Software 1(1):e3, DOI:

This is an Open Access article distributed under the terms of the Creative Commons Attribution License
(, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. Copyright is retained by the author(s).

This article has been peer reviewed (journal peer review policy).

Published on 29 July 2013.

ISSN: 2049-9647 | Published by Ubiquity Press | Creative Commons License This work is licensed under a Creative Commons License.