Skip to main content

Count blood cells

Project description

Blood Cells Count

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

Sample

Table of Contents

Project Structure

bc-count/
|-- bc-count/
|   |-- test/
|   |   |-- test_data.py
|   |   |-- test_main.py
|   |   |-- test_model.py
|   |   
|   |-- data.py
|   |-- main.py
|   |-- model.py
|
|-- bin/
|   |-- bc-count
|
|-- docs/
|
|-- data/
|   |-- rbc/
|   |-- wbc/
|
|-- models/
|
|-- AUTHORS
|-- LICENSE
|-- README.md
|-- TODO.md
|-- requirements.txt 
|-- setup.py

Install

  • Install straight from PyPI using pip:
$ pip install bc-count

Usage

Please read bc-count --help before using it -o flag is optional (defaults to out/ directory)

  • Count blood cells (-r for red and -w for white):
$ bc-count -r <blood-cell-image>
  • Predict blood cell image:
$ bc-count predict -r <blood-cell-image>
  • Train a new model:
$ bc-count train -r <model-name>

Develop

  • Download the project:
$ git clone https://github.com/nemo256/bc-count
$ cd bc-count
  • 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:
$ python bc-count/main.py

License

  • Please read cell-count/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

bc-count-0.0.7.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

bc_count-0.0.7-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

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