cbc-1.1.0
توضیحات
Count Blood Cells
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | cbc-1.1.0 |
| نام | cbc |
| نسخه کتابخانه | 1.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | nemo256 (Amine Neggazi) |
| ایمیل نویسنده | <neggazimedlamine@gmail.com> |
| آدرس صفحه اصلی | https://github.com/nemo256/cbc |
| آدرس اینترنتی | https://pypi.org/project/cbc/ |
| مجوز | - |
# 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 -->
## Table of Contents
* [Project Structure](#project-structure)
* [Install](#install)
* [Usage](#usage)
* [Develop](#develop)
* [License](#license)
## 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 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](https://github.com/nemo256/cbc/blob/master/LICENSE)
نیازمندی
| مقدار | نام |
|---|---|
| ==1.1.0 | absl-py |
| ==0.7.12 | alabaster |
| ==1.6.3 | astunparse |
| ==21.4.0 | attrs |
| ==2.10.1 | Babel |
| ==5.0.0 | bleach |
| ==0.8.0 | build |
| ==5.2.0 | cachetools |
| ==2022.5.18.1 | certifi |
| ==1.15.0 | cffi |
| ==2.0.12 | charset-normalizer |
| ==0.9.1 | commonmark |
| ==37.0.2 | cryptography |
| ==0.11.0 | cycler |
| ==0.18.1 | docutils |
| ==1.12 | flatbuffers |
| ==4.33.3 | fonttools |
| ==0.4.0 | gast |
| ==2.6.6 | google-auth |
| ==0.4.6 | google-auth-oauthlib |
| ==0.2.0 | google-pasta |
| ==1.46.3 | grpcio |
| ==3.7.0 | h5py |
| ==3.3 | idna |
| ==1.3.0 | imagesize |
| ==4.11.4 | importlib-metadata |
| ==1.1.1 | iniconfig |
| ==0.8.0 | jeepney |
| ==3.1.2 | Jinja2 |
| ==2.9.0 | keras |
| ==1.1.2 | Keras-Preprocessing |
| ==23.5.1 | keyring |
| ==1.4.2 | kiwisolver |
| ==14.0.1 | libclang |
| ==3.3.7 | Markdown |
| ==2.1.1 | MarkupSafe |
| ==3.5.2 | matplotlib |
| ==1.22.4 | numpy |
| ==3.2.0 | oauthlib |
| ==4.5.5.64 | opencv-python |
| ==3.3.0 | opt-einsum |
| ==21.3 | packaging |
| ==0.12.0 | pep517 |
| ==9.1.1 | Pillow |
| ==1.8.2 | pkginfo |
| ==1.0.0 | pluggy |
| ==3.19.4 | protobuf |
| ==1.11.0 | py |
| ==0.4.8 | pyasn1 |
| ==0.2.8 | pyasn1-modules |
| ==2.21 | pycparser |
| ==2.12.0 | Pygments |
| ==3.0.9 | pyparsing |
| ==2.8.2 | python-dateutil |
| ==2022.1 | pytz |
| ==35.0 | readme-renderer |
| ==2.27.1 | requests |
| ==1.3.1 | requests-oauthlib |
| ==0.9.1 | requests-toolbelt |
| ==2.0.0 | rfc3986 |
| ==12.4.4 | rich |
| ==4.8 | rsa |
| ==1.8.1 | scipy |
| ==3.3.2 | SecretStorage |
| ==1.16.0 | six |
| ==2.2.0 | snowballstemmer |
| ==5.0.1 | Sphinx |
| ==1.0.2 | sphinxcontrib-applehelp |
| ==1.0.2 | sphinxcontrib-devhelp |
| ==2.0.0 | sphinxcontrib-htmlhelp |
| ==1.0.1 | sphinxcontrib-jsmath |
| ==1.0.3 | sphinxcontrib-qthelp |
| ==1.1.5 | sphinxcontrib-serializinghtml |
| ==2.9.0 | tensorboard |
| ==0.6.1 | tensorboard-data-server |
| ==1.8.1 | tensorboard-plugin-wit |
| ==2.9.1 | tensorflow |
| ==0.17.0 | tensorflow-addons |
| ==2.9.0 | tensorflow-estimator |
| ==0.26.0 | tensorflow-io-gcs-filesystem |
| ==1.1.0 | termcolor |
| ==2.0.1 | tomli |
| ==4.0.1 | twine |
| ==2.13.3 | typeguard |
| ==4.2.0 | typing-extensions |
| ==1.26.9 | urllib3 |
| ==0.5.1 | webencodings |
| ==2.1.2 | Werkzeug |
| ==1.14.1 | wrapt |
| ==3.8.0 | zipp |
نحوه نصب
نصب پکیج whl cbc-1.1.0:
pip install cbc-1.1.0.whl
نصب پکیج tar.gz cbc-1.1.0:
pip install cbc-1.1.0.tar.gz