Commit History

Add scene-harmonisation final pass: match the photo's grain + colour cast over the swapped head so the GAN-smooth face/hair stop looking synthetic/pasted and read as photographed with the scene
4b38f72
Running

aditya-rAj19 commited on

Hair robustness (100-img batch): lighting match only DARKENS hair (no grey wash on bright bg) + conservative grey-edge trim that won't cut lit/highlighted hair
1addd52

aditya-rAj19 commited on

Fix facial discolour patches: restrict the neck/body skin pass to strictly below the chin (it was recolouring lips + cheek-ring -> patches on the face)
c5fbe15

aditya-rAj19 commited on

Hair edge: soft strand edge for both paths (loosen clamp) + remove portrait grey crown by COLOUR not cropping -> no website grey line AND no hard cut-out, local/HF identical
5f1915f

aditya-rAj19 commited on

Fix website grey hair line: raise scene-fill threshold + clamp matte to confident-hair extent (kills the faint grey crown haze); drop guided filter for local/HF parity (no ximgproc on HF)
2cf928a

aditya-rAj19 commited on

Hair/forehead high-precision edge via guided filter (edge-aware matte) + gentle neck/body skin pass; opencv-contrib-headless on HF for ximgproc
1544cc7

aditya-rAj19 commited on

Hair edge: composite with BiSeNet SOFTMAX hair matte (soft strand alpha) instead of a feathered binary mask -> real wispy hair edges, no cut-paste look, both genders
6ae45af

aditya-rAj19 commited on

Hair edge: smoother feather (0.025) for natural soft edges both genders, no hard cut-off; gentler lighting keeps it grey-free
324e77e

aditya-rAj19 commited on

Hair edge: crisper feather + erode-to-solid + gentler lighting match -> natural hairline, no grey fringe on dark hair
0d2a722

aditya-rAj19 commited on

Hair blend: fill portrait grey padding with the scene before feathering (kills the blurry pasted halo) + tighter edge feather -> natural hair edges
34e8dd6

aditya-rAj19 commited on

Hair swap: run Laplacian blend BEFORE hair (it was overwriting transferred hair with target's); opaque core + soft edge + recolour residual old hair for a seamless blend, both genders
e8b68af

aditya-rAj19 commited on

Skin tone: single uniform LAB offset over whole skin (no gate/per-region) -> no patches; verified clean across 10 tones light-to-dark, strength 0.92
8478059

aditya-rAj19 commited on

Skin tone: recolour face-skin + body to SOURCE complexion (sampled from clean parsed skin, lips/eyes excluded, relative luminance gate) — clean on normal faces
ddb96a3

aditya-rAj19 commited on

Skin tone: leave face untouched (swap already source-toned), only lift neck/arms/hands to match face — fixes blue/blotchy face patch
e711814

aditya-rAj19 commited on

Move skin-tone match to final pipeline step so the Laplacian blend can't undo it (output skin now matches source across whole body); strength 0.9
5b7670e

aditya-rAj19 commited on

Skin tone: drive face+neck+body to SOURCE complexion (per-region delta), with luminance gate so beard/brows don't go blue
e3164c8

aditya-rAj19 commited on

Skin tone: blend across whole body (face+neck+arms+hands) via adaptive chroma mask, clothes/background excluded
9d2db57

aditya-rAj19 commited on

Fix close-up selfie detection: pad margin so face-fills-frame photos are found (0 faces -> crude paste was the no-hair/skin bug)
f0e4246

aditya-rAj19 commited on

Fix hair composite: widen parse crop + region clamp so long hair transfers into scene (re-enable hair by default)
1940cda

aditya-rAj19 commited on

Hair swap back to opt-in: in-scene hair composite loses the hair (verified)
d189e1b

aditya-rAj19 commited on

Enable source hair+neck transfer by default (HairFastGAN on GPU, BiSeNet fallback)
8bcbc72

aditya-rAj19 commited on

Remove percentage from loading bar
d69a33b

aditya-rAj19 commited on

Loading bar: motivational admission-nudging messages instead of process steps
1d240a0

aditya-rAj19 commited on

Tighten skin-tone match 0.75 -> 0.85 (closer to source; glasses transfer already on)
85ce30c

aditya-rAj19 commited on

Redesign loading tab: friendly messages (no internal pipeline jargon) + spinner/percentage
afbdbab

aditya-rAj19 commited on

Default to the clean face swap; make head-swap & hair-swap opt-in
ca509be

aditya-rAj19 commited on

Auto de-roll tilted source faces (eye-line alignment) before swap
8eed89d

aditya-rAj19 commited on

Add batch QA test harness (scripts/batch_test.py)
8a16253

aditya-rAj19 commited on

Wire HairFastGAN (GPU) into the swap pipeline for realistic hair transfer
75fd366

aditya-rAj19 commited on

GPU: 1536px working res on CUDA + GPU deploy files (Dockerfile.gpu, requirements-gpu.txt)
136db11

aditya-rAj19 commited on

Enable GPU for InsightFace: auto-add CUDA12 + cuDNN9 DLL dirs on Windows
e323c6f

aditya-rAj19 commited on

Swap only the main subject + always run face swap (fixes the mess)
4a2b4cf

aditya-rAj19 commited on

Retry HF push on transient failures (Space busy building)
2499381

aditya-rAj19 commited on

Resolve all project errors: clean lint, tests, imports
29b87a5

aditya-rAj19 commited on

Revert swap-quality regressions: skin 0.92->0.75, glasses face-swap-path only
7d36805

aditya-rAj19 commited on

Fix: list_locations resilient when message column missing (was showing 0)
83651d7

aditya-rAj19 commited on

Custom per-location result messages + unique defaults; remove em-dashes & "4K"
0550cee

aditya-rAj19 commited on

Role permissions + tablet-width 2-col layout
a2ad15e

aditya-rAj19 commited on

Compact + responsive Generate page: fits one screen, no scroll
5dcf687

aditya-rAj19 commited on

Set ICT logo as favicon and 'ICT Department' as the browser tab title
fea7c85

aditya-rAj19 commited on

Remove DeepFace Studio badge from Generate page header
8d6bbb4

aditya-rAj19 commited on

Harden HF deploy workflow: fail clearly if HF_TOKEN missing, reset remote
45d77bd

aditya-rAj19 commited on

Redesign Generate page (centered single-column + header), stronger skin-tone match
25bb132

aditya-rAj19 commited on

Fix core swap: auto-download InsightFace buffalo_l + glasses in both paths
6ce5ccf

aditya-rAj19 commited on

Control Panel: cache-bust locations fetch so photo state always syncs
c65ea82

aditya-rAj19 commited on

Always sync locations: no-store on fetch + backend, lighter cards
1a2c6fa

aditya-rAj19 commited on

Fix landing typewriter: stop clipping Gujarati/Telugu/Hindi vowel marks
0c97f26

aditya-rAj19 commited on

Only migrate locations that have a photo; resequence 1..N + remove stale rows
ef20961

aditya-rAj19 commited on

Add Supabase migration script + explicit sort_order; gitignore Location images
8668f1e

aditya-rAj19 commited on

Set the 3 real Control Panel owner emails (Aditya, Nishith, C D Parmar)
d1e0a12

aditya-rAj19 commited on