Skip to main content

Count Blood Cells

Project description

Count Blood Cells

Count red, white blood cells to detect various diseases such as blood cancer (leukemia), lower red blood cells count (anemia)...

Sample

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 --help before 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 blood cell image:
$ cbc predict -r <blood-cell-image>
  • Train a new model:
$ cbc train -r <model-name>

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 need and then run using the command:
$ chmod +x cbc
$ ./cbc

License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cbc-0.0.2.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

cbc-0.0.2-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file cbc-0.0.2.tar.gz.

File metadata

  • Download URL: cbc-0.0.2.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for cbc-0.0.2.tar.gz
Algorithm Hash digest
SHA256 fd52a7574ff7832b8f964ab64d67511ccf1af73a4284a9eeaa5dd09f975b4564
MD5 70930007a1d55ae3c5199e3af1d7a3b3
BLAKE2b-256 3cf82c7975b3c5052a8584c57ca6e3bfdef6c2e6e99b3946841ad00e3a271b2e

See more details on using hashes here.

File details

Details for the file cbc-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: cbc-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for cbc-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7883147ef811255e8fd01c607f6c3b77264cae1a3ef0e3614fe36df6cbbb095e
MD5 f085f620cbbdd909e747fd285d111935
BLAKE2b-256 9e0c51624073488099008bef2dc328475c5e290e10bffb61f69bf331a824d271

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page