Practical overview
When it fits
Use Ecosnap when you have a plastic code to photograph, need disposal guidance for an item, or want to consult advice for a chosen location.
Who it is for
- People seeking disposal guidance for plastic items.
- Developers exploring or deploying an image-based plastic-code recycling app.
Documented uses
- Identify a plastic resin code from a photo.
- Find disposal guidance for a specific item.
- Adjust the location setting to receive tailored recycling advice.
- Keep track of plastic items recycled.
Requirements & limits
The project README describes the hosted app as free to use without signing in. It also documents a Vercel deployment option.
- The image model is trained to recognize seven plastic resin codes, not arbitrary objects.
- Predictions run client-side using TensorFlow.js and a Web Worker, according to the project documentation.
- A self-hosted deployment requires an absolute NEXT_PUBLIC_MODEL_URL and the model’s shard files alongside model.json.
- The documentation says the feedback interface was not connected to a backend.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Prepare a model URL for a Vercel deployment
Configure a hosted model location for an Ecosnap deployment.
Before you start
- The Ecosnap public repository
- A hosted model.json file and its associated shard files
- An absolute URL for the hosted model.json
Steps
Deploy the repository to Vercel using its documented deployment option.
Host model.json and its shard files together at an accessible location.
Set NEXT_PUBLIC_MODEL_URL in the .env file to the absolute model.json URL.
Expected outcome
The deployment configuration points Ecosnap to the hosted model files.
Guide limitations
- The instructions cover deployment configuration, not verification that a deployment or prediction succeeds.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 15 October 2026
- Original website title
- alyssaxuu/ecosnap · Official homepage title · retained in its source language

