πŸ“˜ 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, … and outliers.
  • Browse groups anytime in the Image Viewer. Typically cluster_0 holds 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/ with reference_set/ and scoring_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:

  1. Identity (face consistency) β€” most important
  2. Body & proportions β€” prevents a β€œfloating-head” LoRA
  3. Context robustness β€” prevents overfitting to one scene
πŸ“Š The 40-image plan: aim for at least 40 images for a basic character. (My own characters use ~240 β€” but this plan walks through 40.)

🧠 Tier 1 β€” Face & Identity 18 images

πŸ“·

Close Portraits

8

Framing: head to upper chest Β· Purpose: lock facial identity

Include:

neutral expressionslight smileconfident lookoff-camerastudio lightwindow lighteditorial lightnight/neon
  • face sharp
  • eyes clearly visible
  • no heavy shadows hiding features
🧍

Waist-Up Shots

10

Framing: waist to head Β· Purpose: connect face to upper body

Mix:

casual standingrelaxed posestyle/attitudecandidslight motionclothing variety

Lighting variety is important here.

🧍 Tier 2 β€” Body Understanding 16 images

🚢

Three-Quarter Shots

10

Framing: mid-thigh to head Β· Purpose: body proportions + posture

Variety:

standing relaxedhand on hipwalkingseatedspecial pose
  • keep anatomy natural
  • avoid extreme foreshortening early on
πŸ•΄οΈ

Full Body

6

Framing: full body Β· Purpose: global body coherence

Include:

neutral standingcasual walkspecial place poseindoors fulloutdoor casuallifestyle candid
  • 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:

rock starsportyartistic
🧹

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).

πŸ“š More resources

More tools   πŸ™ GitHub

βš–οΈ MIT License Β© 2026 Gabriel Solis Β· Great datasets make great LoRAs.

Shopping Cart
Scroll to Top