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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file bc-count-0.0.7.tar.gz.

File metadata

  • Download URL: bc-count-0.0.7.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for bc-count-0.0.7.tar.gz
Algorithm Hash digest
SHA256 431e55cc318fc4028a36d263529740e7dad45b1724da1455c7a2d8a4abd5be8f
MD5 0befa4498e16791a695346dee001fe6d
BLAKE2b-256 ab8304a0c5aa35aac1b0f7a62aef3f44a2ad8d3b10085cd48254e7dc5ccf6c2c

See more details on using hashes here.

File details

Details for the file bc_count-0.0.7-py3-none-any.whl.

File metadata

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

File hashes

Hashes for bc_count-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 4dbeeccaf6107bfa352c1f4352108bbd5d6e4bbc943408f340ec37b6b83d19e0
MD5 78472cc09772a7759765db801a49b5c0
BLAKE2b-256 4f6c5719ec991c9f61d791caeac9e8a85f85a5a99dda32c468e615ba9d8399a3

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