search home home person person article article code code construction construction school school Choose a Theme close
light_mode brightness_auto dark_mode

Kavish's Website

menu menu_open
palette
light_mode brightness_auto dark_mode

Trash Segregator

Trash-Segregator is a project that aims to automate the task of waste segregation in public dustbins by classifying waste as either recyclable or non-recyclable. The project uses a machine learning model to classify the waste and is trained on a dataset of images of recyclable and non-recyclable waste. The model is trained using the dataset from Kaggle. The model is then converted to TFLite format which is a lightweight version of TensorFlow that is designed to run on raspberry pi. Using OpenCV the raspberry pi detects if waste has been kept. Then using a few servo motor the segregtion is done automatically.

Rationale

Segregating an object to be discarded/thrown into biodegradable and non-biodegradable waste automatically results in non-biodegradable wastes like degraded plastics contaminating the soil and impacting biodiversity and soil health easily identifiable and hence preventing the issues listed above. Then further the biodegradable waste can be used to make natural manures and fertilizers which will increase the crop yield in agriculture and without decreasing the soil fertility.

Material Used

Procedure/Description

Train the Model - train.py (Optional)

Install dependencies

To start the Segregation program

Controlling the motor to tilt the base plate accordingly

HTTP Server Application to view segregation logs and images

License

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Credits

Great thanks to rayhanzamzamy (on Kaggle) for the dataset.

References

  1. Kerars Image Classification Docs
  2. TensorFlow Lite Docs
  3. Teachable Machine
  4. TensorFlow ModelMaker for Image Classifcation Docs
  5. Kaggle Dataase
© 2024 - Kavish Devar (Build Version: eca9d33bc45c644ce8021ce012ae4d65971cfcf6)
© 2024 - Kavish Devar