All projects
Computer vision · Wardrobe

Drape

Photograph a piece of clothing once. Drape catalogs it, learns how often you wear it, and builds outfits from what is actually in your closet.

Computer VisionMachine LearningReact
aleksns.com/projects/drape
garment classes
14
colors extracted per photo
5
fields to fill in by hand
0
color analysis
On-device
01About

The idea

Most wardrobe apps are abandoned within a week because nobody wants to fill in a form for every sweater. Drape has no form. You take a photo and a vision pipeline does the cataloging: it separates the garment from the background, classifies it, extracts a color palette and works out which seasons it belongs to.

After that it keeps track of your closet for you. It knows what you wore last Tuesday, which jacket you haven't touched since March, and which trousers go with the new shirt. Outfit suggestions come only from your own items, scored on color harmony, season and how recently each piece was worn.

02Capabilities

What it does

03Under the hood

How it works

  1. 01

    Capture

    A photo from the camera or gallery is downscaled on-device before anything else runs.

  2. 02

    Segment

    Border-sampled background is separated from the garment, so the palette reflects the clothing and not your floor.

  3. 03

    Classify

    The garment classifier assigns one of 14 categories and proposes seasons from silhouette and category.

  4. 04

    Catalog

    Palette, category and seasons are saved to your closet, ready to filter and to use in outfits.

04Stack

Built with

The quickest way to understand it is to use it.