Skip to content

[50 MRG] PD calibration wizard with card overlay + fit scale math#109

Open
lb1192176991-lab wants to merge 1 commit into
mergeos-bounties:masterfrom
lb1192176991-lab:feat/pd-calibration-wizard
Open

[50 MRG] PD calibration wizard with card overlay + fit scale math#109
lb1192176991-lab wants to merge 1 commit into
mergeos-bounties:masterfrom
lb1192176991-lab:feat/pd-calibration-wizard

Conversation

@lb1192176991-lab

Copy link
Copy Markdown

What

Adds PD calibration wizard with credit card measurement overlay and unit tests for fit scale math.

  • Card calibration overlay on canvas (use a credit card as reference)
  • estimateFit() PD-to-fit-scale calculation
  • Unit tests for scale math in packages/tryon-js/tests/fit.test.mjs
  • UI improvements for PD slider

Why

Users need an accurate way to calibrate pupil distance for better virtual try-on fit.

Testing

  • Build verified: node scripts/build-pages.mjs
  • Unit tests for fit scale math

Fixes #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[50 MRG] PD calibration wizard (slider + measure)

1 participant