vccs
Vue 3용 차트 컴포넌트 모음, Recharts에서 포팅
사진을 입력하면 의류의 유전체를 재구성하고 신뢰도와 이유를 알려주는 의류 포렌식 도구
A garment forensics instrument. Feed it photographs; it reconstructs the garment's genome using real computer vision, and tells you exactly how confident it is and why.
데이터TypeScript · PythonGitHub @yasiraza03온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기A garment forensics instrument — reconstructs a fabric's genome (weave, colour, texture, weight, finish) from a photograph using real signal processing, with every reading tiered by how far it can be trusted. No models, no datasets, no weights.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
A garment forensics instrument. Photograph a piece of cloth; kapra reconstructs
its genome — weave, colour, texture, weight, finish — using real signal
processing, and tells you exactly how far each reading can be trusted.
Not an AI wrapper. There is no model guessing on your behalf: a 2D Fourier
transform measures the weave, k-means in CIELAB measures the dye, Local Binary
Patterns measure the texture. Every claim carries the measurement that produced
it, and the instrument says plainly where its knowledge stops.README 전문 보기 ↗A garment forensics instrument. Photograph a piece of cloth; kapra reconstructs its genome — weave, colour, texture, weight, finish — using real signal processing, and tells you exactly how far each reading can be trusted.
Not an AI wrapper. There is no model guessing on your behalf: a 2D Fourier transform measures the weave, k-means in CIELAB measures the dye, Local Binary Patterns measure the texture. Every claim carries the measurement that produced it, and the instrument says plainly where its knowledge stops.
Zero model weights. The core runs on NumPy and OpenCV, locally. Clone it, run one command, and it works — offline, with no API keys.
A report opens in plain English, then shows the measurements behind it:
A midweight indigo twill weave.
Fabric Twill weave Colour indigo #33466bWeight Midweight Threads step across to form a diagonal. Think denim, chino. Dyeing is very even (91% consistency). ~200–320 g/m² — an estimate; a photo has no scale.
Below that sit the real figures: the Fourier power spectrum, Gabor orientation energies, the CIELAB palette, LBP histograms, confidence meters and the evidence list for every gene.
Every claim wears a tier, and the schema refuses to serialise one without evidence — so an unsupported claim cannot reach the page.
| Tier | Meaning | Example |
|---|---|---|
MEASURED | Computed directly from pixels. Deterministic, reproducible. | Thread repeat via FFT, CIELAB palette, LBP texture |
ESTIMATED | A prediction carrying confidence and, where meaningful, an interval. | Weave family, weight class (g/m² range) |
INFERRED | A hypothesis, labelled as one, citing what led to it. | Construction & process (planned) |
The split is deliberate. The thread repeat is read to within ~1% of truth, so it
is MEASURED. Naming the interlacing is a judgement, so it is ESTIMATED. GSM
cannot be known from a photograph at all, so it is reported as a class with a
wide interval and low confidence — never as a fabricated number.
| Gene | Tier | Method |
|---|---|---|
| Weave Structure | MEASURED | 2D FFT · GLCM · Gabor bank |
| Weave Family | ESTIMATED | Off-axis lattice ratio (√2 plain, √5 satin, 2√2 twill) |
| Colour & Dye Evenness | MEASURED | CIELAB k-means · CIEDE2000 |
| Texture Fineness | MEASURED | Local Binary Patterns · Laplacian energy |
| Finish & Sheen | MEASURED | Specular-highlight distribution |
| Weight Class | ESTIMATED | Thread density from the measured repeat |
Validated results are in docs/BENCHMARKS.md.
Requires Node 20+, pnpm, and Python 3.12+.
pnpm install
pnpm run bootstrap # builds the schema, creates the venv, installs the CV stack
pnpm run dev # engine :8000 + web :3000, one terminal
Open http://localhost:3000 and sequence one of the six demo swatches — no photo of your own required.
pnpm run devruns both servers with prefixed output; Ctrl+C stops both.
apps/
web/ Next.js front end — editorial multi-page site + the forensic report
engine/ FastAPI CV service — the extractors, orchestrator and persistence
packages/
genome-schema/ the versioned Genome schema: ONE source of truth (TS + Python)
ui-tokens/ design tokens: bone paper, ink, cyanotype bands, oxblood accent
docs/ plan, architecture, data/licences, benchmarks, genome spec, deployment
scripts/ dev.mjs (run everything) · bootstrap.mjs (set up a fresh clone)
packages/genome-schema holds the canonical JSON Schema. TypeScript types are
generated from it; the Python Pydantic models mirror it, and a conformance
test fails if they drift. The engine exposes extractors as plugins — adding a
gene is adding one file that registers itself; the orchestrator discovers it,
runs it, times it, and isolates its failures into warnings. See
docs/ARCHITECTURE.md.
The six specimens in apps/web/public/swatches/ are generated, not stock
photos — real interlacing patterns rendered with yarn shading, slub and fibre
fuzz by apps/engine/scripts/generate_swatches.py. No licensed assets, and the
instrument reads them exactly as it reads a real macro.
Regenerate them with:
cd apps/engine && .venv/Scripts/python scripts/generate_swatches.py
pnpm run typecheck && pnpm run lint && pnpm run test && pnpm run build
cd apps/engine && .venv/Scripts/python -m pytest -q
TypeScript strict (with exactOptionalPropertyTypes), ruff, mypy --strict,
pytest, vitest, and GitHub Actions across both toolchains.
Web on Vercel; the Python engine on any container host (Render has a real free
tier and a render.yaml blueprint is included).
See docs/DEPLOYMENT.md.
Six genes live across two tiers, end to end: upload → analysis → stored genome →
report → archive. What it deliberately cannot do — fibre content, true GSM,
brand or authenticity — is documented on /method and in
docs/DATA.md.
Research use. Dataset licences for the planned ESTIMATED classifiers are
documented rather than glossed over.