Works

What I Wore Today?

The day’s outfit, logged from a full-length photo taken at the front door

A Raspberry Pi and camera by the front door take a full-length photo before I head out and log the day’s outfit automatically. An AI reads the photo and matches what I was wearing against the clothes I own. Together with earlier records, it has now logged more than 2,000 days. A tablet inside the closet also shows today’s schedule and “the outfit I wore the last time I met the people I’m seeing today,” helping me choose what to wear every day.

Video

How it works

  1. Entrance

    Detect a person

    PIR motion sensor

  2. Entrance

    Take a full-length photo

    A Raspberry Pi 5 with a Sony IMX500 camera recognizes the person and shoots

  3. Server

    Read the clothes and colors

    Gemini identifies garments and colors in the photo

  4. Server

    Match against your wardrobe

    Matches them to the registered wardrobe and saves the record

  5. Entrance / anywhere

    Look back

    Touchscreen at the door, web app, Google Photos, Android tablet

Technology

Camera
Raspberry Pi 5, Picamera2, Sony IMX500, PIR motion sensor, touchscreen
AI
Gemini
Server
Python, FastAPI, SQLAlchemy, PostgreSQL
Frontend
React, TypeScript, Vite, Tailwind CSS
Closet
Android tablet, Fully Kiosk Browser, Home Assistant, SwitchBot motion sensor, Google Calendar
Infrastructure
VPS, Caddy, Tailscale, systemd, Google Cloud Storage, Google Photos
Testing
Pytest, Vitest, Playwright
Enclosure
Laser-cut box (drawings published on GitHub)