- Documentation: Read the documentation.
- GitHub Repository: View codesource.
- PyPI: Install via pip.
PyImageLabeling is a powerful tool with a user-friendly interface based on PyQT6 for creating image masks. These labeled images are used in the creation of machine learning models dedicated to computer vision tasks.
Two types of labeling are available:
- Pixel-by-Pixel: allows to use the pixel-level precision (paintbrush, magic pen, contour filling).
- Geometric shapes: allows to use different geometric shapes (polygon, rectangle, ellipse) for labeling.
Note that you need first Python 3 (version 3.12, or later) to be installed. You can do it, for example, from Python.org.
Check whether you have the last version of PyPi:
python3 -m pip install -U pipInstall PyImageLabeling:
python3 -m pip install -U PyImageLabelingTo launch PyImageLabeling:
python3 -m PyImageLabelingYou can download the Windows executable. Just double-click on the executable file to launch PyImageLabeling.
Here is an illustration for Linux. We assume that Python 3 is installed, and consequently ‘pip3’ is also installed. In a console, type:
git clone https://github.com/crillab/PyImageLabeling.gitYou may need to update the environment variable ‘PYTHONPATH’, by typing for example:
export PYTHONPATH="${PYTHONPATH}:${PWD}/.."Get the last version of pip:
python3 -m pip install --upgrade pipExecutes the pyproject.toml inside the PyImageLabeling directory and installs dependencies ("numpy", "pyqt6", "opencv-python", "pillow", "matplotlib").
python3 -m pip install -e .To launch PyImageLabeling:
python3 -m PyImageLabelingThis project is licensed under the MIT License - see the LICENSE file for details.
- Computer Vision: Create training datasets for object detection and segmentation
- Medical Imaging: Annotate medical scans and diagnostic images
- Autonomous Vehicles: Label road scenes and traffic elements
- Agriculture: Mark crop areas and plant health indicators
- Quality Control: Identify defects and areas of interest in industrial applications

