feng-x commited on
Commit
58f432a
·
verified ·
1 Parent(s): ed2b0a1

Upload folder using huggingface_hub

Browse files
web_demo/static/app.js CHANGED
@@ -15,9 +15,9 @@ const fingerBreakdown = document.getElementById("fingerBreakdown");
15
  const defaultSampleUrl = window.DEFAULT_SAMPLE_URL || "";
16
  const failReasonMessageMap = {
17
  card_not_detected:
18
- "Card not detected. Place the card beside your hand on a plain, white background (e.g. a sheet of paper), and turn on your phone's flash.",
19
  card_not_parallel:
20
- "Card is not parallel to the camera. Keep your phone directly above and parallel to the card.",
21
  card_near_edge:
22
  "Card appears cropped. Place the entire card within the photo frame.",
23
  hand_not_detected:
 
15
  const defaultSampleUrl = window.DEFAULT_SAMPLE_URL || "";
16
  const failReasonMessageMap = {
17
  card_not_detected:
18
+ "Card not detected. A card of standard credit card dimensions (85.6 × 54 mm) is required as a scale reference to measure your finger width. Place the card beside your hand on a plain white background (e.g. a sheet of paper), and turn on your phone's flash.",
19
  card_not_parallel:
20
+ "Card scale calibration failed. Use a standard-size card (same size as a credit/debit card) and keep your phone parallel to the card.",
21
  card_near_edge:
22
  "Card appears cropped. Place the entire card within the photo frame.",
23
  hand_not_detected:
web_demo/templates/index.html CHANGED
@@ -15,7 +15,7 @@
15
  <p class="hero-kicker">Femometer Smart Ring Sizer</p>
16
  <h1>Upload a photo to quickly measure ring size</h1>
17
  <p class="hero-sub">
18
- Using your hand photo and a standard-size card for scale.
19
  </p>
20
  </div>
21
  <div class="hero-card">
 
15
  <p class="hero-kicker">Femometer Smart Ring Sizer</p>
16
  <h1>Upload a photo to quickly measure ring size</h1>
17
  <p class="hero-sub">
18
+ Use a hand photo with a card of standard credit card dimensions for scale.
19
  </p>
20
  </div>
21
  <div class="hero-card">