PRJ_007
007
Computer Vision · Healthcare Authentication · Machine Learning
Proof Remote Drug-Test Auth
Proof — RecoveryTrek · Remote · Feb, 2024 – Mar, 2025
Overview

Built a real-time face and hand detection pipeline for drug-collection authentication, served through FastAPI and engineered for low false-positive tolerance given the clinical cost of errors. The Proof API covers facial comparison, real-time face detection over WebSockets, ID reading (OCR) and verification, barcode scanning, and chunked video upload to S3. I trained and tuned the detection models and, after a teammate left, became the full-stack ML engineer and frontend lead.

The Problem

RecoveryTrek needed to authenticate self-administered drug tests remotely and cut the manual effort of reviewing them — replacing in-person testing that required travel and a human observer, while keeping clinical-grade trust.

Key Metrics
≥85%
Manual review effort cut
100%
Flagged tests human-reviewed
24/7
Test verification
50k+
Annotated training frames
Process & Timeline
Phase 1
Detection models
Trained and tuned YOLO segmentation and Detectron2 detection models, plus an OralTox strip-reader for colour panels read through ordinary webcams.
Phase 2
Real-time API
Served inference through a versioned FastAPI with WebSocket face detection, ID/OCR reading, barcode scanning and S3 video upload.
Phase 3
Lead the delivery
After the frontend owner left, took over as full-stack ML engineer and frontend lead to keep the platform moving to launch.
Phase 4
Fix the upload bug
Diagnosed lost long-test videos via Sentry and reworked upload to be chunked and resumable, keeping a local copy until the server confirms receipt.
Tech Stack
PythonFastAPIYOLODetectron2OpenCVMediaPipeReactTypeScriptAWS SageMakerS3
Critical Self-Evaluation
We missed the deadline when the frontend owner left mid-project and inherited code proved buggier than planned. I took over as frontend lead and pushed to keep delivery moving — but I should have stopped and re-planned openly with the client, giving them a clear choice between moving the date, cutting scope or adding capacity. I now audit inherited code in week one as a costed line item, treat single-person ownership as a day-one risk, and keep a short risk register the client sees in every update.