semvec/pypi-packages huggingface dataset:
cellcount 0.0.2
Count the number of contiguous regions in a binary array

# Cell Count

This package takes a binary array, and counts the number
of seperate objects in the array.


## Installation

Run the following to install:

```python
pip install cellcount
```

## Usage

```python
import cellcount as cc
import numpy as np

img = np.random.randint(2, size=(5,5))

# Count the number of seperate cells
num_of_cells = cc.countCells(img)
```