School Nail Rules



Borderline result: Ask for another picture (RECHECK)
Rules version: school_rules_v1

Next Experiment: Real Measurement

Right now AI is making a visual judgement. Later we will add a known-size reference beside the finger, calculate pixels per millimetre, locate the fingertip and nail edges, and compare a calibrated free-edge measurement with the school rule.

IMAGE → REFERENCE SCALE → PIXELS PER MM → FINGERTIP EDGE → NAIL EDGE → FREE EDGE PIXELS → MILLIMETRES → COMPARE WITH SCHOOL RULE

Gemini Vision Experiments

API mode: Interactions
Model: gemini-3.6-flash
Gemini configured: Yes
Connection: Not tested
Gemini requests today: 0 / 100


Recent sanitized requests
[
    {
        "request_id": "gem_20260903133650_bec871f44d21",
        "created_at": "2026-09-03T13:37:01+00:00",
        "request_type": "interactions_vision",
        "api_mode": "interactions",
        "interaction_id": null,
        "ok": true,
        "code": null,
        "http_status": 200,
        "google_status": null,
        "google_error_code": null,
        "sanitized_error": null,
        "model": "gemini-3.6-flash",
        "prompt_version": "1",
        "processing_time_ms": 11309.4,
        "input": {
            "sha256": "085fcb0cc2ceb20bbc8dd037858083a15d0ffdd1e3c2857c9191b2d9a9855ac9",
            "width": 564,
            "height": 224,
            "size_bytes": 10651,
            "mime": "image/jpeg"
        },
        "cache_hit": false,
        "school_rules": {
            "rules_version": "school_rules_v1",
            "length_check_enabled": true,
            "maximum_free_edge_mm": 3,
            "visual_tolerance": "normal",
            "cleanliness_check_enabled": false,
            "polish_check_enabled": false,
            "artificial_nail_check_enabled": false,
            "uncertain_policy": "RECHECK",
            "borderline_result": "RECHECK",
            "prompt_behavior": "NORMAL: make a cautious ordinary visual screening; return UNCERTAIN for borderline views."
        },
        "result": {
            "suitable": true,
            "finger_count": 5,
            "finger": {
                "box_2d": [
                    294,
                    395,
                    735,
                    460
                ],
                "tip": [
                    294,
                    432
                ]
            },
            "nail": {
                "visible": true,
                "box_2d": [
                    294,
                    417,
                    360,
                    458
                ],
                "polygon": [
                    [
                        294,
                        432
                    ],
                    [
                        298,
                        421
                    ],
                    [
                        315,
                        417
                    ],
                    [
                        345,
                        418
                    ],
                    [
                        358,
                        428
                    ],
                    [
                        358,
                        442
                    ],
                    [
                        348,
                        455
                    ],
                    [
                        318,
                        458
                    ],
                    [
                        298,
                        450
                    ]
                ],
                "free_edge": [
                    [
                        294,
                        423
                    ],
                    [
                        294,
                        432
                    ],
                    [
                        295,
                        445
                    ]
                ],
                "mask": [
                    [
                        294,
                        432
                    ],
                    [
                        298,
                        421
                    ],
                    [
                        315,
                        417
                    ],
                    [
                        345,
                        418
                    ],
                    [
                        358,
                        428
                    ],
                    [
                        358,
                        442
                    ],
                    [
                        348,
                        455
                    ],
                    [
                        318,
                        458
                    ],
                    [
                        298,
                        450
                    ]
                ]
            },
            "quality": {
                "blur": "low",
                "lighting": "dim",
                "occluded": false
            },
            "school_screening": {
                "status": "LOOKS_ACCEPTABLE",
                "rule_maximum_free_edge_mm": 3,
                "visual_assessment": "The fingernails appear neatly trimmed and short. They are well within acceptable length limits.",
                "confidence": "high",
                "measurement_available": false,
                "requires_calibration_for_mm": true
            },
            "student_message": ""
        },
        "normalized_coordinates": {
            "finger_box": [
                294,
                395,
                735,
                460
            ],
            "finger_tip": [
                294,
                432
            ],
            "nail_box": [
                294,
                417,
                360,
                458
            ],
            "nail_polygon": [
                [
                    294,
                    432
                ],
                [
                    298,
                    421
                ],
                [
                    315,
                    417
                ],
                [
                    345,
                    418
                ],
                [
                    358,
                    428
                ],
                [
                    358,
                    442
                ],
                [
                    348,
                    455
                ],
                [
                    318,
                    458
                ],
                [
                    298,
                    450
                ]
            ]
        },
        "source_coordinates": {
            "finger_box": {
                "x": 222.78,
                "y": 65.86,
                "width": 36.66,
                "height": 98.78
            },
            "finger_tip": {
                "x": 243.65,
                "y": 65.86
            },
            "nail_box": {
                "x": 235.19,
                "y": 65.86,
                "width": 23.12,
                "height": 14.78
            },
            "nail_polygon": [
                {
                    "x": 243.65,
                    "y": 65.86
                },
                {
                    "x": 237.44,
                    "y": 66.75
                },
                {
                    "x": 235.19,
                    "y": 70.56
                },
                {
                    "x": 235.75,
                    "y": 77.28
                },
                {
                    "x": 241.39,
                    "y": 80.19
                },
                {
                    "x": 249.29,
                    "y": 80.19
                },
                {
                    "x": 256.62,
                    "y": 77.95
                },
                {
                    "x": 258.31,
                    "y": 71.23
                },
                {
                    "x": 253.8,
                    "y": 66.75
                }
            ],
            "free_edge": [
                {
                    "x": 238.57,
                    "y": 65.86
                },
                {
                    "x": 243.65,
                    "y": 65.86
                },
                {
                    "x": 250.98,
                    "y": 66.08
                }
            ]
        }
    },
    {
        "request_id": "gem_20260903132034_aedec74cd827",
        "created_at": "2026-09-03T13:20:43+00:00",
        "request_type": "interactions_vision",
        "api_mode": "interactions",
        "interaction_id": null,
        "ok": true,
        "code": null,
        "http_status": 200,
        "google_status": null,
        "google_error_code": null,
        "sanitized_error": null,
        "model": "gemini-3.6-flash",
        "prompt_version": "1",
        "processing_time_ms": 8581.4,
        "input": {
            "sha256": "ea31c0b189b4d90d8126221c89c80c2de790585be6c372edc8ce9462ae4e524b",
            "width": 564,
            "height": 224,
            "size_bytes": 10685,
            "mime": "image/jpeg"
        },
        "cache_hit": false,
        "result": {
            "suitable": true,
            "finger_count": 1,
            "finger": {
                "box_2d": [
                    292,
                    510,
                    529,
                    925
                ],
                "tip": [
                    375,
                    510
                ]
            },
            "nail": {
                "visible": true,
                "box_2d": [
                    300,
                    513,
                    440,
                    570
                ],
                "polygon": [
                    [
                        300,
                        545
                    ],
                    [
                        320,
                        518
                    ],
                    [
                        375,
                        510
                    ],
                    [
                        425,
                        525
                    ],
                    [
                        440,
                        550
                    ],
                    [
                        400,
                        568
                    ],
                    [
                        340,
                        565
                    ]
                ],
                "mask": [
                    [
                        300,
                        545
                    ],
                    [
                        320,
                        518
                    ],
                    [
                        375,
                        510
                    ],
                    [
                        425,
                        525
                    ],
                    [
                        440,
                        550
                    ],
                    [
                        400,
                        568
                    ],
                    [
                        340,
                        565
                    ]
                ]
            },
            "quality": {
                "blur": "low",
                "lighting": "dim",
                "occluded": false
            },
            "student_message": ""
        },
        "normalized_coordinates": {
            "finger_box": [
                292,
                510,
                529,
                925
            ],
            "finger_tip": [
                375,
                510
            ],
            "nail_box": [
                300,
                513,
                440,
                570
            ],
            "nail_polygon": [
                [
                    300,
                    545
                ],
                [
                    320,
                    518
                ],
                [
                    375,
                    510
                ],
                [
                    425,
                    525
                ],
                [
                    440,
                    550
                ],
                [
                    400,
                    568
                ],
                [
                    340,
                    565
                ]
            ]
        },
        "source_coordinates": {
            "finger_box": {
                "x": 287.64,
                "y": 65.41,
                "width": 234.06,
                "height": 53.09
            },
            "finger_tip": {
                "x": 287.64,
                "y": 84
            },
            "nail_box": {
                "x": 289.33,
                "y": 67.2,
                "width": 32.15,
                "height": 31.36
            },
            "nail_polygon": [
                {
                    "x": 307.38,
                    "y": 67.2
                },
                {
                    "x": 292.15,
                    "y": 71.68
                },
                {
                    "x": 287.64,
                    "y": 84
                },
                {
                    "x": 296.1,
                    "y": 95.2
                },
                {
                    "x": 310.2,
                    "y": 98.56
                },
                {
                    "x": 320.35,
                    "y": 89.6
                },
                {
                    "x": 318.66,
                    "y": 76.16
                }
            ]
        }
    },
    {
        "request_id": "gem_20260903122848_02a49695907c",
        "created_at": "2026-09-03T12:28:49+00:00",
        "ok": false,
        "code": "gemini_model_unavailable",
        "http_status": 404,
        "google_status": "NOT_FOUND",
        "google_error_code": 404,
        "sanitized_error": "This model models/gemini-2.5-flash is no longer available to new users. Please update your code to use models/gemini-3.6-flash for the latest features and improvements. We recommend you to use the Interactions API.",
        "model": "gemini-2.5-flash",
        "prompt_version": "1",
        "processing_time_ms": 310.4,
        "input": {
            "sha256": "e3a50eb67f2002cbebb67b582667ec2089d2308d97da652ca56a248b0161b8d1",
            "width": 564,
            "height": 224,
            "size_bytes": 11923,
            "mime": "image/jpeg"
        },
        "cache_hit": false
    },
    {
        "request_id": "gem_20260903122432_b6dbe17a42ea",
        "created_at": "2026-09-03T12:24:33+00:00",
        "ok": false,
        "code": "gemini_model_unavailable",
        "http_status": 404,
        "google_status": "NOT_FOUND",
        "google_error_code": 404,
        "sanitized_error": "This model models/gemini-2.5-flash is no longer available to new users. Please update your code to use models/gemini-3.6-flash for the latest features and improvements. We recommen",
        "model": "gemini-2.5-flash",
        "prompt_version": "1",
        "processing_time_ms": 315.4,
        "input": {
            "sha256": "06e5610e36a80dda493e4443450fe00e1eb72eb7fa1fadaca4afaba50547cc12",
            "width": 564,
            "height": 224,
            "size_bytes": 15530,
            "mime": "image/jpeg"
        },
        "cache_hit": false
    },
    {
        "request_id": "gem_20260903121941_825125b9eaf8",
        "created_at": "2026-09-03T12:19:42+00:00",
        "ok": false,
        "code": "gemini_http_error",
        "sanitized_error": "HTTP 404",
        "model": "gemini-2.5-flash",
        "prompt_version": "1",
        "processing_time_ms": 401.6,
        "input": {
            "sha256": "3adfb83b1c405b6840c60998c2364dcfa1580ef624002127a22df462eca8eb1f",
            "width": 564,
            "height": 224,
            "size_bytes": 15249,
            "mime": "image/jpeg"
        },
        "cache_hit": false
    }
]

