The challenge
Help identify missing and extra items in visual checks that usually require manual review.
The solution
Users configure the expected kit contents, upload media and compare detections against expected items.
Main features
- Expected kit composition configuration.
- Server-side image and video sample analysis.
- Quantity comparison, individual history and export.
Architecture
Python and Django with PostgreSQL; server-side inference using OpenCV DNN and YOLOX-s ONNX on CPU.
- Image or video upload
- Django
- OpenCV + YOLOX
- Comparison and review
Decisions and lessons learned
- Inference runs on the server without requiring a paid AI API.
- Results require human interpretation because detection can produce false positives and negatives.
- History and annotated images are isolated by user.
Scope and limitations
Analysis depends on the categories recognized by the model. Results require human review.
Availability
- Source code
- Public
- Application
- Sign-in required
- Case study
- Available
- Status
- Published
Context and problem
Checking by hand whether a kit has every item takes time and fails through oversight. ConfereVision compares what a photo or video shows with the kit's expected composition.
How it works
- Kit setup (item and quantity)
- Photo or video upload
- Detection with YOLOX-s (OpenCV)
- Comparison with expected
- Missing and extra items, history
Business rules
- JPEG or PNG photos up to 16 MP and 30 MB, with EXIF orientation fix.
- Video up to 30 MB, first 15 seconds only, one sample per second. Approval requires the last three samples to match.
- Detection with a 0.45 confidence threshold and 26 categories available to compose a kit.
- Per-user analysis limit and login attempt limit.
Technical challenges and solutions
- Challenge: Detecting objects without a paid AI service. Solution: A YOLOX-s ONNX model from OpenCV Zoo running on CPU on the server, downloaded with SHA-256 verification.
- Challenge: Running inference on serverless hosting. Solution: Per the README, a Python function on Vercel with the embedded model and persistent PostgreSQL on Neon.
- Challenge: Not promising more than the model delivers. Solution: Missing and extra items are treated as hints for review. The README documents a case where the spoon was not detected and another with no detection at all.
Security and privacy
- Each user sees only their own kits, analyses and annotated images, with ownership checks on the server.
- Public sign-up creates regular users only. Password recovery uses a rotating secret code.
- Per the README, the app refuses to start in production without SECRET_KEY and DATABASE_URL.
Tests and evidence
- 16 application and security tests (python manage.py test core) and vision tests with a geometric flow, per the README.
- The repository examples are spot checks and do not measure accuracy.
Lessons learned
- The hard part of computer vision in a product is communicating uncertainty to the user.
- Separating the detection pipeline (vision.py, detector.py) from the Django layer made each part easier to test.
Current status
Published, with a health endpoint. Accuracy has not been validated for commercial use. Detection depends on the classes the model recognizes.
Documented evidence
- Documented YOLOX-s model
- Image and video analysis workflow
- Computer vision tests available in the repository