π ELSAC User Guide
Organize, score, and curate your character images for consistent LoRA training.
Run python app.py and open http://127.0.0.1:7860. Projects live in characters/ next to the app.
π Step 1 Β· Project Setup
- Create a New Project β enter your character's name in Create New Character.
- Upload Raw Images β drag images into Upload Raw Images, then click Create Project. ELSAC builds
characters/<name>/raw_images. - Resume later β pick a project under Resume Existing Project and click Load Project. Progress is restored automatically.
π Step 2 Β· Clustering
- Click Run Clustering β CLIP + HDBSCAN group similar images into
cluster_0,cluster_1, β¦ andoutliers. - Browse groups anytime in the Image Viewer. Typically
cluster_0holds the main identity. - Re-running replaces the previous result β no stale folders.
β Step 3 Β· Single-Reference Scoring
- Pick a cluster folder β Load Cluster Images β click your best, most representative image.
- Click Run Single-Reference Scoring β every image is compared to that reference.
- Results are copied into buckets under
scored/general_likeness/: 95_plus_godtier90_95_excellent85_90_good80_85_okbelow_80_review
π€ Step 4 Β· Face Likeness Scoring
A specialized pass for facial consistency β ELSAC detects, crops, and aligns faces before comparing.
- Pick a General Likeness bucket and load its images.
- Choose a reference with a clear, front-facing face.
- Click Run Face Likeness Scoring β output goes to
scored/face_likeness/.
π₯ Step 5 Β· Multi-Reference Scoring (Recommended)
The strongest pass: 4β8 references are combined into one averaged identity.
- Load images from Face Likeness buckets (or other scored folders).
- Click to preview, then Add to Selection 4β8 images with varied angles, lighting, and expressions.
- Click Run Multi-Reference Scoring β results in
scored/multi_likeness/withreference_set/andscoring_results.csv.
π¬ Step 6 Β· Technical Analysis
- Pick the target folder (multi_likeness, general_likeness, or face_likeness).
- Click Run Technical Analysis β metrics: Blur (Laplacian), Face Ratio, Head Yaw.
- CSVs land in
analyzed/:quality_analysis_*.csv+quality_summary_*.csv. Preview & download them in the Step 6 tabs.
Final tips
- For your best set, draw from 95_plus_godtier and 90_95_excellent in
scored/multi_likeness/. - Prefer images labeled excellent or good in Step 6 reports.
- Face-based scores (Steps 4β5) are more identity-specific than whole-image scores.
- Wide / full-body shots are often flagged "face too small" β use it as a framing filter, not a blanket reject.
πΌοΈ Use the Image Viewer anytime to browse every project folder Β· π The Progress panel tracks completed steps and survives reloads.
π Dataset Recommendations
What to shoot (and collect) so your LoRA learns the character β not just one scene.
Core principle
Your dataset must teach three things:
- Identity (face consistency) β most important
- Body & proportions β prevents a βfloating-headβ LoRA
- Context robustness β prevents overfitting to one scene
π§ Tier 1 β Face & Identity 18 images
Close Portraits
8Framing: head to upper chest Β· Purpose: lock facial identity
Include:
- face sharp
- eyes clearly visible
- no heavy shadows hiding features
Waist-Up Shots
10Framing: waist to head Β· Purpose: connect face to upper body
Mix:
Lighting variety is important here.
π§ Tier 2 β Body Understanding 16 images
Three-Quarter Shots
10Framing: mid-thigh to head Β· Purpose: body proportions + posture
Variety:
- keep anatomy natural
- avoid extreme foreshortening early on
Full Body
6Framing: full body Β· Purpose: global body coherence
Include:
- face still reasonably visible
- avoid tiny distant shots
π Tier 3 β Lifestyle Personality 6 images
Inject character flavor with images special to your character. Example β a rockstar who loves art and sports:
Final reminders
- Quality over quantity β a sharp, consistent 40 beats a messy 200.
- Run Step 6 (Technical Analysis) to catch blur and tiny faces before training.
- Your final set = overlap of high likeness (Steps 3β5) and high quality (Step 6).
βοΈ MIT License Β© 2026 Gabriel Solis Β· Great datasets make great LoRAs.