Developer / Parent View

Development mode: analysis images are currently being stored on this server for detector improvement. Oldest attempts are automatically removed after 300 records.

Student STEM Lab · Experimental Detectors / Full Hand Detector · Teacher / Presentation Mode · Export Training Dataset

Why doesn't Student Mode automatically find the nail?

Student Mode is collecting the examples that will teach a future AI what a nail looks like. The student's marking is the correct answer, called ground truth.

Ground Truth: The correct answer provided by a person for an AI training example.

20260903_102151_b095e34fd6c4

Reprocess Original ROI with OpenCV Detector — creates a new linked attempt and preserves this record.

Detector Summary

Attempt ID: 20260903_102151_b095e34fd6c4
Detector version: 1.2.0-opencv
Result: Adjust hand
Overall confidence: 76
Processing time: 73.7 ms
Finger orientation: N/A°
Fingertip confidence: N/A
Nail-search dimensions: N/A
Candidates: N/A
Best candidate: N/A
Second candidate: N/A
Score margin: N/A
Representation agreement: N/A
Ensemble agreement: N/A
Final nail confidence: N/A

Visual Detection Pipeline

Click an image for full-size inspection. Missing stages remain visible so detector versions can be compared.

1. Original ROI
Original ROI
2. Analysis Input
Analysis Input
3. Normalized Finger
Not generated by this detector version
4. Finger Segmentation Mask
Finger Segmentation Mask
5. Cleaned Mask
Cleaned Mask
6. Fingertip / Geometry Overlay
Fingertip / Geometry Overlay
7. Nail Search ROI
Nail Search ROI
8. Original RGB Nail Crop
Not generated by this detector version
9. Grayscale
Not generated by this detector version
10. Contrast-enhanced Grayscale
Not generated by this detector version
11. Local Contrast
Not generated by this detector version
12. Saturation Map
Not generated by this detector version
13. Chroma / YCbCr Map
Not generated by this detector version
14. Gradient X
Not generated by this detector version
15. Gradient Y
Not generated by this detector version
16. Edge Magnitude
Not generated by this detector version
17. False-colour Feature Map
Not generated by this detector version
18. Fused Nail Likelihood
Not generated by this detector version
19. Boundary Traces
Not generated by this detector version
20. Legacy Candidate
Not generated by this detector version
21. Fused Candidate
Not generated by this detector version
22. Boundary Candidate
Not generated by this detector version
23. Ensemble Overlay
Not generated by this detector version
24. Final Overlay
Final Overlay
25. OpenCV Original ROI
Not generated by this detector version
26. OpenCV Normalized Finger
Not generated by this detector version
27. OpenCV Fingertip Crop
Not generated by this detector version
28. OpenCV Grayscale
Not generated by this detector version
29. OpenCV CLAHE
Not generated by this detector version
30. OpenCV Bilateral Filter
Not generated by this detector version
31. OpenCV Canny
Not generated by this detector version
32. OpenCV Morphological Gradient
Not generated by this detector version
33. OpenCV Adaptive Threshold
Not generated by this detector version
34. OpenCV Contours
Not generated by this detector version
35. OpenCV Candidate Contours
Not generated by this detector version
36. OpenCV Ellipse Candidates
Not generated by this detector version
37. OpenCV GrabCut
Not generated by this detector version
38. OpenCV Ensemble
Not generated by this detector version
39. OpenCV Final Overlay
Not generated by this detector version

Side-by-side Comparison

Left image comparison
Right image comparison

Overlay Comparison

Compare a map or trace directly over RGB. The images are scaled into the same viewport.

Base representationOverlay representation

Representation Score Table

RepresentationScore / Evidence
GeometryN/A
GrayscaleN/A
Local ContrastN/A
EdgeN/A
SaturationN/A
ChromaN/A
TextureN/A
BoundaryN/A
Highlight PenaltyN/A
FusedN/A
Representation AgreementN/A
Ensemble AgreementN/A

Top Nail Candidates

IDDetectorBBoxAreaWidth ratioLength ratioAspectCenterlineTip distanceBrightness ΔSaturation ΔChroma ΔTextureEdgeBoundaryHighlightGeometryFusedTotalDecision
No candidate diagnostics generated by this detector version.

Human Diagnostic Feedback

Which representation shows the nail most clearly?









What appears to be wrong?








OpenCV Analysis

