JAKEDCL

Compact Pickup

A VHS-styled catalog of compact and mid-size U.S. pickups, with a photo scanner that runs vision models in the visitor's browser to identify a truck from a picture.

Visit site (opens in a new tab)GitHub source (opens in a new tab)

Compact Pickup started as a React class project and grew into a full catalog of the compact and mid-size pickups sold in the U.S. Its scanner identifies a truck from a photo without any paid AI calls.

Highlights

  • Manufacturer and model pages, a timeline, spec filters, a trivia game and a 3D model viewer built with React Three Fiber.
  • The scanner runs in the browser: it finds the vehicle in the photo, crops it, and turns it into a 768-dimension embedding with a fine-tuned SigLIP2 model.
  • Only that embedding is sent to the server, not the photo. Postgres with pgvector compares it with approved reference photos and ranks the closest truck models.
  • In the project's documented held-out test of 99 photos, it named the right truck first 90 times and had it in the top three 98 times.
  • A private dashboard for uploading, reviewing and approving reference photos, stored privately in Cloudflare R2 with duplicate detection.
  • Visitors can opt in to submit their photo to a review queue, and scans and submissions have per-visitor and sitewide limits.

Built with

Next.js, TypeScript, React Three Fiber, Sanity, transformers.js, ONNX Runtime (WebAssembly), Neon Postgres with pgvector, and Cloudflare R2.