https://github.com/williamfzc/uiseg
UISeg is a Python library for automatic segmentation of user interface (UI) images into meaningful regions. It leverages adaptive thresholding, morphological operations, and connected components analysis to detect and merge UI blocks, making it useful for UI analysis, automation, and research.
https://github.com/williamfzc/uiseg
automation block cv gui screenshot segmentation ui
Last synced: about 2 months ago
JSON representation
UISeg is a Python library for automatic segmentation of user interface (UI) images into meaningful regions. It leverages adaptive thresholding, morphological operations, and connected components analysis to detect and merge UI blocks, making it useful for UI analysis, automation, and research.
- Host: GitHub
- URL: https://github.com/williamfzc/uiseg
- Owner: williamfzc
- License: apache-2.0
- Created: 2025-04-17T15:46:23.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-18T16:55:45.000Z (about 1 year ago)
- Last Synced: 2025-09-04T13:49:02.699Z (10 months ago)
- Topics: automation, block, cv, gui, screenshot, segmentation, ui
- Language: Python
- Homepage:
- Size: 248 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UISeg
UISeg is a Python library for automatic segmentation of user interface (UI) images into meaningful regions. It leverages
adaptive thresholding, morphological operations, and connected components analysis to detect and merge UI blocks, making
it useful for UI analysis, automation, and research.

## Features
- Automatic detection and segmentation of UI regions in images
- Configurable parameters for region filtering and merging
- Visualization of detected regions
- Easy integration and extension
## Installation
```
pip install uiseg
```
## Example
See the [tests/](./tests) directory for demo images and test scripts.
## License
This project is licensed under the Apache License Version 2.0. See the [LICENSE](LICENSE) file for details.