Giter VIP home page Giter VIP logo

s-bonillas / image_recognition_for_microplastics Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 4.0 179.35 MB

Using Machine Learning, Image Recognition, and Computer Vision to detect microplastics in water samples.

Home Page: https://drive.google.com/file/d/18GxVodW9RLRYxYJmZhYK57e5JMzLu4MM/view

License: MIT License

Jupyter Notebook 40.91% Python 0.18% PureBasic 58.45% CSS 0.10% HTML 0.36%
ecology environment imagerecognition machinelearning microplastics

image_recognition_for_microplastics's Introduction

app_image

Indisposable: Microplastic Detection and Avoidance

MIT contributors

Project Video:

https://drive.google.com/file/d/18GxVodW9RLRYxYJmZhYK57e5JMzLu4MM/view

Description

Using Machine Learning, Image Recognition, and Computer Vision to detect microplastics in water samples.

Table of Contents

Installation

The following need to be installed to successfully run the model and aPI.

Google Colab Flask API
tensorflow tensorflow
drive Flask
numpy numpy
os os
skimage.color Pillow
matplotlib
sklearn
MobileNetV2

A copy of Google Colab notebook is saved in the Github in the P4_MicroPystics.ipynb file.

  • H5 and TR versions are also available on the Github.

Data

Source Data

Results and evaluation

With 781 image samples of microplastics and 781 control samples, our model reached an accuracy of 70.9% with 59.0% loss.

Our model utilized Transfer Learning by using MobileNetV2. The model iteself is Sequential, with four Dense Layers, combiled using Adam. And cooked for 50 epochs. The layers are arranged a such:

  • Layer 1: 256 nodes, relu activation
  • Layer 2: 128 nodes, elu activation
  • Layer 3: 64 nodes, leaky_relu activation
  • Layer 4: 1 node, sigmoid activation

image

image

image

image

The model is decently reliable in finding microplastics, however it is prone to false positives. Additional image data would be needed for more accurate predictions.

image image

License

MIT

Dashboard

Presentation

Contact

If there are any questions or concerns, we can be reached at:

image_recognition_for_microplastics's People

Contributors

s-bonillas avatar velvetklr avatar aspenjack avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.