Giter VIP home page Giter VIP logo

sayannath / blood-cell-detection-tfod-2.0 Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 1.0 22.32 MB

Using TensorFlow Object Detection API to detect blood cells

Home Page: https://drive.google.com/drive/folders/1ZVVpgf6smfpgZsIy2PCr9mzuyxCpoL63?usp=sharing

License: MIT License

Python 0.19% Jupyter Notebook 99.81%
tensorflow object-detection efficient-det tfod-api tfod keras blood-cells detection medical-image-processing medical-diagnosis

blood-cell-detection-tfod-2.0's Introduction

Blood-Cell-Detection-TFOD-2.0

This project demonstrates the use of TensorFlow Object Detection API to automatically detect Red Blood Cells (RBCs), White Blood Cells (WBCs), and Platelets in each image taken via microscopic image readings.

The dataset used in this project was collected from here.

The project directory structure looks like:

.
├── BCCD-Dataset
│   ├── test
│   └── train
├── LICENSE
├── README.md
├── annotations
│   └── label_map.pbtxt
├── assets
│   └── example.jpeg
├── export_tflite_graph_tf2.py
├── exporter_main_v2.py
├── generate_tfrecord.py
├── model_main_tf2.py
├── models
│   └── pipeline.config
├── output_images
│   ├── four.png
│   ├── one.png
│   ├── three.png
│   └── two.png
└── results_graph
    ├── classification_loss.png
    └── total_loss.png

I followed the official TensorFlow Object Detection API documentation to kickstart the training process on Google Colab Pro using Cloud GPU to export the inference graph.

I used a EfficientDet D0 based architecture,since it yields a pretty good [email protected] of around 90.14%.
The results_graph folder contains the graph classification_loss during training.

Source: https://arxiv.org/abs/1911.09070

Sample Image

Inference

Here are some results after running the trained model on some test images:


Results


[email protected]


Classification Loss

Further undertakings

  • Optimise the model using the OpenVINO toolkit
  • Convert the saved_model to .tflite
  • To be paired with microscopes used by pathologists

Acknowledgements

I am thankful to Sayak Paul for guiding me in this project.

Developed & Maintained by

👨 Sayan Nath

blood-cell-detection-tfod-2.0's People

Contributors

sayannath avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

hrithiksingh518

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.