SkillAgentSearch skills...

Ccl

Connected Component Labelling tutorial

Install / Use

/learn @jacklj/Ccl
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Connected Component Labelling

A Connected Component Labelling algorithm implemented in Python.

How it works.

Usage:

Python:
	>>> image = Image.open("./binary_image.png")
	>>> bool_image = image_to_2d_bool_array(image)
	>>> result = connected_component_labelling(bool_image, 4)

Terminal (second parameter is connectivity type):
	$  python ccl.py path/to/image.png 4
View on GitHub
GitHub Stars11
CategoryDevelopment
Updated1y ago
Forks8

Languages

HTML

Security Score

60/100

Audited on Sep 19, 2024

No findings