Play 73 β Waste Recycling Optimizer β»οΈ
AI waste management β material classification (CV), contamination detection, route optimization, circular economy tracking.
Build an intelligent waste management system. ONNX vision models classify materials (9 categories), contamination detection prevents batch rejection, OR-Tools optimizes collection routes, and IoT sensors trigger dynamic collection scheduling.
Quick Start
cd solution-plays/73-waste-recycling-optimizer
az deployment group create -g $RG -f infra/main.bicep -p infra/parameters.json
code .
# Use @builder to implement, @reviewer to audit, @tuner to optimizeArchitecture
π Full architecture details
Pre-Tuned Defaults
- Classification: 9 categories Β· confidence threshold 0.75 Β· ONNX < 100ms
- Contamination: 4 types (food, liquid, mixed, hazardous) Β· auto-reject hazardous
- Routes: TSP with time windows Β· 70% fill trigger Β· 40 max stops
- Recovery: Plastic 50% Β· Metal 70% Β· Paper 65% Β· Glass 80% Β· Organic 60%
DevKit (AI-Assisted Development)
| Primitive | What It Does |
|---|---|
agent.md | Root orchestrator with builderβreviewerβtuner handoffs |
copilot-instructions.md | Waste AI domain (CV pipeline, contamination, route optimization pitfalls) |
| 3 agents | Builder (gpt-4o), Reviewer (gpt-4o-mini), Tuner (gpt-4o-mini) |
| 3 skills | Deploy (180+ lines), Evaluate (130+ lines), Tune (220+ lines) |
| 4 prompts | /deploy, /test, /review, /evaluate with agent routing |
Cost Estimate
| Service | Dev | Prod | Enterprise |
|---|---|---|---|
| Azure AI Vision | $0 | $150 | $500 |
| Azure OpenAI | $20 | $150 | $500 |
| Azure IoT Hub | $0 | $25 | $250 |
| Container Apps | $10 | $100 | $280 |
| Cosmos DB | $3 | $50 | $180 |
| Azure Maps | $5 | $60 | $200 |
| Key Vault | $1 | $3 | $5 |
| Application Insights | $0 | $20 | $80 |
| Total | $39 | $558 | $1,995 |
π° Full cost breakdown
vs. Play 69 (Carbon Footprint Tracker)
| Aspect | Play 69 | Play 73 |
|---|---|---|
| Focus | Scope 1/2/3 emissions tracking | Material recovery optimization |
| AI Role | Emission factor estimation | Computer vision classification |
| Data Flow | Reports β scoring | Images β classification β sorting |
| Infrastructure | Cosmos DB + Functions | Custom Vision + IoT Hub + Maps |
π Full documentation Β· π frootai.dev/solution-plays/73-waste-recycling-optimizerΒ Β· π¦ FAI Protocol
FAI Manifest
| Field | Value |
|---|---|
| Play | 73-waste-recycling-optimizer |
| Version | 1.0.0 |
| Knowledge | F1-GenAI-Foundations, O2-AI-Agents, T3-Production-Patterns |
| WAF Pillars | responsible-ai, cost-optimization, performance-efficiency, reliability |
Last updated on