Draft
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Agent-Logs-Url: https://github.com/Tryonme-com/tryonyou-app/sessions/be8eb492-b354-4175-8835-c00fe656d376 Co-authored-by: LVT-ENG <214667862+LVT-ENG@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add pilot collection feature to RobertEngineV10
Add RobertEngineV10 fabric physics engine
Apr 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the
RobertEngineV10class — a fabric physics simulation engine for TRYONYOU's virtual try-on pipeline (Patent PCT/EP2025/067317).New:
api/robert_engine.pyFour simulation modules:
_calculate_physics) — Lafayette Factor (drape-based width expansion), Gravity Stretch (up to 15% elongation by GSM), Elasticity Breathing (sinusoidal oscillation)_get_visual_effects) — Silk highlight forfriction < 0.35, fold shadows (3 or 5 by drape threshold), golden scan line on a 2 000 ms cycle whenfit_score < 95get_accessory_render) — Body-anchored (80%of shoulder width) or floating-exhibition mode (18%of canvas), fixedalpha=0.88process_frame) — Orchestrates the above, returns a signed buffer with patent metadata includingrecovery_status(STABLE/DEGRADEDbased on fabric recovery > 85)The
PILOT_COLLECTIONclass attribute defines 5 pilot looks (eg0–eg4) with per-fabric parameters:drape,gsm,elasticity,recovery,friction. Unknownlook_idvalues fall back silently toeg0.New:
tests/test_robert_engine.py36 unit tests across all modules — pilot collection integrity, physics outputs, visual effect triggers, accessory dimension/mode logic, and frame metadata correctness.