⚠️ Problem: Your GLB files (`sunglasses.glb`, `untitled222.glb`) use DRACO compression that can't be decoded by the browser.
🛠️ Solution 1: Blender (Recommended - Free)
2
Import your GLB: File → Import → glTF 2.0 (.glb/.gltf)
3
Export uncompressed: File → Export → glTF 2.0 (.glb/.gltf)
4
IMPORTANT: In export settings, UNCHECK "Compress meshes"
5
Save as: `sunglasses_uncompressed.glb` and `untitled222_uncompressed.glb`
🌐 Solution 2: Online Converter (Quick)
2
Drag & drop your GLB files
3
Download the uncompressed versions
4
Replace old files in your `models/` folder
💻 Solution 3: Command Line (Advanced)
1
Install gltf-transform: npm install -g @gltf-transform/cli
2
Convert files: gltf-transform dedup models/sunglasses.glb models/sunglasses_uncompressed.glb
✅ After Converting:
- Replace the old compressed files with uncompressed ones
- Refresh your face detection app
- Click "🔄 Refresh Models" button
- Your models should now load perfectly! 🎉
💡 Pro Tip: When creating GLB files in the future, always uncheck "Compress meshes" to avoid DRACO compression issues!