Site icon Python GUI

Easily Perform Powerful Computer Vision Functions In Python GUI App With Mahotas Library

Do you want to perform some Image Processing tasks in your Delphi GUI App? This post will get to understand how to use Mahotas Python Library using Python4Delphi in Delphi/C++ application. Mahotas is a computer vision and image processing library for Python.

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

Python for Delphi (P4D) is a set of free components that wrap up the Python DLL into Delphi. They let you easily execute Python scripts, create new Python modules and new Python types. You can use Python4Delphi a number of different ways such as:

Prerequisites.

[crayon-66054d921b6a4857949200/]

Mahotas Python Library sample script details:

[crayon-66054d921b6b0100509740/]
<strong>Labeling Images<strong>
<strong>Thresholding Otsus Method<strong>
<strong>Mahotas Color Space conversions Demo<strong>

Note: Samples used for demonstration were picked from here with only the difference of printing the outputs. You can check the APIs and some more samples from the same place.

You have read the quick overview of Mahotas library, download this library from here, and perform image processing fuctions such as watershed, filtering regions, morphological processing, in your applications. Check out Python4Delphi and easily build Python GUIs for Windows using Delphi.

Exit mobile version