Count Blood Cells
Count red, white blood cells to detect various diseases such as blood cancer (leukemia), lower red blood cells count (anemia)...
Table of Contents
Project Structure
cbc/
|-- data/
| |-- plt/...
| |-- rbc/...
| |-- wbc/...
|
|-- docs/...
|
|-- models/...
|
|-- output/
| |-- plt/...
| |-- rbc/...
| |-- wbc/...
|
|-- AUTHORS
|-- cbc
|-- LICENSE
|-- README.md
|-- TODO.md
|-- requirements.txt
|-- setup.py
Install
- Install straight from PyPI using pip:
$ pip install cbc
Usage
Please read
cbc --helpbefore using it -o flag is optional (defaults to out/ directory)
- Count blood cells (-r for red and -w for white):
$ cbc -r <blood-cell-image>
- Predict red blood cells (use Circle Hough Tranform and Connected Component Labeling with otsu's thresholding):
$ cbc -r -CHT -CCL -t <blood-cell-image>
- Predict white blood cells (with custom output directory):
$ cbc -w <blood-cell-image> -o outdir/
Develop
- Download the project:
$ git clone https://github.com/nemo256/cbc
$ cd cbc
- Activate virtual environment:
$ python -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
- Now just adapt the code to your needs and then run using the command:
$ chmod +x cbc
$ ./cbc
License
- Please read cbc/LICENSE
Metadata
Release files for cbc 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cbc-1.1.0.tar.gz | 22.0 MB | Without provenance | Details for cbc-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cbc-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for cbc-1.1.0-py3-none-any.whl |
Total release size: 44.1 MB
Release files / cbc-1.1.0.tar.gz
| Download URL | cbc-1.1.0.tar.gz |
|---|---|
| Size | 22.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
045e4d6767f0e5e8c1f9488c79a8f295206b5937bc5d0870efde43c40e25c7b1
|
|
BLAKE2b-256 checksum How to use checksums |
3d4ef147acbbb74dd584cfa281b7a268ffd6e829d5f106c7525ecc4640b73d2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Release files / cbc-1.1.0-py3-none-any.whl
| Download URL | cbc-1.1.0-py3-none-any.whl |
|---|---|
| Size | 22.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a1911c600aad30ebb4ffa1e6aa1db85170ba1d7dd5a9262a6eeb8a4fdfd78a63
|
|
BLAKE2b-256 checksum How to use checksums |
0f9d75200f897470160b5efaefeb88827e91e49c7c48996042fc3c0dd36e3812
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Security for cbc 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.