OpenCV finger contour: N/A
OpenCV orientation: N/A
Internal contours: N/A
Plausible nail contours: N/A
Best nail candidate: N/A
Detector agreement: N/A
Confidence: N/A
Initialization time: N/A ms
OpenCV processing time: N/A ms
Full metadata.json
{
    "scan_mode": "hand",
    "auto_capture": {
        "enabled": false,
        "readiness_checks": 0,
        "finger_first_seen_at": null,
        "stable_started_at": null,
        "captured_at": "2026-09-03T10:21:50.659Z",
        "stable_duration_ms": 0,
        "final_centroid_shift": null,
        "final_area_change_percent": null,
        "final_orientation_change_deg": null,
        "readiness_confidence": null,
        "capture_reason": "manual_developer",
        "rejected_reason_counts": [],
        "latest_readiness": null,
        "state_transitions": [
            {
                "state": "CAMERA_STARTING",
                "at": "2026-09-03T10:21:45.800Z"
            },
            {
                "state": "SEARCHING",
                "at": "2026-09-03T10:21:46.558Z"
            },
            {
                "state": "ANALYZING",
                "at": "2026-09-03T10:21:50.660Z"
            }
        ]
    },
    "camera": {
        "width": 1280,
        "height": 720,
        "frame_rate": 10,
        "facing_mode": "user"
    },
    "roi": {
        "x": 1,
        "y": 0,
        "width": 1279,
        "height": 720
    },
    "user_capture_roi": {
        "coordinate_space": "native_camera_pixels; complete visible preview",
        "x": 1,
        "y": 0,
        "width": 1279,
        "height": 720
    },
    "positioning_guide_roi": {
        "coordinate_space": "native_camera_pixels; visual guidance only",
        "x": 39,
        "y": 43,
        "width": 1202,
        "height": 633
    },
    "detected_finger_roi": {
        "coordinate_space": "analysis_pixels; padded blob bounds",
        "x": 24,
        "y": 0,
        "width": 376,
        "height": 225,
        "horizontal_padding_pixels": 48.9,
        "vertical_padding_pixels": 44.6
    },
    "original_roi": {
        "width": 1279,
        "height": 720
    },
    "analysis": {
        "width": 400,
        "height": 225
    },
    "image_quality": {
        "mean_brightness": 136.49097748720382,
        "laplacian_variance": 758.0613497970484,
        "bright_enough": true,
        "sharp_enough": true
    },
    "segmentation": {
        "raw_skin_pixels": 41370,
        "cleaned_skin_pixels": 41103,
        "cleaned_skin_ratio": 0.4567
    },
    "finger": {
        "detected": true,
        "area_pixels": 39800,
        "bounding_box": {
            "x": 73,
            "y": 1,
            "width": 326,
            "height": 223
        },
        "centroid": {
            "x": 196.84613065326633,
            "y": 136.7212311557789
        },
        "area_ratio": 0.44222222222222224
    },
    "capture_accepted": false,
    "validation_messages": [
        "Keep all fingertips visible and move hand toward center",
        "Spread fingers \u2014 4 fingertip candidates found"
    ],
    "screening_result": "incomplete",
    "processing_time_ms": 73.7,
    "client": {
        "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/152.0.0.0 Safari/537.36",
        "viewport": {
            "width": 1280,
            "height": 585
        },
        "device_pixel_ratio": 1.5
    },
    "detected_hand_roi": {
        "coordinate_space": "analysis_pixels; padded blob bounds",
        "x": 24,
        "y": 0,
        "width": 376,
        "height": 225,
        "horizontal_padding_pixels": 48.9,
        "vertical_padding_pixels": 44.6
    },
    "fingers_detected_roi_note": "Individual nail ROIs are axis-relative within the detected hand component",
    "palm_center": {
        "x": 196.84613065326633,
        "y": 136.7212311557789
    },
    "fingers": [
        {
            "finger_index": 1,
            "label": "Finger 1",
            "fingertip": {
                "x": 101,
                "y": 2,
                "prominence": 126.86363636363636
            },
            "selected_fingertip": {
                "x": 101,
                "y": 2,
                "prominence": 126.86363636363636
            },
            "fingertip_selection_reason": "spatially separated upper-contour peak",
            "orientation_degrees": 54.570415053941005,
            "major_axis": {
                "x": 0.5797019901822656,
                "y": 0.814828572510022
            },
            "endpoint_a": {
                "x": 101,
                "y": 2,
                "prominence": 126.86363636363636
            },
            "endpoint_b": null,
            "finger_width_pixels": 46.57142857142857,
            "nail_search_roi": {
                "bounding_box": {
                    "x": 86,
                    "y": -7,
                    "width": 79,
                    "height": 87
                },
                "polygon": [
                    {
                        "x": 85.70384788147865,
                        "y": 17.454691374113423
                    },
                    {
                        "x": 130.2498050984845,
                        "y": 80.06844696741926
                    },
                    {
                        "x": 165.16171730808531,
                        "y": 55.23070112520996
                    },
                    {
                        "x": 120.6157600910795,
                        "y": -7.383054468095886
                    }
                ]
            },
            "nail_candidates": {
                "count": 3,
                "considered": [
                    {
                        "id": null,
                        "detector_path": null,
                        "bbox": {
                            "x": 94,
                            "y": 13,
                            "width": 15,
                            "height": 35
                        },
                        "normalized_bbox": null,
                        "source_polygon": null,
                        "center": {
                            "x": 101.5,
                            "y": 30.5
                        },
                        "area": 294,
                        "area_ratio": 0.06777635590349657,
                        "width_ratio": null,
                        "length_ratio": null,
                        "aspect_ratio": null,
                        "centerline_distance": null,
                        "fingertip_distance": null,
                        "brightness_mean": 216.23469387755102,
                        "brightness_delta": 103.81414111373194,
                        "saturation_mean": 0.08799672544734152,
                        "saturation_delta": null,
                        "chroma_delta": null,
                        "grayscale_evidence_score": null,
                        "local_contrast_score": null,
                        "edge_score": null,
                        "saturation_score": null,
                        "chroma_score": null,
                        "texture_stddev": null,
                        "surrounding_skin_texture": null,
                        "texture_difference": null,
                        "texture_score": null,
                        "boundary_score": null,
                        "boundary_trace_coverage": null,
                        "highlight_penalty": null,
                        "edge_touch_penalty": null,
                        "position_score": null,
                        "centerline_score": null,
                        "width_score": null,
                        "length_score": null,
                        "shape_score": null,
                        "distal_score": null,
                        "appearance_score": null,
                        "geometry_score": null,
                        "fused_score": null,
                        "representation_agreement_score": null,
                        "total_score": 84.95616870664485,
                        "axis_start": 5.484902356516649,
                        "axis_end": 40.72519969422686,
                        "axis_length": 35.24029733771021,
                        "valid_size": true,
                        "rejection_reasons": []
                    },
                    {
                        "id": null,
                        "detector_path": null,
                        "bbox": {
                            "x": 107,
                            "y": 10,
                            "width": 6,
                            "height": 6
                        },
                        "normalized_bbox": null,
                        "source_polygon": null,
                        "center": {
                            "x": 110,
                            "y": 13
                        },
                        "area": 11,
                        "area_ratio": 0.002535850050811096,
                        "width_ratio": null,
                        "length_ratio": null,
                        "aspect_ratio": null,
                        "centerline_distance": null,
                        "fingertip_distance": null,
                        "brightness_mean": 143,
                        "brightness_delta": 30.57944723618091,
                        "saturation_mean": 0.06514400529078787,
                        "saturation_delta": null,
                        "chroma_delta": null,
                        "grayscale_evidence_score": null,
                        "local_contrast_score": null,
                        "edge_score": null,
                        "saturation_score": null,
                        "chroma_score": null,
                        "texture_stddev": null,
                        "surrounding_skin_texture": null,
                        "texture_difference": null,
                        "texture_score": null,
                        "boundary_score": null,
                        "boundary_trace_coverage": null,
                        "highlight_penalty": null,
                        "edge_touch_penalty": null,
                        "position_score": null,
                        "centerline_score": null,
                        "width_score": null,
                        "length_score": null,
                        "shape_score": null,
                        "distal_score": null,
                        "appearance_score": null,
                        "geometry_score": null,
                        "fused_score": null,
                        "representation_agreement_score": null,
                        "total_score": 49.10680890582863,
                        "axis_start": 9.996840521173771,
                        "axis_end": 16.96949333463521,
                        "axis_length": 6.972652813461439,
                        "valid_size": false,
                        "rejection_reasons": [
                            "below_minimum_area_ratio"
                        ]
                    },
                    {
                        "id": null,
                        "detector_path": null,
                        "bbox": {
                            "x": 104,
                            "y": 6,
                            "width": 2,
                            "height": 1
                        },
                        "normalized_bbox": null,
                        "source_polygon": null,
                        "center": {
                            "x": 105,
                            "y": 6.5
                        },
                        "area": 2,
                        "area_ratio": 0.00046106364560201743,
                        "width_ratio": null,
                        "length_ratio": null,
                        "aspect_ratio": null,
                        "centerline_distance": null,
                        "fingertip_distance": null,
                        "brightness_mean": 143.5,
                        "brightness_delta": 31.07944723618091,
                        "saturation_mean": 0.041581657437093224,
                        "saturation_delta": null,
                        "chroma_delta": null,
                        "grayscale_evidence_score": null,
                        "local_contrast_score": null,
                        "edge_score": null,
                        "saturation_score": null,
                        "chroma_score": null,
                        "texture_stddev": null,
                        "surrounding_skin_texture": null,
                        "texture_difference": null,
                        "texture_score": null,
                        "boundary_score": null,
                        "boundary_trace_coverage": null,
                        "highlight_penalty": null,
                        "edge_touch_penalty": null,
                        "position_score": null,
                        "centerline_score": null,
                        "width_score": null,
                        "length_score": null,
                        "shape_score": null,
                        "distal_score": null,
                        "appearance_score": null,
                        "geometry_score": null,
                        "fused_score": null,
                        "representation_agreement_score": null,
                        "total_score": 49.3925597039825,
                        "axis_start": 4.998420260586886,
                        "axis_end": 5.578122250769152,
                        "axis_length": 0.579701990182266,
                        "valid_size": false,
                        "rejection_reasons": [
                            "below_minimum_area_ratio"
                        ]
                    }
                ]
            },
            "nail_candidate": {
                "detected": true,
                "id": null,
                "detector_path": null,
                "bbox": {
                    "x": 94,
                    "y": 13,
                    "width": 15,
                    "height": 35
                },
                "normalized_bbox": null,
                "source_polygon": null,
                "center": {
                    "x": 101.5,
                    "y": 30.5
                },
                "area": 294,
                "area_ratio": 0.06777635590349657,
                "width_ratio": null,
                "length_ratio": null,
                "aspect_ratio": null,
                "centerline_distance": null,
                "fingertip_distance": null,
                "brightness_mean": 216.23469387755102,
                "brightness_delta": 103.81414111373194,
                "saturation_mean": 0.08799672544734152,
                "saturation_delta": null,
                "chroma_delta": null,
                "grayscale_evidence_score": null,
                "local_contrast_score": null,
                "edge_score": null,
                "saturation_score": null,
                "chroma_score": null,
                "texture_stddev": null,
                "surrounding_skin_texture": null,
                "texture_difference": null,
                "texture_score": null,
                "boundary_score": null,
                "boundary_trace_coverage": null,
                "highlight_penalty": null,
                "edge_touch_penalty": null,
                "position_score": null,
                "centerline_score": null,
                "width_score": null,
                "length_score": null,
                "shape_score": null,
                "distal_score": null,
                "appearance_score": null,
                "geometry_score": null,
                "fused_score": null,
                "representation_agreement_score": null,
                "total_score": 84.95616870664485,
                "axis_start": 5.484902356516649,
                "axis_end": 40.72519969422686,
                "axis_length": 35.24029733771021,
                "valid_size": true,
                "rejection_reasons": []
            },
            "nail_extension_pixels": 9.626011623424496,
            "nail_extension_ratio": 0.2066935011164769,
            "extension_definition": "max(0, candidate_axis_length - expected_nail_bed_length) / local_finger_width; experimental proxy, not millimetres",
            "confidence": 85,
            "screening_result": "fail",
            "screening_reason": "experimental extension ratio above threshold"
        },
        {
            "finger_index": 2,
            "label": "Finger 2",
            "fingertip": {
                "x": 188,
                "y": 14,
                "prominence": 116.22727272727272
            },
            "selected_fingertip": {
                "x": 188,
                "y": 14,
                "prominence": 116.22727272727272
            },
            "fingertip_selection_reason": "spatially separated upper-contour peak",
            "orientation_degrees": 85.87707179997385,
            "major_axis": {
                "x": 0.0718965870508104,
                "y": 0.9974120917506691
            },
            "endpoint_a": {
                "x": 188,
                "y": 14,
                "prominence": 116.22727272727272
            },
            "endpoint_b": null,
            "finger_width_pixels": 46.57142857142857,
            "nail_search_roi": {
                "bounding_box": {
                    "x": 167,
                    "y": 16,
                    "width": 48,
                    "height": 80
                },
                "polygon": [
                    {
                        "x": 166.9004493873364,
                        "y": 19.25630279242814
                    },
                    {
                        "x": 172.4251885551408,
                        "y": 95.90029767138313
                    },
                    {
                        "x": 215.16002206340661,
                        "y": 92.81983704448612
                    },
                    {
                        "x": 209.63528289560222,
                        "y": 16.175842165531133
                    }
                ]
            },
            "nail_candidates": {
                "count": 4,
                "considered": [
                    {
                        "id": null,
                        "detector_path": null,
                        "bbox": {
                            "x": 189,
                            "y": 72,
                            "width": 26,
                            "height": 22
                        },
                        "normalized_bbox": null,
                        "source_polygon": null,
                        "center": {
                            "x": 202,
                            "y": 83
                        },
                        "area": 154,
                        "area_ratio": 0.035501900711355346,
                        "width_ratio": null,
                        "length_ratio": null,
                        "aspect_ratio": null,
                        "centerline_distance": null,
                        "fingertip_distance": null,
                        "brightness_mean": 155.0974025974026,
                        "brightness_delta": 42.67684983358352,
                        "saturation_mean": 0.2331369795686069,
                        "saturation_delta": null,
                        "chroma_delta": null,
                        "grayscale_evidence_score": null,
                        "local_contrast_score": null,
                        "edge_score": null,
                        "saturation_score": null,
                        "chroma_score": null,
                        "texture_stddev": null,
                        "surrounding_skin_texture": null,
                        "texture_difference": null,
                        "texture_score": null,
                        "boundary_score": null,
                        "boundary_trace_coverage": null,
                        "highlight_penalty": null,
                        "edge_touch_penalty": null,
                        "position_score": null,
                        "centerline_score": null,
                        "width_score": null,
                        "length_score": null,
                        "shape_score": null,
                        "distal_score": null,
                        "appearance_score": null,
                        "geometry_score": null,
                        "fused_score": null,
                        "representation_agreement_score": null,
                        "total_score": 91.59504755321097,
                        "axis_start": 58.35317743089448,
                        "axis_end": 79.0112450094553,
                        "axis_length": 20.65806757856081,
                        "valid_size": true,
                        "rejection_reasons": []
                    },
                    {
                        "id": null,
                        "detector_path": null,
                        "bbox": {
                            "x": 194,
                            "y": 40,
                            "width": 4,
                            "height": 30
                        },
                        "normalized_bbox": null,
                        "source_polygon": null,
                        "center": {
                            "x": 196,
                            "y": 55
                        },
                        "area": 71,
                        "area_ratio": 0.01636775941887162,
                        "width_ratio": null,
                        "length_ratio": null,
                        "aspect_ratio": null,
                        "centerline_distance": null,
                        "fingertip_distance": null,
                        "brightness_mean": 152.8732394366197,
                        "brightness_delta": 40.452686672800624,
                        "saturation_mean": 0.1565246888337771,
                        "saturation_delta": null,
                        "chroma_delta": null,
                        "grayscale_evidence_score": null,
                        "local_contrast_score": null,
                        "edge_score": null,
                        "saturation_score": null,
                        "chroma_score": null,
                        "texture_stddev": null,
                        "surrounding_skin_texture": null,
                        "texture_difference": null,
                        "texture_score": null,
                        "boundary_score": null,
                        "boundary_trace_coverage": null,
                        "highlight_penalty": null,
                        "edge_touch_penalty": null,
                        "position_score": null,
                        "centerline_score": null,
                        "width_score": null,
                        "length_score": null,
                        "shape_score": null,
                        "distal_score": null,
                        "appearance_score": null,
                        "geometry_score": null,
                        "fused_score": null,
                        "representation_agreement_score": null,
                        "total_score": 95.30264648513538,
                        "axis_start": 26.36409390782226,
                        "axis_end": 55.43283774269329,
                        "axis_length": 29.06874383487103,
                        "valid_size": true,
                        "rejection_reasons": []
                    },
                    {
                        "id": null,
                        "detector_path": null,
                        "bbox": {
                            "x": 193,
                            "y": 18,
                            "width": 2,
                            "height": 12
                        },
                        "normalized_bbox": null,
                        "source_polygon": null,
                        "center": {
                            "x": 194,
                            "y": 24
                        },
                        "area": 24,
                        "area_ratio": 0.005532763747224209,
                        "width_ratio": null,
                        "length_ratio": null,
                        "aspect_ratio": null,
                        "centerline_distance": null,
                        "fingertip_distance": null,
                        "brightness_mean": 137.75,
                        "brightness_delta": 25.32944723618091,
                        "saturation_mean": 0.25025581548824083,
                        "saturation_delta": null,
                        "chroma_delta": null,
                        "grayscale_evidence_score": null,
                        "local_contrast_score": null,
                        "edge_score": null,
                        "saturation_score": null,
                        "chroma_score": null,
                        "texture_stddev": null,
                        "surrounding_skin_texture": null,
                        "texture_difference": null,
                        "texture_score": null,
                        "boundary_score": null,
                        "boundary_trace_coverage": null,
                        "highlight_penalty": null,
                        "edge_touch_penalty": null,
                        "position_score": null,
                        "centerline_score": null,
                        "width_score": null,
                        "length_score": null,
                        "shape_score": null,
                        "distal_score": null,
                        "appearance_score": null,
                        "geometry_score": null,
                        "fused_score": null,
                        "representation_agreement_score": null,
                        "total_score": 45.084216222996616,
                        "axis_start": 4.349131302256729,
                        "axis_end": 15.392560898564899,
                        "axis_length": 11.043429596308169,
                        "valid_size": false,
                        "rejection_reasons": [
                            "below_minimum_area_ratio"
                        ]
                    },
                    {
                        "id": null,
                        "detector_path": null,
                        "bbox": {
                            "x": 193,
                            "y": 31,
                            "width": 2,
                            "height": 7
                        },
                        "normalized_bbox": null,
                        "source_polygon": null,
                        "center": {
                            "x": 194,
                            "y": 34.5
                        },
                        "area": 14,
                        "area_ratio": 0.003227445519214122,
                        "width_ratio": null,
                        "length_ratio": null,
                        "aspect_ratio": null,
                        "centerline_distance": null,
                        "fingertip_distance": null,
                        "brightness_mean": 138.35714285714286,
                        "brightness_delta": 25.936590093323773,
                        "saturation_mean": 0.3107175242667478,
                        "saturation_delta": null,
                        "chroma_delta": null,
                        "grayscale_evidence_score": null,
                        "local_contrast_score": null,
                        "edge_score": null,
                        "saturation_score": null,
                        "chroma_score": null,
                        "texture_stddev": null,
                        "surrounding_skin_texture": null,
                        "texture_difference": null,
                        "texture_score": null,
                        "boundary_score": null,
                        "boundary_trace_coverage": null,
                        "highlight_penalty": null,
                        "edge_touch_penalty": null,
                        "position_score": null,
                        "centerline_score": null,
                        "width_score": null,
                        "length_score": null,
                        "shape_score": null,
                        "distal_score": null,
                        "appearance_score": null,
                        "geometry_score": null,
                        "fused_score": null,
                        "representation_agreement_score": null,
                        "total_score": 45.78899071595934,
                        "axis_start": 17.31548849501543,
                        "axis_end": 23.37185763257025,
                        "axis_length": 6.056369137554821,
                        "valid_size": false,
                        "rejection_reasons": [
                            "below_minimum_area_ratio"
                        ]
                    }
                ]
            },
            "nail_candidate": {
                "detected": true,
                "id": null,
                "detector_path": null,
                "bbox": {
                    "x": 194,
                    "y": 40,
                    "width": 4,
                    "height": 30
                },
                "normalized_bbox": null,
                "source_polygon": null,
                "center": {
                    "x": 196,
                    "y": 55
                },
                "area": 71,
                "area_ratio": 0.01636775941887162,
                "width_ratio": null,
                "length_ratio": null,
                "aspect_ratio": null,
                "centerline_distance": null,
                "fingertip_distance": null,
                "brightness_mean": 152.8732394366197,
                "brightness_delta": 40.452686672800624,
                "saturation_mean": 0.1565246888337771,
                "saturation_delta": null,
                "chroma_delta": null,
                "grayscale_evidence_score": null,
                "local_contrast_score": null,
                "edge_score": null,
                "saturation_score": null,
                "chroma_score": null,
                "texture_stddev": null,
                "surrounding_skin_texture": null,
                "texture_difference": null,
                "texture_score": null,
                "boundary_score": null,
                "boundary_trace_coverage": null,
                "highlight_penalty": null,
                "edge_touch_penalty": null,
                "position_score": null,
                "centerline_score": null,
                "width_score": null,
                "length_score": null,
                "shape_score": null,
                "distal_score": null,
                "appearance_score": null,
                "geometry_score": null,
                "fused_score": null,
                "representation_agreement_score": null,
                "total_score": 95.30264648513538,
                "axis_start": 26.36409390782226,
                "axis_end": 55.43283774269329,
                "axis_length": 29.06874383487103,
                "valid_size": true,
                "rejection_reasons": []
            },
            "nail_extension_pixels": 3.454458120585315,
            "nail_extension_ratio": 0.07417548111686259,
            "extension_definition": "max(0, candidate_axis_length - expected_nail_bed_length) / local_finger_width; experimental proxy, not millimetres",
            "confidence": 85,
            "screening_result": "pass",
            "screening_reason": "experimental extension ratio at or below threshold"
        },
        {
            "finger_index": 3,
            "label": "Finger 3",
            "fingertip": {
                "x": 325,
                "y": 114,
                "prominence": 16.5
            },
            "selected_fingertip": {
                "x": 325,
                "y": 114,
                "prominence": 16.5
            },
            "fingertip_selection_reason": "spatially separated upper-contour peak",
            "orientation_degrees": 169.9461351825365,
            "major_axis": {
                "x": -0.9846440679889138,
                "y": 0.17457393669801666
            },
            "endpoint_a": {
                "x": 325,
                "y": 114,
                "prominence": 16.5
            },
            "endpoint_b": null,
            "finger_width_pixels": 46.57142857142857,
            "nail_search_roi": {
                "bounding_box": {
                    "x": 242,
                    "y": 94,
                    "width": 83,
                    "height": 56
                },
                "polygon": [
                    {
                        "x": 317.5916250228021,
                        "y": 93.55652340478096
                    },
                    {
                        "x": 241.92876156976826,
                        "y": 106.97128348333284
                    },
                    {
                        "x": 249.40850658326383,
                        "y": 149.15906189350926
                    },
                    {
                        "x": 325.0713700362977,
                        "y": 135.7443018149574
                    }
                ]
            },
            "nail_candidates": {
                "count": 8,
                "considered": [
                    {
                        "id": null,
                        "detector_path": null,
                        "bbox": {
                            "x": 245,
                            "y": 104,
                            "width": 35,
                            "height": 14
                        },
                        "normalized_bbox": null,
                        "source_polygon": null,
                        "center": {
                            "x": 262.5,
                            "y": 111
                        },
                        "area": 273,
                        "area_ratio": 0.06293518762467538,
                        "width_ratio": null,
                        "length_ratio": null,
                        "aspect_ratio": null,
                        "centerline_distance": null,
                        "fingertip_distance": null,
                        "brightness_mean": 131.51282051282053,
                        "brightness_delta": 19.092267749001437,
                        "saturation_mean": 0.28691441314285543,
                        "saturation_delta": null,
                        "chroma_delta": null,
                        "grayscale_evidence_score": null,
                        "local_contrast_score": null,
                        "edge_score": null,
                        "saturation_score": null,
                        "chroma_score": null,
                        "texture_stddev": null,
                        "surrounding_skin_texture": null,
                        "texture_difference": null,
                        "texture_score": null,
                        "boundary_score": null,
                        "boundary_trace_coverage": null,
                        "highlight_penalty": null,
                        "edge_touch_penalty": null,
                        "position_score": null,
                        "centerline_score": null,
                        "width_score": null,
                        "length_score": null,
                        "shape_score": null,
                        "distal_score": null,
                        "appearance_score": null,
                        "geometry_score": null,
                        "fused_score": null,
                        "representation_agreement_score": null,
                        "total_score": 87.05606525298086,
                        "axis_start": 45.46820106418806,
                        "axis_end": 77.89865575562303,
                        "axis_length": 32.43045469143497,
                        "valid_size": true,
                        "rejection_reasons": []
                    },
                    {
                        "id": null,
                        "detector_path": null,
                        "bbox": {
                            "x": 296,
                            "y": 129,
                            "width": 29,
                            "height": 12
                        },
                        "normalized_bbox": null,
                        "source_polygon": null,
                        "center": {
                            "x": 310.5,
                            "y": 135
                        },
                        "area": 179,
                        "area_ratio": 0.04126519628138056,
                        "width_ratio": null,
                        "length_ratio": null,
                        "aspect_ratio": null,
                        "centerline_distance": null,
                        "fingertip_distance": null,
                        "brightness_mean": 170.97206703910615,
                        "brightness_delta": 58.55151427528706,
                        "saturation_mean": 0.11563958680350045,
                        "saturation_delta": null,
                        "chroma_delta": null,
                        "grayscale_evidence_score": null,
                        "local_contrast_score": null,
                        "edge_score": null,
                        "saturation_score": null,
                        "chroma_score": null,
                        "texture_stddev": null,
                        "surrounding_skin_texture": null,
                        "texture_difference": null,
                        "texture_score": null,
                        "boundary_score": null,
                        "boundary_trace_coverage": null,
                        "highlight_penalty": null,
                        "edge_touch_penalty": null,
                        "position_score": null,
                        "centerline_score": null,
                        "width_score": null,
                        "length_score": null,
                        "shape_score": null,
                        "distal_score": null,
                        "appearance_score": null,
                        "geometry_score": null,
                        "fused_score": null,
                        "representation_agreement_score": null,
                        "total_score": 83.05902595098405,
                        "axis_start": 3.777827055157181,
                        "axis_end": 33.09360032582694,
                        "axis_length": 29.31577327066976,
                        "valid_size": true,
                        "rejection_reasons": []
                    },
                    {
                        "id": null,
                        "detector_path": null,
                        "bbox": {
                            "x": 312,
                            "y": 119,
                            "width": 6,
                            "height": 5
                        },
                        "normalized_bbox": null,
                        "source_polygon": null,
                        "center": {
                            "x": 315,
                            "y": 121.5
                        },
                        "area": 21,
                        "area_ratio": 0.004841168278821183,
                        "width_ratio": null,
                        "length_ratio": null,
                        "aspect_ratio": null,
                        "centerline_distance": null,
                        "fingertip_distance": null,
                        "brightness_mean": 145.28571428571428,
                        "brightness_delta": 32.86516152189519,
                        "saturation_mean": 0.059361308980711756,
                        "saturation_delta": null,
                        "chroma_delta": null,
                        "grayscale_evidence_score": null,
                        "local_contrast_score": null,
                        "edge_score": null,
                        "saturation_score": null,
                        "chroma_score": null,
                        "texture_stddev": null,
                        "surrounding_skin_texture": null,
                        "texture_difference": null,
                        "texture_score": null,
                        "boundary_score": null,
                        "boundary_trace_coverage": null,
                        "highlight_penalty": null,
                        "edge_touch_penalty": null,
                        "position_score": null,
                        "centerline_score": null,
                        "width_score": null,
                        "length_score": null,
                        "shape_score": null,
                        "distal_score": null,
                        "appearance_score": null,
                        "geometry_score": null,
                        "fused_score": null,
                        "representation_agreement_score": null,
                        "total_score": 44.73544438509512,
                        "axis_start": 8.750022227401395,
                        "axis_end": 14.196964377440015,
                        "axis_length": 5.44694215003862,
                        "valid_size": false,
                        "rejection_reasons": [
                            "below_minimum_area_ratio"
                        ]
                    },
                    {
                        "id": null,
                        "detector_path": null,
                        "bbox": {
                            "x": 289,
                            "y": 124,
                            "width": 7,
                            "height": 3
                        },
                        "normalized_bbox": null,
                        "source_polygon": null,
                        "center": {
                            "x": 292.5,
                            "y": 125.5
                        },
                        "area": 16,
                        "area_ratio": 0.0036885091648161394,
                        "width_ratio": null,
                        "length_ratio": null,
                        "aspect_ratio": null,
                        "centerline_distance": null,
                        "fingertip_distance": null,
                        "brightness_mean": 165.6875,
                        "brightness_delta": 53.26694723618091,
                        "saturation_mean": 0.06707324709870695,
                        "saturation_delta": null,
                        "chroma_delta": null,
                        "grayscale_evidence_score": null,
                        "local_contrast_score": null,
                        "edge_score": null,
                        "saturation_score": null,
                        "chroma_score": null,
                        "texture_stddev": null,
                        "surrounding_skin_texture": null,
                        "texture_difference": null,
                        "texture_score": null,
                        "boundary_score": null,
                        "boundary_trace_coverage": null,
                        "highlight_penalty": null,
                        "edge_touch_penalty": null,
                        "position_score": null,
                        "centerline_score": null,
                        "width_score": null,
                        "length_score": null,
                        "shape_score": null,
                        "distal_score": null,
                        "appearance_score": null,
                        "geometry_score": null,
                        "fused_score": null,
                        "representation_agreement_score": null,
                        "total_score": 44.725489880727025,
                        "axis_start": 31.285061406647586,
                        "axis_end": 37.5420736879771,
                        "axis_length": 6.257012281329516,
                        "valid_size": false,
                        "rejection_reasons": [
                            "below_minimum_area_ratio"
                        ]
                    },
                    {
                        "id": null,
                        "detector_path": null,
                        "bbox": {
                            "x": 307,
                            "y": 118,
                            "width": 4,
                            "height": 3
                        },
                        "normalized_bbox": null,
                        "source_polygon": null,
                        "center": {
                            "x": 309,
                            "y": 119.5
                        },
                        "area": 9,
                        "area_ratio": 0.0020747864052090784,
                        "width_ratio": null,
                        "length_ratio": null,
                        "aspect_ratio": null,
                        "centerline_distance": null,
                        "fingertip_distance": null,
                        "brightness_mean": 146.44444444444446,
                        "brightness_delta": 34.02389168062537,
                        "saturation_mean": 0.0726297721437919,
                        "saturation_delta": null,
                        "chroma_delta": null,
                        "grayscale_evidence_score": null,
                        "local_contrast_score": null,
                        "edge_score": null,
                        "saturation_score": null,
                        "chroma_score": null,
                        "texture_stddev": null,
                        "surrounding_skin_texture": null,
                        "texture_difference": null,
                        "texture_score": null,
                        "boundary_score": null,
                        "boundary_trace_coverage": null,
                        "highlight_penalty": null,
                        "edge_touch_penalty": null,
                        "position_score": null,
                        "centerline_score": null,
                        "width_score": null,
                        "length_score": null,
                        "shape_score": null,
                        "distal_score": null,
                        "appearance_score": null,
                        "geometry_score": null,
                        "fused_score": null,
                        "representation_agreement_score": null,
                        "total_score": 47.55181172213986,
                        "axis_start": 15.467956766625775,
                        "axis_end": 18.77103684398855,
                        "axis_length": 3.3030800773627753,
                        "valid_size": false,
                        "rejection_reasons": [
                            "below_minimum_area_ratio"
                        ]
                    },
                    {
                        "id": null,
                        "detector_path": null,
                        "bbox": {
                            "x": 306,
                            "y": 123,
                            "width": 5,
                            "height": 2
                        },
                        "normalized_bbox": null,
                        "source_polygon": null,
                        "center": {
                            "x": 308.5,
                            "y": 124
                        },
                        "area": 9,
                        "area_ratio": 0.0020747864052090784,
                        "width_ratio": null,
                        "length_ratio": null,
                        "aspect_ratio": null,
                        "centerline_distance": null,
                        "fingertip_distance": null,
                        "brightness_mean": 139.66666666666666,
                        "brightness_delta": 27.24611390284757,
                        "saturation_mean": 0.0827409834481976,
                        "saturation_delta": null,
                        "chroma_delta": null,
                        "grayscale_evidence_score": null,
                        "local_contrast_score": null,
                        "edge_score": null,
                        "saturation_score": null,
                        "chroma_score": null,
                        "texture_stddev": null,
                        "surrounding_skin_texture": null,
                        "texture_difference": null,
                        "texture_score": null,
                        "boundary_score": null,
                        "boundary_trace_coverage": null,
                        "highlight_penalty": null,
                        "edge_touch_penalty": null,
                        "position_score": null,
                        "centerline_score": null,
                        "width_score": null,
                        "length_score": null,
                        "shape_score": null,
                        "distal_score": null,
                        "appearance_score": null,
                        "geometry_score": null,
                        "fused_score": null,
                        "representation_agreement_score": null,
                        "total_score": 43.496693108748595,
                        "axis_start": 16.34082645011586,
                        "axis_end": 20.45397665876953,
                        "axis_length": 4.113150208653671,
                        "valid_size": false,
                        "rejection_reasons": [
                            "below_minimum_area_ratio"
                        ]
                    },
                    {
                        "id": null,
                        "detector_path": null,
                        "bbox": {
                            "x": 288,
                            "y": 130,
                            "width": 3,
                            "height": 3
                        },
                        "normalized_bbox": null,
                        "source_polygon": null,
                        "center": {
                            "x": 289.5,
                            "y": 131.5
                        },
                        "area": 8,
                        "area_ratio": 0.0018442545824080697,
                        "width_ratio": null,
                        "length_ratio": null,
                        "aspect_ratio": null,
                        "centerline_distance": null,
                        "fingertip_distance": null,
                        "brightness_mean": 131.5,
                        "brightness_delta": 19.07944723618091,
                        "saturation_mean": 0.10798433645956428,
                        "saturation_delta": null,
                        "chroma_delta": null,
                        "grayscale_evidence_score": null,
                        "local_contrast_score": null,
                        "edge_score": null,
                        "saturation_score": null,
                        "chroma_score": null,
                        "texture_stddev": null,
                        "surrounding_skin_texture": null,
                        "texture_difference": null,
                        "texture_score": null,
                        "boundary_score": null,
                        "boundary_trace_coverage": null,
                        "highlight_penalty": null,
                        "edge_touch_penalty": null,
                        "position_score": null,
                        "centerline_score": null,
                        "width_score": null,
                        "length_score": null,
                        "shape_score": null,
                        "distal_score": null,
                        "appearance_score": null,
                        "geometry_score": null,
                        "fused_score": null,
                        "representation_agreement_score": null,
                        "total_score": 39.6989497120319,
                        "axis_start": 37.255725366780254,
                        "axis_end": 39.574161376154116,
                        "axis_length": 2.318436009373862,
                        "valid_size": false,
                        "rejection_reasons": [
                            "below_minimum_area_ratio"
                        ]
                    },
                    {
                        "id": null,
                        "detector_path": null,
                        "bbox": {
                            "x": 282,
                            "y": 120,
                            "width": 2,
                            "height": 2
                        },
                        "normalized_bbox": null,
                        "source_polygon": null,
                        "center": {
                            "x": 283,
                            "y": 121
                        },
                        "area": 3,
                        "area_ratio": 0.0006915954684030261,
                        "width_ratio": null,
                        "length_ratio": null,
                        "aspect_ratio": null,
                        "centerline_distance": null,
                        "fingertip_distance": null,
                        "brightness_mean": 144.33333333333334,
                        "brightness_delta": 31.912780569514254,
                        "saturation_mean": 0.055951673598732356,
                        "saturation_delta": null,
                        "chroma_delta": null,
                        "grayscale_evidence_score": null,
                        "local_contrast_score": null,
                        "edge_score": null,
                        "saturation_score": null,
                        "chroma_score": null,
                        "texture_stddev": null,
                        "surrounding_skin_texture": null,
                        "texture_difference": null,
                        "texture_score": null,
                        "boundary_score": null,
                        "boundary_trace_coverage": null,
                        "highlight_penalty": null,
                        "edge_touch_penalty": null,
                        "position_score": null,
                        "centerline_score": null,
                        "width_score": null,
                        "length_score": null,
                        "shape_score": null,
                        "distal_score": null,
                        "appearance_score": null,
                        "geometry_score": null,
                        "fused_score": null,
                        "representation_agreement_score": null,
                        "total_score": 49.58960015233927,
                        "axis_start": 42.5770684124205,
                        "axis_end": 43.56171248040941,
                        "axis_length": 0.9846440679889099,
                        "valid_size": false,
                        "rejection_reasons": [
                            "below_minimum_area_ratio"
                        ]
                    }
                ]
            },
            "nail_candidate": {
                "detected": true,
                "id": null,
                "detector_path": null,
                "bbox": {
                    "x": 245,
                    "y": 104,
                    "width": 35,
                    "height": 14
                },
                "normalized_bbox": null,
                "source_polygon": null,
                "center": {
                    "x": 262.5,
                    "y": 111
                },
                "area": 273,
                "area_ratio": 0.06293518762467538,
                "width_ratio": null,
                "length_ratio": null,
                "aspect_ratio": null,
                "centerline_distance": null,
                "fingertip_distance": null,
                "brightness_mean": 131.51282051282053,
                "brightness_delta": 19.092267749001437,
                "saturation_mean": 0.28691441314285543,
                "saturation_delta": null,
                "chroma_delta": null,
                "grayscale_evidence_score": null,
                "local_contrast_score": null,
                "edge_score": null,
                "saturation_score": null,
                "chroma_score": null,
                "texture_stddev": null,
                "surrounding_skin_texture": null,
                "texture_difference": null,
                "texture_score": null,
                "boundary_score": null,
                "boundary_trace_coverage": null,
                "highlight_penalty": null,
                "edge_touch_penalty": null,
                "position_score": null,
                "centerline_score": null,
                "width_score": null,
                "length_score": null,
                "shape_score": null,
                "distal_score": null,
                "appearance_score": null,
                "geometry_score": null,
                "fused_score": null,
                "representation_agreement_score": null,
                "total_score": 87.05606525298086,
                "axis_start": 45.46820106418806,
                "axis_end": 77.89865575562303,
                "axis_length": 32.43045469143497,
                "valid_size": true,
                "rejection_reasons": []
            },
            "nail_extension_pixels": 6.816168977149253,
            "nail_extension_ratio": 0.1463594565645545,
            "extension_definition": "max(0, candidate_axis_length - expected_nail_bed_length) / local_finger_width; experimental proxy, not millimetres",
            "confidence": 85,
            "screening_result": "pass",
            "screening_reason": "experimental extension ratio at or below threshold"
        },
        {
            "finger_index": 4,
            "label": "Finger 4",
            "fingertip": {
                "x": 361,
                "y": 128,
                "prominence": 1.681818181818187
            },
            "selected_fingertip": {
                "x": 361,
                "y": 128,
                "prominence": 1.681818181818187
            },
            "fingertip_selection_reason": "spatially separated upper-contour peak",
            "orientation_degrees": 176.95882656779185,
            "major_axis": {
                "x": -0.9985916676662017,
                "y": 0.05305356979162168
            },
            "endpoint_a": {
                "x": 361,
                "y": 128,
                "prominence": 1.681818181818187
            },
            "endpoint_b": null,
            "finger_width_pixels": 46.57142857142857,
            "nail_search_roi": {
                "bounding_box": {
                    "x": 279,
                    "y": 107,
                    "width": 79,
                    "height": 47
                },
                "polygon": [
                    {
                        "x": 356.14297371161626,
                        "y": 106.80497580242027
                    },
                    {
                        "x": 279.40833684909484,
                        "y": 110.88176368683645
                    },
                    {
                        "x": 281.68145494222387,
                        "y": 153.66713696775747
                    },
                    {
                        "x": 358.4160918047453,
                        "y": 149.5903490833413
                    }
                ]
            },
            "nail_candidates": {
                "count": 8,
                "considered": [
                    {
                        "id": null,
                        "detector_path": null,
                        "bbox": {
                            "x": 294,
                            "y": 127,
                            "width": 65,
                            "height": 26
                        },
                        "normalized_bbox": null,
                        "source_polygon": null,
                        "center": {
                            "x": 326.5,
                            "y": 140
                        },
                        "area": 1146,
                        "area_ratio": 0.264189468929956,
                        "width_ratio": null,
                        "length_ratio": null,
                        "aspect_ratio": null,
                        "centerline_distance": null,
                        "fingertip_distance": null,
                        "brightness_mean": 171.08376963350784,
                        "brightness_delta": 58.66321686968875,
                        "saturation_mean": 0.21251798142177755,
                        "saturation_delta": null,
                        "chroma_delta": null,
                        "grayscale_evidence_score": null,
                        "local_contrast_score": null,
                        "edge_score": null,
                        "saturation_score": null,
                        "chroma_score": null,
                        "texture_stddev": null,
                        "surrounding_skin_texture": null,
                        "texture_difference": null,
                        "texture_score": null,
                        "boundary_score": null,
                        "boundary_trace_coverage": null,
                        "highlight_penalty": null,
                        "edge_touch_penalty": null,
                        "position_score": null,
                        "centerline_score": null,
                        "width_score": null,
                        "length_score": null,
                        "shape_score": null,
                        "distal_score": null,
                        "appearance_score": null,
                        "geometry_score": null,
                        "fused_score": null,
                        "representation_agreement_score": null,
                        "total_score": 40.52157068827897,
                        "axis_start": 3.79157854987293,
                        "axis_end": 67.70144528050983,
                        "axis_length": 63.9098667306369,
                        "valid_size": false,
                        "rejection_reasons": [
                            "above_maximum_area_ratio"
                        ]
                    },
                    {
                        "id": null,
                        "detector_path": null,
                        "bbox": {
                            "x": 312,
                            "y": 119,
                            "width": 6,
                            "height": 5
                        },
                        "normalized_bbox": null,
                        "source_polygon": null,
                        "center": {
                            "x": 315,
                            "y": 121.5
                        },
                        "area": 21,
                        "area_ratio": 0.004841168278821183,
                        "width_ratio": null,
                        "length_ratio": null,
                        "aspect_ratio": null,
                        "centerline_distance": null,
                        "fingertip_distance": null,
                        "brightness_mean": 145.28571428571428,
                        "brightness_delta": 32.86516152189519,
                        "saturation_mean": 0.059361308980711756,
                        "saturation_delta": null,
                        "chroma_delta": null,
                        "grayscale_evidence_score": null,
                        "local_contrast_score": null,
                        "edge_score": null,
                        "saturation_score": null,
                        "chroma_score": null,
                        "texture_stddev": null,
                        "surrounding_skin_texture": null,
                        "texture_difference": null,
                        "texture_score": null,
                        "boundary_score": null,
                        "boundary_trace_coverage": null,
                        "highlight_penalty": null,
                        "edge_touch_penalty": null,
                        "position_score": null,
                        "centerline_score": null,
                        "width_score": null,
                        "length_score": null,
                        "shape_score": null,
                        "distal_score": null,
                        "appearance_score": null,
                        "geometry_score": null,
                        "fused_score": null,
                        "representation_agreement_score": null,
                        "total_score": 41.66188712300422,
                        "axis_start": 43.460551249188285,
                        "axis_end": 48.61267029689415,
                        "axis_length": 5.152119047705867,
                        "valid_size": false,
                        "rejection_reasons": [
                            "below_minimum_area_ratio"
                        ]
                    },
                    {
                        "id": null,
                        "detector_path": null,
                        "bbox": {
                            "x": 324,
                            "y": 115,
                            "width": 7,
                            "height": 3
                        },
                        "normalized_bbox": null,
                        "source_polygon": null,
                        "center": {
                            "x": 327.5,
                            "y": 116.5
                        },
                        "area": 19,
                        "area_ratio": 0.004380104633219166,
                        "width_ratio": null,
                        "length_ratio": null,
                        "aspect_ratio": null,
                        "centerline_distance": null,
                        "fingertip_distance": null,
                        "brightness_mean": 147.89473684210526,
                        "brightness_delta": 35.47418407828617,
                        "saturation_mean": 0.08019558426588023,
                        "saturation_delta": null,
                        "chroma_delta": null,
                        "grayscale_evidence_score": null,
                        "local_contrast_score": null,
                        "edge_score": null,
                        "saturation_score": null,
                        "chroma_score": null,
                        "texture_stddev": null,
                        "surrounding_skin_texture": null,
                        "texture_difference": null,
                        "texture_score": null,
                        "boundary_score": null,
                        "boundary_trace_coverage": null,
                        "highlight_penalty": null,
                        "edge_touch_penalty": null,
                        "position_score": null,
                        "centerline_score": null,
                        "width_score": null,
                        "length_score": null,
                        "shape_score": null,
                        "distal_score": null,
                        "appearance_score": null,
                        "geometry_score": null,
                        "fused_score": null,
                        "representation_agreement_score": null,
                        "total_score": 37.6196730643819,
                        "axis_start": 30.266645290361172,
                        "axis_end": 36.364302435941624,
                        "axis_length": 6.0976571455804525,
                        "valid_size": false,
                        "rejection_reasons": [
                            "below_minimum_area_ratio"
                        ]
                    },
                    {
                        "id": null,
                        "detector_path": null,
                        "bbox": {
                            "x": 289,
                            "y": 124,
                            "width": 7,
                            "height": 3
                        },
                        "normalized_bbox": null,
                        "source_polygon": null,
                        "center": {
                            "x": 292.5,
                            "y": 125.5
                        },
                        "area": 16,
                        "area_ratio": 0.0036885091648161394,
                        "width_ratio": null,
                        "length_ratio": null,
                        "aspect_ratio": null,
                        "centerline_distance": null,
                        "fingertip_distance": null,
                        "brightness_mean": 165.6875,
                        "brightness_delta": 53.26694723618091,
                        "saturation_mean": 0.06707324709870695,
                        "saturation_delta": null,
                        "chroma_delta": null,
                        "grayscale_evidence_score": null,
                        "local_contrast_score": null,
                        "edge_score": null,
                        "saturation_score": null,
                        "chroma_score": null,
                        "texture_stddev": null,
                        "surrounding_skin_texture": null,
                        "texture_difference": null,
                        "texture_score": null,
                        "boundary_score": null,
                        "boundary_trace_coverage": null,
                        "highlight_penalty": null,
                        "edge_touch_penalty": null,
                        "position_score": null,
                        "centerline_score": null,
                        "width_score": null,
                        "length_score": null,
                        "shape_score": null,
                        "distal_score": null,
                        "appearance_score": null,
                        "geometry_score": null,
                        "fused_score": null,
                        "representation_agreement_score": null,
                        "total_score": 44.27653495608948,
                        "axis_start": 65.69483578680283,
                        "axis_end": 71.79249293238327,
                        "axis_length": 6.097657145580442,
                        "valid_size": false,
                        "rejection_reasons": [
                            "below_minimum_area_ratio"
                        ]
                    },
                    {
                        "id": null,
                        "detector_path": null,
                        "bbox": {
                            "x": 307,
                            "y": 118,
                            "width": 4,
                            "height": 3
                        },
                        "normalized_bbox": null,
                        "source_polygon": null,
                        "center": {
                            "x": 309,
                            "y": 119.5
                        },
                        "area": 9,
                        "area_ratio": 0.0020747864052090784,
                        "width_ratio": null,
                        "length_ratio": null,
                        "aspect_ratio": null,
                        "centerline_distance": null,
                        "fingertip_distance": null,
                        "brightness_mean": 146.44444444444446,
                        "brightness_delta": 34.02389168062537,
                        "saturation_mean": 0.0726297721437919,
                        "saturation_delta": null,
                        "chroma_delta": null,
                        "grayscale_evidence_score": null,
                        "local_contrast_score": null,
                        "edge_score": null,
                        "saturation_score": null,
                        "chroma_score": null,
                        "texture_stddev": null,
                        "surrounding_skin_texture": null,
                        "texture_difference": null,
                        "texture_score": null,
                        "boundary_score": null,
                        "boundary_trace_coverage": null,
                        "highlight_penalty": null,
                        "edge_touch_penalty": null,
                        "position_score": null,
                        "centerline_score": null,
                        "width_score": null,
                        "length_score": null,
                        "shape_score": null,
                        "distal_score": null,
                        "appearance_score": null,
                        "geometry_score": null,
                        "fused_score": null,
                        "representation_agreement_score": null,
                        "total_score": 39.500172895400205,
                        "axis_start": 50.39763935306007,
                        "axis_end": 53.499521495641915,
                        "axis_length": 3.101882142581843,
                        "valid_size": false,
                        "rejection_reasons": [
                            "below_minimum_area_ratio"
                        ]
                    },
                    {
                        "id": null,
                        "detector_path": null,
                        "bbox": {
                            "x": 306,
                            "y": 123,
                            "width": 5,
                            "height": 2
                        },
                        "normalized_bbox": null,
                        "source_polygon": null,
                        "center": {
                            "x": 308.5,
                            "y": 124
                        },
                        "area": 9,
                        "area_ratio": 0.0020747864052090784,
                        "width_ratio": null,
                        "length_ratio": null,
                        "aspect_ratio": null,
                        "centerline_distance": null,
                        "fingertip_distance": null,
                        "brightness_mean": 139.66666666666666,
                        "brightness_delta": 27.24611390284757,
                        "saturation_mean": 0.0827409834481976,
                        "saturation_delta": null,
                        "chroma_delta": null,
                        "grayscale_evidence_score": null,
                        "local_contrast_score": null,
                        "edge_score": null,
                        "saturation_score": null,
                        "chroma_score": null,
                        "texture_stddev": null,
                        "surrounding_skin_texture": null,
                        "texture_difference": null,
                        "texture_score": null,
                        "boundary_score": null,
                        "boundary_trace_coverage": null,
                        "highlight_penalty": null,
                        "edge_touch_penalty": null,
                        "position_score": null,
                        "centerline_score": null,
                        "width_score": null,
                        "length_score": null,
                        "shape_score": null,
                        "distal_score": null,
                        "appearance_score": null,
                        "geometry_score": null,
                        "fused_score": null,
                        "representation_agreement_score": null,
                        "total_score": 43.67061168403913,
                        "axis_start": 50.662907202018175,
                        "axis_end": 54.7103274424746,
                        "axis_length": 4.047420240456425,
                        "valid_size": false,
                        "rejection_reasons": [
                            "below_minimum_area_ratio"
                        ]
                    },
                    {
                        "id": null,
                        "detector_path": null,
                        "bbox": {
                            "x": 288,
                            "y": 130,
                            "width": 3,
                            "height": 3
                        },
                        "normalized_bbox": null,
                        "source_polygon": null,
                        "center": {
                            "x": 289.5,
                            "y": 131.5
                        },
                        "area": 8,
                        "area_ratio": 0.0018442545824080697,
                        "width_ratio": null,
                        "length_ratio": null,
                        "aspect_ratio": null,
                        "centerline_distance": null,
                        "fingertip_distance": null,
                        "brightness_mean": 131.5,
                        "brightness_delta": 19.07944723618091,
                        "saturation_mean": 0.10798433645956428,
                        "saturation_delta": null,
                        "chroma_delta": null,
                        "grayscale_evidence_score": null,
                        "local_contrast_score": null,
                        "edge_score": null,
                        "saturation_score": null,
                        "chroma_score": null,
                        "texture_stddev": null,
                        "surrounding_skin_texture": null,
                        "texture_difference": null,
                        "texture_score": null,
                        "boundary_score": null,
                        "boundary_trace_coverage": null,
                        "highlight_penalty": null,
                        "edge_touch_penalty": null,
                        "position_score": null,
                        "centerline_score": null,
                        "width_score": null,
                        "length_score": null,
                        "shape_score": null,
                        "distal_score": null,
                        "appearance_score": null,
                        "geometry_score": null,
                        "fused_score": null,
                        "representation_agreement_score": null,
                        "total_score": 49.72155030369636,
                        "axis_start": 71.00611554388357,
                        "axis_end": 73.1094060187992,
                        "axis_length": 2.1032904749156387,
                        "valid_size": false,
                        "rejection_reasons": [
                            "below_minimum_area_ratio"
                        ]
                    },
                    {
                        "id": null,
                        "detector_path": null,
                        "bbox": {
                            "x": 282,
                            "y": 120,
                            "width": 2,
                            "height": 2
                        },
                        "normalized_bbox": null,
                        "source_polygon": null,
                        "center": {
                            "x": 283,
                            "y": 121
                        },
                        "area": 3,
                        "area_ratio": 0.0006915954684030261,
                        "width_ratio": null,
                        "length_ratio": null,
                        "aspect_ratio": null,
                        "centerline_distance": null,
                        "fingertip_distance": null,
                        "brightness_mean": 144.33333333333334,
                        "brightness_delta": 31.912780569514254,
                        "saturation_mean": 0.055951673598732356,
                        "saturation_delta": null,
                        "chroma_delta": null,
                        "grayscale_evidence_score": null,
                        "local_contrast_score": null,
                        "edge_score": null,
                        "saturation_score": null,
                        "chroma_score": null,
                        "texture_stddev": null,
                        "surrounding_skin_texture": null,
                        "texture_difference": null,
                        "texture_score": null,
                        "boundary_score": null,
                        "boundary_trace_coverage": null,
                        "highlight_penalty": null,
                        "edge_touch_penalty": null,
                        "position_score": null,
                        "centerline_score": null,
                        "width_score": null,
                        "length_score": null,
                        "shape_score": null,
                        "distal_score": null,
                        "appearance_score": null,
                        "geometry_score": null,
                        "fused_score": null,
                        "representation_agreement_score": null,
                        "total_score": 39.61079743640046,
                        "axis_start": 77.51877508942238,
                        "axis_end": 78.51736675708858,
                        "axis_length": 0.9985916676662043,
                        "valid_size": false,
                        "rejection_reasons": [
                            "below_minimum_area_ratio"
                        ]
                    }
                ]
            },
            "nail_candidate": {
                "detected": false
            },
            "nail_extension_pixels": null,
            "nail_extension_ratio": null,
            "extension_definition": "unavailable",
            "confidence": 50,
            "screening_result": "retry",
            "screening_reason": "candidate missing or confidence below threshold"
        }
    ],
    "detected_finger_count": 4,
    "confidence": {
        "overall_score": 76
    },
    "result": "Adjust hand",
    "detector_path": "legacy",
    "source_attempt_id": null,
    "reprocessed_with_detector_version": null,
    "opencv": {
        "available": true,
        "used": false
    },
    "attempt_id": "20260903_102151_b095e34fd6c4",
    "timestamp": "2026-09-03T10:21:51+00:00",
    "detector_version": "1.2.0-opencv",
    "detector_config": {
        "camera_width": 1280,
        "camera_height": 720,
        "target_fps": 10,
        "camera_facing": "environment",
        "guide_width_percent": 88,
        "guide_height_percent": 60,
        "full_hand_guide_width_percent": 94,
        "full_hand_guide_height_percent": 88,
        "default_max_nail_length_mm": 3,
        "analysis_width": 400,
        "skin_cb_min": 72,
        "skin_cb_max": 138,
        "skin_cr_min": 128,
        "skin_cr_max": 180,
        "skin_saturation_min": 0.05,
        "skin_saturation_max": 0.78,
        "skin_value_min": 0.12,
        "mask_cleanup_passes": 1,
        "minimum_finger_area_ratio": 0.1,
        "maximum_finger_area_ratio": 0.88,
        "nail_minimum_area_ratio": 0.008,
        "nail_maximum_area_ratio": 0.2,
        "nail_brightness_offset": 8,
        "nail_saturation_factor": 0.92,
        "nail_search_depth_ratio": 0.48,
        "finger_center_tolerance_ratio": 0.24,
        "boundary_clip_penalty": 15,
        "confidence_detected_threshold": 70,
        "confidence_retry_threshold": 40,
        "debug_enabled": true,
        "detector_version": "1.2.0-opencv",
        "debug_capture_enabled": true,
        "debug_storage_path": "debug_attempts",
        "debug_max_attempts": 300,
        "debug_jpeg_quality": 0.82,
        "single_expected_direction": "left",
        "single_axis_alignment_min": 0.6,
        "nail_search_inward_ratio": 0.08,
        "nail_search_length_width_ratio": 1.65,
        "nail_search_half_width_ratio": 0.46,
        "experimental_nail_bed_length_ratio": 0.55,
        "experimental_nail_ratio_pass_max": 0.18,
        "experimental_confidence_min": 65,
        "experimental_nail_candidate_score_min": 65,
        "full_hand_min_skin_ratio": 0.08,
        "full_hand_max_skin_ratio": 0.78,
        "full_hand_required_fingers": 5,
        "full_hand_min_fingers_usable": 5,
        "full_hand_peak_separation_ratio": 0.09,
        "full_hand_tip_band_ratio": 0.58,
        "full_hand_blur_min_variance": 55,
        "full_hand_brightness_min": 55,
        "completion_vibration_enabled": true,
        "finger_roi_horizontal_padding_ratio": 0.15,
        "finger_roi_vertical_padding_ratio": 0.2,
        "finger_roi_major_padding_ratio": 0.12,
        "finger_roi_minor_padding_ratio": 0.25,
        "fingertip_refine_band_width_ratio": 0.18,
        "fingertip_refine_min_pixels": 8,
        "finger_area_ratio_min": 0.025,
        "finger_area_ratio_max": 0.75,
        "finger_edge_margin_ratio": 0.025,
        "auto_capture_enabled": false,
        "readiness_analysis_width": 200,
        "readiness_check_interval_ms": 300,
        "auto_capture_stable_ms": 750,
        "max_centroid_shift": 0.035,
        "max_area_change_percent": 12,
        "max_orientation_change_deg": 10,
        "acceptable_orientation_min_deg": -30,
        "acceptable_orientation_max_deg": 30,
        "min_readiness_confidence": 70,
        "auto_stop_camera_after_analysis": true,
        "readiness_min_aspect_ratio": 1.8,
        "readiness_tip_end_width_ratio_max": 1.35,
        "readiness_blob_dominance_min": 0.65,
        "readiness_history_limit": 40,
        "anatomical_zone_start_width_ratio": 0.08,
        "anatomical_zone_length_width_ratio": 1.55,
        "anatomical_zone_width_ratio": 0.72,
        "normalized_major_padding_ratio": 0.18,
        "normalized_minor_padding_ratio": 0.35,
        "width_profile_smoothing_radius": 3,
        "candidate_proposal_brightness_delta": 4,
        "candidate_proposal_saturation_delta": 0.02,
        "candidate_proposal_chroma_delta": 5,
        "candidate_proposal_gradient_min": 10,
        "nail_width_ratio_min": 0.4,
        "nail_width_ratio_max": 0.85,
        "nail_length_ratio_min": 0.35,
        "nail_length_ratio_max": 1.4,
        "nail_aspect_ratio_min": 0.45,
        "nail_aspect_ratio_max": 2.4,
        "candidate_min_area_pixels": 18,
        "candidate_keep_max": 10,
        "candidate_min_geometry_score": 55,
        "candidate_min_total_score": 62,
        "candidate_min_score_margin": 8,
        "candidate_edge_clearance_ratio": 0.06,
        "highlight_value_threshold": 242,
        "highlight_saturation_threshold": 0.1,
        "score_weight_position": 16,
        "score_weight_centerline": 14,
        "score_weight_width": 14,
        "score_weight_length": 10,
        "score_weight_shape": 10,
        "score_weight_distal": 10,
        "score_weight_boundary": 10,
        "score_weight_texture": 8,
        "score_weight_appearance": 8,
        "score_weight_highlight_penalty": 14,
        "score_weight_edge_penalty": 16,
        "confidence_weight_candidate": 0.5,
        "confidence_weight_margin": 0.2,
        "confidence_weight_geometry": 0.15,
        "confidence_weight_image_quality": 0.15,
        "multiview_blur_radius": 7,
        "multiview_contrast_clip": 28,
        "multiview_edge_threshold": 22,
        "multiview_outer_boundary_margin": 4,
        "multiview_fused_threshold": 0.52,
        "multiview_boundary_min_trace_ratio": 0.28,
        "multiview_min_detector_iou": 0.18,
        "multiview_min_ensemble_detectors": 2,
        "multiview_min_representation_agreement": 0.48,
        "multiview_weight_anatomy": 0.22,
        "multiview_weight_edge": 0.23,
        "multiview_weight_local_contrast": 0.18,
        "multiview_weight_chroma": 0.13,
        "multiview_weight_saturation": 0.1,
        "multiview_weight_smoothness": 0.14,
        "multiview_highlight_penalty_weight": 0.2,
        "multiview_outer_boundary_penalty_weight": 0.28,
        "ensemble_weight_candidate": 0.32,
        "ensemble_weight_representation": 0.22,
        "ensemble_weight_detector_agreement": 0.22,
        "ensemble_weight_margin": 0.1,
        "ensemble_weight_geometry": 0.07,
        "ensemble_weight_image_quality": 0.07,
        "default_detector": "opencv",
        "opencv_asset": "opencv.js",
        "opencv_version": "4.13.0",
        "opencv_skin_cr_min": 128,
        "opencv_skin_cr_max": 180,
        "opencv_skin_cb_min": 72,
        "opencv_skin_cb_max": 138,
        "opencv_morph_kernel": 5,
        "opencv_clahe_clip_limit": 2.5,
        "opencv_clahe_tile_size": 8,
        "opencv_bilateral_diameter": 7,
        "opencv_bilateral_sigma_color": 45,
        "opencv_bilateral_sigma_space": 45,
        "opencv_canny_sigma": 0.33,
        "opencv_adaptive_block_size": 21,
        "opencv_adaptive_c": 4,
        "opencv_outer_contour_margin": 4,
        "opencv_candidate_min_area_ratio": 0.015,
        "opencv_candidate_max_area_ratio": 0.72,
        "opencv_candidate_min_score": 58,
        "opencv_candidate_min_iou": 0.16,
        "opencv_min_method_agreement": 2,
        "opencv_grabcut_enabled": true,
        "opencv_max_candidates_per_method": 8
    },
    "saved_artifacts": [
        "original_roi.jpg",
        "analysis_input.jpg",
        "skin_mask.png",
        "cleaned_mask.png",
        "finger_detection.png",
        "fingertip_detection.png",
        "nail_search.png",
        "nail_candidates.png",
        "nail_candidate.png",
        "final_overlay.jpg"
    ],
    "user_feedback": null
}