Download web/data/sizes.json from devmandan/qr-scan-difficulty-check: direct link, hf CLI and curl.
- Browser
- Download file 5.65 kB
-
https://huggingface.co/spaces/devmandan/qr-scan-difficulty-check/resolve/main/web/data/sizes.json
- Command line
-
hf download hf://spaces/devmandan/qr-scan-difficulty-check/web/data/sizes.json
-
curl -L -o sizes.json https://huggingface.co/spaces/devmandan/qr-scan-difficulty-check/resolve/main/web/data/sizes.json
5.65 kB
| { | |
| "about": "The version x size grid's two pixel standards, and the slant and can limits. Print widths for a scanning distance (needs, the everyday scene): code width = squares across x need x distance / camera pixels. The pixel check's limits (pixel_check, the good-light scene), which the server reads too. The limits for a code at a slant or on a can (shapes), from the tilt and curve ladders by the needs' 9-in-10 rule. All are measured; the camera, the distances and the choices are assumptions or named choices. Written from the grid's and the ladders' results: don't edit by hand.", | |
| "table": { | |
| "version": "2026-10-30", | |
| "measured": "2026-10-30" | |
| }, | |
| "rule": { | |
| "pass": 72, | |
| "of": 80, | |
| "frame": 1280, | |
| "steps": [ | |
| 1.6, | |
| 1.8, | |
| 2.0, | |
| 2.3, | |
| 2.6, | |
| 3.0, | |
| 3.5, | |
| 4.0, | |
| 5.0, | |
| 6.0 | |
| ] | |
| }, | |
| "scene": { | |
| "tilt": 15.0, | |
| "blur": 0.7, | |
| "shake": 2.0, | |
| "contrast": 0.61, | |
| "jpeg": 82 | |
| }, | |
| "good_scene": { | |
| "tilt": 5.0, | |
| "blur": 0.3, | |
| "contrast": 0.73 | |
| }, | |
| "pixel_check": { | |
| "ok_from": 4.45, | |
| "ok_steps": [ | |
| 4.0, | |
| 5.0 | |
| ], | |
| "ok_versions": [ | |
| 2, | |
| 4, | |
| 6, | |
| 8, | |
| 10 | |
| ], | |
| "problem_below": [ | |
| { | |
| "version": 2, | |
| "ppm": 1.9, | |
| "steps": [ | |
| 1.8, | |
| 2.0 | |
| ] | |
| }, | |
| { | |
| "version": 4, | |
| "ppm": 1.9, | |
| "steps": [ | |
| 1.8, | |
| 2.0 | |
| ] | |
| }, | |
| { | |
| "version": 6, | |
| "ppm": 2.14, | |
| "steps": [ | |
| 2.0, | |
| 2.3 | |
| ] | |
| }, | |
| { | |
| "version": 8, | |
| "ppm": 2.14, | |
| "steps": [ | |
| 2.0, | |
| 2.3 | |
| ] | |
| }, | |
| { | |
| "version": 10, | |
| "ppm": 2.43, | |
| "steps": [ | |
| 2.3, | |
| 2.6 | |
| ] | |
| }, | |
| { | |
| "version": 13, | |
| "ppm": 2.43, | |
| "steps": [ | |
| 2.3, | |
| 2.6 | |
| ] | |
| }, | |
| { | |
| "version": 15, | |
| "ppm": 2.77, | |
| "steps": [ | |
| 2.6, | |
| 3.0 | |
| ] | |
| }, | |
| { | |
| "version": 18, | |
| "ppm": 3.2, | |
| "steps": [ | |
| 3.0, | |
| 3.5 | |
| ] | |
| }, | |
| { | |
| "version": 21, | |
| "ppm": 3.2, | |
| "steps": [ | |
| 3.0, | |
| 3.5 | |
| ] | |
| } | |
| ], | |
| "source": "the version x size grid's good-light reads that the pixel check's explanations quote: at 4 camera pixels per square, Android Settings' scanner read 71 of 80 version 8 test codes; at 4 camera pixels per square, OpenCV's original detector read 60 of 80 version 8 test codes; at 4 camera pixels per square, Android Settings' scanner read 70 of 80 version 10 test codes; at 4 camera pixels per square, OpenCV's original detector read 59 of 80 version 10 test codes; at 1.8 camera pixels per square, Apple's read 62 of 80 version 2 test codes; at 2 camera pixels per square, Apple's read 64 of 80 version 8 test codes; at 2.3 camera pixels per square, Google's scanner read 51 of 80 version 13 test codes; at 3 camera pixels per square, Google's scanner read 64 of 80 version 21 test codes" | |
| }, | |
| "needs": [ | |
| { | |
| "version": 2, | |
| "ppm": 2.6, | |
| "scanners": [ | |
| "apple-vision", | |
| "google", | |
| "hms-scankit" | |
| ] | |
| }, | |
| { | |
| "version": 4, | |
| "ppm": 2.6, | |
| "scanners": [ | |
| "apple-vision", | |
| "google", | |
| "hms-scankit" | |
| ] | |
| }, | |
| { | |
| "version": 6, | |
| "ppm": 3.0, | |
| "scanners": [ | |
| "apple-vision", | |
| "google", | |
| "hms-scankit" | |
| ] | |
| }, | |
| { | |
| "version": 8, | |
| "ppm": 3.0, | |
| "scanners": [ | |
| "apple-vision", | |
| "google", | |
| "hms-scankit" | |
| ] | |
| }, | |
| { | |
| "version": 10, | |
| "ppm": 3.5, | |
| "scanners": [ | |
| "apple-vision", | |
| "google", | |
| "hms-scankit" | |
| ] | |
| }, | |
| { | |
| "version": 13, | |
| "ppm": 4.0, | |
| "scanners": [ | |
| "apple-vision", | |
| "google", | |
| "hms-scankit" | |
| ] | |
| }, | |
| { | |
| "version": 15, | |
| "ppm": 4.0, | |
| "scanners": [ | |
| "apple-vision", | |
| "google", | |
| "hms-scankit" | |
| ] | |
| }, | |
| { | |
| "version": 18, | |
| "ppm": 5.0, | |
| "scanners": [ | |
| "apple-vision", | |
| "google" | |
| ], | |
| "left_out": { | |
| "scanner": "hms-scankit", | |
| "reads": { | |
| "5.0": 76, | |
| "6.0": 69 | |
| } | |
| } | |
| }, | |
| { | |
| "version": 21, | |
| "ppm": 5.0, | |
| "scanners": [ | |
| "apple-vision", | |
| "google" | |
| ], | |
| "left_out": { | |
| "scanner": "hms-scankit", | |
| "reads": { | |
| "5.0": 70, | |
| "6.0": 63 | |
| } | |
| } | |
| } | |
| ], | |
| "camera": { | |
| "pixels": 960, | |
| "frame": [ | |
| 1280, | |
| 960 | |
| ], | |
| "lens_mm": [ | |
| 24, | |
| 26 | |
| ] | |
| }, | |
| "distances": [ | |
| { | |
| "key": "hand", | |
| "cm": 20 | |
| }, | |
| { | |
| "key": "table", | |
| "cm": 40 | |
| }, | |
| { | |
| "key": "wall", | |
| "cm": 100 | |
| }, | |
| { | |
| "key": "room", | |
| "cm": 300 | |
| } | |
| ], | |
| "default_distance": "table", | |
| "margin_squares": 4, | |
| "bigger": { | |
| "frame": 1920, | |
| "version": 13, | |
| "gain": { | |
| "everyday": { | |
| "apple-vision": 0.154, | |
| "google": 0.143 | |
| }, | |
| "good": { | |
| "apple-vision": 0.437, | |
| "google": 0.3 | |
| } | |
| } | |
| }, | |
| "smaller": { | |
| "frame": [ | |
| 640, | |
| 480 | |
| ], | |
| "reach": 0.5, | |
| "measured": false | |
| }, | |
| "choices": { | |
| "distance_cm": [ | |
| 10, | |
| 1000 | |
| ], | |
| "width_cm": [ | |
| 0.5, | |
| 2000 | |
| ], | |
| "photo_tilt": 5, | |
| "photo_blur": "not ok", | |
| "photo_tilt_from": { | |
| "version": 2, | |
| "ppm": 3 | |
| }, | |
| "photo_camera": { | |
| "keystone": 1.02, | |
| "turn": 1 | |
| }, | |
| "file": { | |
| "at_most": { | |
| "perspective.tilt": 4.9, | |
| "blur.modules": 0.25 | |
| }, | |
| "at_least": { | |
| "contrast.value": 0.95, | |
| "lighting.ratio": 0.97 | |
| }, | |
| "square_turn": 0.5 | |
| }, | |
| "uec_min_ppm": 2, | |
| "uec_min_ppm_v1": 3, | |
| "margin_min_ppm": 4, | |
| "diameter_cm": [ | |
| 0.5, | |
| 2000 | |
| ] | |
| }, | |
| "shapes": { | |
| "ladder": { | |
| "version": 3, | |
| "ppm": 8.0 | |
| }, | |
| "slant": { | |
| "most": 55, | |
| "next": 60, | |
| "reads": { | |
| "apple-vision": { | |
| "55": 76, | |
| "60": 49 | |
| }, | |
| "google": { | |
| "55": 80, | |
| "60": 80 | |
| }, | |
| "hms-scankit": { | |
| "55": 80, | |
| "60": 79 | |
| } | |
| } | |
| }, | |
| "can": { | |
| "bend": 0.6, | |
| "next": 0.55, | |
| "reads": { | |
| "apple-vision": { | |
| "0.6": 80, | |
| "0.55": 69 | |
| }, | |
| "google": { | |
| "0.6": 80, | |
| "0.55": 75 | |
| }, | |
| "hms-scankit": { | |
| "0.6": 80, | |
| "0.55": 78 | |
| } | |
| } | |
| } | |
| } | |
| } | |