semvec/pypi-packages huggingface dataset:
Image-clustering 0.1.0
A simple Python library for image clustering using K-means

# Image-Clustering

A simple Python library for image clustering using K-means

## Installation

Install via pip:
```python
pip install Image-clustering
```



## Usage

```python
import cv2
from image_clustering import image_clustering

image_path = "path/to/your/image.jpg"
n_clusters = 5

segmented_image = image_clustering(image_path, n_clusters)
cv2.imwrite("output.jpg", segmented_image)
```
License
MIT License