waste-classifier-v2 / server.py

Commit History

Eliminate image squeezing by forcing square cropping in both preprocessing and browser bypass paths
bc19721

Atul Verma commited on

Fix model loading by downloading snapshot and renaming .pth weight file
0cf8192

Atul Verma commited on

Shift classification model to ResNet-50 ConvNet architecture with Softmax activation and French-to-English translation
88ed8b9

Atul Verma commited on

Restore confidence threshold check to 75% per user request
181979f

Atul Verma commited on

Use sigmoid activation on SigLIP2 logits to match sigmoid loss training
c67bc67

Atul Verma commited on

Add /api/debug_crop endpoint to verify AI input frames
25450ae

Atul Verma commited on

Fix missing glass category mapping and lower confidence threshold to 40% for SigLIP2 accuracy
379e9de

Atul Verma commited on

Completely clean up and remove all legacy models and YOLO references, leaving SigLIP2 as the sole classifier
704c7a0

Atul Verma commited on

Bypass server-side cropping for browser-uploaded frames to prevent double cropping
df1744a

Atul Verma commited on

Optimize classification latency and fix canvas coordinate cropping scaling bug
15c1a49

Atul Verma commited on

Integrate YOLOv8 for deep-learning-based object detection and crop
b5e7ad5

Atul Verma commited on

Restore original dark blue/violet theme and re-integrate features
0d3cd43

Atul Verma commited on

Deploy waste classifier to Hugging Face Spaces (clean binaries)
43e8958

Atul Verma commited on