Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cbc

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cbc

Count Blood Cells

  • 1.1.0
  • PyPI
  • Socket score

Maintainers
1

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

  • Project Structure
  • Install
  • Usage
  • Develop
  • 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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc