P
PlasticSense.ai
helps users dispose of waste using real-time camer
Created on 26th March 2026
•
P
PlasticSense.ai
helps users dispose of waste using real-time camer
The problem PlasticSense.ai solves
Waste sorting today is:
manual → slow, inconsistent, unsafe
error-prone → contamination reduces recyclability
inefficient → valuable recyclable material gets lost
There is no real-time intelligence layer that tells:
what material is present
how recyclable the batch is
how confident the system is
how much volume is being processed
Challenges we ran into
- Dataset Imbalance (LDPE issue)
Problem: LDPE class had very few samples
Impact: Model biased toward majority classes, poor LDPE recall
Solution: Class-weighted loss + oversampling + augmentation - Dataset Mismatch
Problem: Combined datasets had different label structures (organic vs plastic-specific)
Impact: Inconsistent training signals
Solution: Unified label mapping + cleaned overlapping/ambiguous classes - Image → Video Generalization
Problem: Model trained on static images but deployed on live video
Impact: Performance drop due to motion blur, lighting, occlusion
Solution: Augmentation (blur, brightness, occlusion) + frame sampling - Real-Time Latency
Problem: Running detection + classification sequentially increased latency
Impact: FPS drop, non-smooth live feed
Solution: Mixed precision (FP16), threshold filtering, skipping redundant frames - Detection–Classification Pipeline Sync
Problem: YOLO outputs bounding boxes while classifier expects cropped images
Impact: Misaligned crops → wrong classification
Solution: Proper scaling, bounding box normalization, consistent preprocessing - Overlapping Objects
Problem: Waste items overlap on conveyor
Impact: Missed or merged detections
Solution: Tuned detection thresholds + accepted limitation of bounding-box approach - Confidence vs Accuracy Misinterpretation
Problem: Initially tried showing “correct vs incorrect” per frame
Impact: Conceptually wrong (no ground truth in live feed)
Solution: Switched to confidence-based “cleared vs flagged” system - Live Dashboard Design
Problem: Static UI didn’t reflect real-time inference
Impact: Poor interpretability
Solution: Built live stats pipeline (objects, confidence, alerts, class breakdown) - Backend–Frontend Sync
Problem: No real-time communication of inference stats
Impact: UI not updating with model output
Solution: Created /live_stats endpoint + polling mechanism - Model Accuracy Plateau (~70–73%)
Problem: Performance saturated early
Impact: Limited reliability
Solution: Fine-tuning (ConvNeXtV2), better augmentation, calibration (temperature scaling) - Low-Confidence Handling
Problem: Model forced predictions even when uncertain
Impact: False positives
Solution: Confidence thresholding + “flag for review” system - Multi-Object Handling
Problem: Multiple objects per frame
Impact: Need per-object tracking and summarization
Solution: Per-frame aggregation (counts, class distribution) - Deployment Constraints
Problem: Need to run on edge devices with limited compute
Impact: Model too heavy initially
Solution: Considered quantization, lighter inference pipeline - Frame Redundancy in Video
Problem: Consecutive frames nearly identical
Impact: Wasted compute
Solution: Frame skipping / sampling strategy - Real-World Variability
Problem: Dataset is clean, real waste is dirty, deformed
Impact: Generalization gap
Solution: Aggressive augmentation + acknowledging limitation - Threshold Tuning
Problem: Low threshold → too many false detections
Impact: noisy predictions
Solution: Tuned confidence threshold dynamically - Integration Complexity
Problem: Combining IP camera + backend inference + frontend display
Impact: Synchronization issues
Solution: Continuous streaming + polling-based updates
Technologies used
Discussion
Builders also viewed
See more projects on Devfolio