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.8.tar.gz (22.0 MB view details)

Uploaded Source

Built Distribution

cbc-0.0.8-py3-none-any.whl (22.0 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cbc-0.0.8.tar.gz
Algorithm Hash digest
SHA256 9786d436e2441b4954eb82e3b00cb1aa17b058bb35313cf81fbdac4d58e121c9
MD5 ec51085312a803b8d23a3fca1a2bc929
BLAKE2b-256 f0a50e15f479d0f6e95de0c1dd5ce80ce22da02bc26389526ef132d32d7ac983

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cbc-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 22.0 MB
  • 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 620a17ab9ff15b5c1439508b05e69e99424ffc17ab9a350b4ef3b48fff8bf18a
MD5 62aee198f808d7db1ac82d42f12498d2
BLAKE2b-256 976a852aadeff992272e4a3dc98b178ef9478145b8f229a05af10fc980c5c324

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