Download examples/example_2_window.json from tailot/hlt-geometric-vision: direct link, hf CLI and curl.
- Browser
- Download file 8.56 kB
-
https://huggingface.co/tailot/hlt-geometric-vision/resolve/main/examples/example_2_window.json
- Command line
-
hf download hf://tailot/hlt-geometric-vision/examples/example_2_window.json
-
curl -L -o example_2_window.json https://huggingface.co/tailot/hlt-geometric-vision/resolve/main/examples/example_2_window.json
8.56 kB
| { | |
| "slug": "example_2_window", | |
| "caption": "Double-hung window with white casing: outer casing, both sashes and the individual panes come out as nested rectangles.", | |
| "license": "CC0", | |
| "license_url": "http://creativecommons.org/publicdomain/zero/1.0/deed.en", | |
| "public_domain": true, | |
| "usage_terms": "Creative Commons Zero, Public Domain Dedication", | |
| "artist": "Tucker T", | |
| "source_page": "https://commons.wikimedia.org/wiki/File:Double_hung_window.jpeg", | |
| "commons_file": "File:Double hung window.jpeg", | |
| "source_image_px_wh": [ | |
| 1280, | |
| 960 | |
| ], | |
| "files": { | |
| "image": "example_2_window.jpg", | |
| "overlay": "example_2_window_quads.png", | |
| "debug_mosaic": "example_2_window_debug.png" | |
| }, | |
| "pipeline": { | |
| "path": "B (network edge_map + geometric extractor)", | |
| "onnx_ms_cpu": 148.8, | |
| "extract_ms_cpu": 2534.2, | |
| "preprocess": { | |
| "img_size": 512, | |
| "pad": "BORDER_REPLICATE", | |
| "scale": 0.4, | |
| "offset_xy": [ | |
| 0, | |
| 64 | |
| ], | |
| "valid_mask_eroded": "5x5" | |
| }, | |
| "edge_map": "hybrid_edge_map(edge_map, gray, canny_lo=20, canny_hi=53, blur_sigma=1.2, valid=eroded mask)", | |
| "extractor": { | |
| "shape": "rect", | |
| "nested": true, | |
| "max_quads": 12, | |
| "max_quads_note": "the max_quads highest-scoring rectangles are kept (the QuadConfig default would be 64)", | |
| "min_side_cov": 0.6, | |
| "min_mean_cov": 0.75, | |
| "corner_angle_deg": [ | |
| 50.0, | |
| 130.0 | |
| ], | |
| "n_lines": 500, | |
| "edge_thresh": 0.5 | |
| } | |
| }, | |
| "n_rectangles": 12, | |
| "rectangles": [ | |
| { | |
| "corners_xy_clockwise_from_min_x_plus_y": [ | |
| [ | |
| 342.66, | |
| 81.77 | |
| ], | |
| [ | |
| 962.56, | |
| 47.26 | |
| ], | |
| [ | |
| 1072.5, | |
| 347.89 | |
| ], | |
| [ | |
| 299.68, | |
| 387.07 | |
| ] | |
| ], | |
| "score": 1.003, | |
| "side_edge_coverage": [ | |
| 1.0, | |
| 1.0, | |
| 1.0, | |
| 1.0 | |
| ], | |
| "side_contrast_coverage": [], | |
| "polarity": 0, | |
| "area_px_original": 33953.3, | |
| "refine_shift_px": 0.619 | |
| }, | |
| { | |
| "corners_xy_clockwise_from_min_x_plus_y": [ | |
| [ | |
| 394.36, | |
| 502.05 | |
| ], | |
| [ | |
| 781.91, | |
| 481.31 | |
| ], | |
| [ | |
| 828.56, | |
| 767.87 | |
| ], | |
| [ | |
| 375.81, | |
| 794.94 | |
| ] | |
| ], | |
| "score": 1.002, | |
| "side_edge_coverage": [ | |
| 1.0, | |
| 1.0, | |
| 1.0, | |
| 1.0 | |
| ], | |
| "side_contrast_coverage": [], | |
| "polarity": 0, | |
| "area_px_original": 19530.2, | |
| "refine_shift_px": 2.879 | |
| }, | |
| { | |
| "corners_xy_clockwise_from_min_x_plus_y": [ | |
| [ | |
| 344.17, | |
| 418.3 | |
| ], | |
| [ | |
| 1008.53, | |
| 390.64 | |
| ], | |
| [ | |
| 1118.55, | |
| 751.01 | |
| ], | |
| [ | |
| 301.62, | |
| 798.63 | |
| ] | |
| ], | |
| "score": 1.0, | |
| "side_edge_coverage": [ | |
| 0.983, | |
| 1.0, | |
| 1.0, | |
| 1.0 | |
| ], | |
| "side_contrast_coverage": [], | |
| "polarity": 0, | |
| "area_px_original": 44090.8, | |
| "refine_shift_px": 1.726 | |
| }, | |
| { | |
| "corners_xy_clockwise_from_min_x_plus_y": [ | |
| [ | |
| 781.79, | |
| 480.28 | |
| ], | |
| [ | |
| 1032.43, | |
| 466.58 | |
| ], | |
| [ | |
| 1117.96, | |
| 750.86 | |
| ], | |
| [ | |
| 828.45, | |
| 767.66 | |
| ] | |
| ], | |
| "score": 0.99, | |
| "side_edge_coverage": [ | |
| 0.957, | |
| 1.0, | |
| 1.0, | |
| 1.0 | |
| ], | |
| "side_contrast_coverage": [], | |
| "polarity": 0, | |
| "area_px_original": 12512.3, | |
| "refine_shift_px": 1.864 | |
| }, | |
| { | |
| "corners_xy_clockwise_from_min_x_plus_y": [ | |
| [ | |
| 324.18, | |
| 210.91 | |
| ], | |
| [ | |
| 956.14, | |
| 177.82 | |
| ], | |
| [ | |
| 1005.99, | |
| 341.43 | |
| ], | |
| [ | |
| 299.54, | |
| 390.72 | |
| ] | |
| ], | |
| "score": 0.988, | |
| "side_edge_coverage": [ | |
| 1.0, | |
| 0.943, | |
| 1.0, | |
| 1.0 | |
| ], | |
| "side_contrast_coverage": [], | |
| "polarity": 0, | |
| "area_px_original": 18469.0, | |
| "refine_shift_px": 2.882 | |
| }, | |
| { | |
| "corners_xy_clockwise_from_min_x_plus_y": [ | |
| [ | |
| 216.84, | |
| 390.65 | |
| ], | |
| [ | |
| 1070.49, | |
| 348.47 | |
| ], | |
| [ | |
| 1224.06, | |
| 780.95 | |
| ], | |
| [ | |
| 127.55, | |
| 849.24 | |
| ] | |
| ], | |
| "score": 0.968, | |
| "side_edge_coverage": [ | |
| 0.969, | |
| 1.0, | |
| 0.907, | |
| 0.97 | |
| ], | |
| "side_contrast_coverage": [], | |
| "polarity": 0, | |
| "area_px_original": 69792.4, | |
| "refine_shift_px": 1.37 | |
| }, | |
| { | |
| "corners_xy_clockwise_from_min_x_plus_y": [ | |
| [ | |
| 341.14, | |
| 95.62 | |
| ], | |
| [ | |
| 929.16, | |
| 96.43 | |
| ], | |
| [ | |
| 953.19, | |
| 178.0 | |
| ], | |
| [ | |
| 324.08, | |
| 210.89 | |
| ] | |
| ], | |
| "score": 0.966, | |
| "side_edge_coverage": [ | |
| 1.0, | |
| 0.946, | |
| 0.971, | |
| 0.942 | |
| ], | |
| "side_contrast_coverage": [], | |
| "polarity": 0, | |
| "area_px_original": 9591.9, | |
| "refine_shift_px": 2.581 | |
| }, | |
| { | |
| "corners_xy_clockwise_from_min_x_plus_y": [ | |
| [ | |
| 364.58, | |
| 169.2 | |
| ], | |
| [ | |
| 992.59, | |
| 133.34 | |
| ], | |
| [ | |
| 1071.89, | |
| 347.4 | |
| ], | |
| [ | |
| 339.2, | |
| 385.92 | |
| ] | |
| ], | |
| "score": 0.948, | |
| "side_edge_coverage": [ | |
| 1.0, | |
| 1.0, | |
| 0.859, | |
| 0.923 | |
| ], | |
| "side_contrast_coverage": [], | |
| "polarity": 0, | |
| "area_px_original": 23606.6, | |
| "refine_shift_px": 1.505 | |
| }, | |
| { | |
| "corners_xy_clockwise_from_min_x_plus_y": [ | |
| [ | |
| 323.28, | |
| 216.27 | |
| ], | |
| [ | |
| 1006.86, | |
| 172.35 | |
| ], | |
| [ | |
| 1085.52, | |
| 384.67 | |
| ], | |
| [ | |
| 294.46, | |
| 430.01 | |
| ] | |
| ], | |
| "score": 0.947, | |
| "side_edge_coverage": [ | |
| 1.0, | |
| 0.838, | |
| 1.0, | |
| 0.942 | |
| ], | |
| "side_contrast_coverage": [], | |
| "polarity": 0, | |
| "area_px_original": 25309.4, | |
| "refine_shift_px": 2.603 | |
| }, | |
| { | |
| "corners_xy_clockwise_from_min_x_plus_y": [ | |
| [ | |
| 315.16, | |
| 491.66 | |
| ], | |
| [ | |
| 781.72, | |
| 487.88 | |
| ], | |
| [ | |
| 838.04, | |
| 810.43 | |
| ], | |
| [ | |
| 273.95, | |
| 830.77 | |
| ] | |
| ], | |
| "score": 0.938, | |
| "side_edge_coverage": [ | |
| 0.959, | |
| 0.944, | |
| 0.839, | |
| 1.0 | |
| ], | |
| "side_contrast_coverage": [], | |
| "polarity": 0, | |
| "area_px_original": 27292.3, | |
| "refine_shift_px": 3.204 | |
| }, | |
| { | |
| "corners_xy_clockwise_from_min_x_plus_y": [ | |
| [ | |
| 344.49, | |
| 414.66 | |
| ], | |
| [ | |
| 767.42, | |
| 407.77 | |
| ], | |
| [ | |
| 829.96, | |
| 768.44 | |
| ], | |
| [ | |
| 301.77, | |
| 798.18 | |
| ] | |
| ], | |
| "score": 0.93, | |
| "side_edge_coverage": [ | |
| 0.973, | |
| 0.803, | |
| 0.94, | |
| 0.993 | |
| ], | |
| "side_contrast_coverage": [], | |
| "polarity": 0, | |
| "area_px_original": 28341.5, | |
| "refine_shift_px": 1.857 | |
| }, | |
| { | |
| "corners_xy_clockwise_from_min_x_plus_y": [ | |
| [ | |
| 370.04, | |
| 129.35 | |
| ], | |
| [ | |
| 964.2, | |
| 39.68 | |
| ], | |
| [ | |
| 1007.33, | |
| 175.28 | |
| ], | |
| [ | |
| 361.12, | |
| 209.64 | |
| ] | |
| ], | |
| "score": 0.929, | |
| "side_edge_coverage": [ | |
| 0.868, | |
| 0.967, | |
| 0.964, | |
| 0.913 | |
| ], | |
| "side_contrast_coverage": [], | |
| "polarity": 0, | |
| "area_px_original": 10881.1, | |
| "refine_shift_px": 2.086 | |
| } | |
| ], | |
| "note": "Coordinates are pixels of the published image (jpg, long side 1280). Corner order: clockwise from the vertex with the smallest x+y (canonical_order)." | |
| } | |