CNN Implementation in Progressive Web App for Automatic Garbage Classification using TensorFlow.js
Abstract
The substantial and continuously increasing volume of global waste has become a critical environmental challenge, exacerbating the inherent inefficiency of conventional manual sorting techniques. This research addresses this problem by developing and evaluating an automated waste classification system using Convolutional Neural Networks (CNN), specifically the VGG16 architecture, integrated into a Progressive Web App (PWA) to enhance accessibility and sorting efficiency. Our primary goal is to deliver an intelligent, lightweight, and cross-platform solution capable of performing client-side inference on diverse devices. The VGG16 model was retrained using transfer learning on a validated public dataset of 10,365 images, comprising two classes (organic and inorganic waste). The trained model was converted to a browser-compatible format, TensorFlow.js, and deployed within the PWA framework which utilizes Service Workers for offline capabilities. Despite the significant challenge posed by the VGG16 model's large size, the system successfully performed client-side inference by prioritizing GPU acceleration and achieved 0.94 overall accuracy on the test dataset2. This result, supported by high F1-scores for both waste categories, confirms that deploying high-accuracy CNN models at the edge using PWA and TensorFlow.js is a feasible and promising strategy for practical, technology-based waste management and environmental education.
The Authors submitting a manuscript do so on the understanding that if accepted for publication, copyright of the article shall be assigned to Jurnal Teknologi Informasi dan Terapan (J-TIT) and Department of Information Technology, Politeknik Negeri Jember as publisher of the journal. Copyright encompasses rights to reproduce and deliver the article in all form and media, including reprints, photographs, microfilms, and any other similar reproductions, as well as translations. Authors should sign a copyright transfer agreement when they have approved the final proofs sent by Jurnal Teknologi Informasi dan Terapan (J-TIT) prior to the publication. The copyright transfer agreement can be download here .
Jurnal Teknologi Informasi dan Terapan (J-TIT) and Department of Information Technology, Politeknik Negeri Jember and the Editors make every effort to ensure that no wrong or misleading data, opinions or statements be published in the journal. In any way, the contents of the articles and advertisements published in Jurnal Teknologi Informasi dan Terapan (J-TIT) are the sole responsibility of their respective authors and advertisers.
Users of this website will be licensed to use materials from this website following the Creative Commons Attribution 4.0 International License. No fees charged. Please use the materials accordingly.

This work is licensed under a Creative Commons Attribution-Share A like 4.0 International License
You are free to:
- Share — copy and redistribute the material in any medium or format
- Adapt — remix, transform, and build upon the material for any purpose, even commercially.
- The licensor cannot revoke these freedoms as long as you follow the license terms.





