Dataset Viewer
Auto-converted to Parquet Duplicate
sample_id
stringlengths
8
8
image
imagewidth (px)
423
1.29k
mask
imagewidth (px)
423
1.29k
overlay
imagewidth (px)
423
1.29k
outer_polygon
stringlengths
303
871
edges
stringlengths
216
3.61k
roof_001
{"sample_id": "roof_001", "image_file": "roof_001.png", "image_width": 905, "image_height": 795, "class_name": "roof", "class_id": 0, "points_xy": [[5.881283192768378, 5.757656328446625], [6.830927694500006, 1.878350560465673], [2.077742698990515, 0.7147825751949064], [1.128098197258887, 4.594088343175858]]}
{"sample_id": "roof_001", "image_file": "roof_001.png", "image_width": 905, "image_height": 795, "edges": [{"type": "line", "points": [[1.573103654732661, 2.776237310696678], [6.326288650242153, 3.939805295967444]]}]}
roof_002
{"sample_id": "roof_002", "image_file": "roof_002.png", "image_width": 830, "image_height": 713, "class_name": "roof", "class_id": 0, "points_xy": [[5.888285791335317, 0.8371989540291292], [5.606938311845177, 5.255836869346951], [1.148389720484312, 4.971948161468186], [1.429737199974454, 0.553310246150364]]}
{"sample_id": "roof_002", "image_file": "roof_002.png", "image_width": 830, "image_height": 713, "edges": [{"type": "line", "points": [[1.148389720484312, 4.971948161468186], [3.434521472101199, 3.883712418110381]]}, {"type": "line", "points": [[3.434521472101199, 3.883712418110381], [5.606938311845178, 5.2558368693469...
roof_003
{"sample_id": "roof_003", "image_file": "roof_003.png", "image_width": 595, "image_height": 703, "class_name": "roof", "class_id": 0, "points_xy": [[2.048965295484744, 0.574207279785814], [4.459373511353888, 0.5556169963588645], [4.488897417590116, 4.383674079834326], [2.692725608913012, 4.397527062406727], [2.70064464...
{"sample_id": "roof_003", "image_file": "roof_003.png", "image_width": 595, "image_height": 703, "edges": [{"type": "line", "points": [[0.7450401598489585, 5.439388884618425], [1.732654109377404, 4.487472596769398]]}, {"type": "line", "points": [[2.700644647890546, 5.424306276840886], [1.732654109377405, 4.487472596769...
roof_004
{"sample_id": "roof_004", "image_file": "roof_004.png", "image_width": 877, "image_height": 793, "class_name": "roof", "class_id": 0, "points_xy": [[5.169502109081442, 1.305439500570769], [4.739445858403087, 2.025249199796649], [4.984036717947338, 2.171382029236076], [5.060883166917069, 2.042759740332653], [6.239913165...
{"sample_id": "roof_004", "image_file": "roof_004.png", "image_width": 877, "image_height": 793, "edges": [{"type": "line", "points": [[5.329897280515297, 2.378019279269631], [5.022120639109902, 2.893162615354864]]}, {"type": "line", "points": [[4.388731364701007, 1.815711928511872], [4.091658097603776, 2.3129404159485...
roof_005
{"sample_id": "roof_005", "image_file": "roof_005.png", "image_width": 1090, "image_height": 862, "class_name": "roof", "class_id": 0, "points_xy": [[7.3662074404367, 4.528402065700927], [6.539472655331979, 4.030881328795468], [6.82013125334379, 3.564508354759586], [7.760037479856839, 4.13013453483829], [8.563052546794...
{"sample_id": "roof_005", "image_file": "roof_005.png", "image_width": 1090, "image_height": 862, "edges": [{"type": "line", "points": [[4.898125931565537, 2.920066748845393], [4.549866344164188, 3.498772908796817]]}, {"type": "line", "points": [[7.498699646699921, 3.083785565771089], [6.566903550941269, 2.523039981382...
roof_006
{"sample_id": "roof_006", "image_file": "roof_006.png", "image_width": 1288, "image_height": 885, "class_name": "roof", "class_id": 0, "points_xy": [[0.7289370696109156, 6.936656233979929], [0.7077816842384282, 3.311587745958947], [1.573478052271563, 3.306535664779806], [1.555935076441217, 0.3004694670119847], [6.90179...
{"sample_id": "roof_006", "image_file": "roof_006.png", "image_width": 1288, "image_height": 885, "edges": [{"type": "line", "points": [[4.255641885599501, 2.952525131801777], [4.263026070352871, 4.21783772184785]]}, {"type": "line", "points": [[7.434904643317002, 4.391371432401274], [4.4653574472682, 4.408701288519135...
roof_007
{"sample_id": "roof_007", "image_file": "roof_007.png", "image_width": 787, "image_height": 792, "class_name": "roof", "class_id": 0, "points_xy": [[0.8030510486611406, 5.193020145548613], [2.950972924138523, 5.874997753870394], [3.020891640687938, 5.654785332011979], [3.949248737043382, 5.949544075088233], [4.03186577...
{"sample_id": "roof_007", "image_file": "roof_007.png", "image_width": 787, "image_height": 792, "edges": [{"type": "line", "points": [[3.445761150154962, 1.902014616773433], [3.163965588634015, 2.789543537983404]]}, {"type": "line", "points": [[3.495091360427082, 3.551807254079687], [3.314192457619933, 3.4943708070221...
roof_008
null
null
roof_009
{"sample_id": "roof_009", "image_file": "roof_009.png", "image_width": 857, "image_height": 857, "class_name": "roof", "class_id": 0, "points_xy": [[6.322145371275781, 2.777139416874978], [5.048290343011514, 2.009993279599794], [5.374648423126866, 1.468071915247553], [3.305725917366771, 0.2221170197565152], [0.49793834...
{"sample_id": "roof_009", "image_file": "roof_009.png", "image_width": 857, "image_height": 857, "edges": [{"type": "line", "points": [[2.144372883508082, 4.49416995194651], [2.61438838270772, 3.713703782692228]]}, {"type": "line", "points": [[4.717519769993492, 4.856394415117069], [3.869630314958548, 4.345774991529612...
roof_010
null
null
roof_011
{"sample_id": "roof_011", "image_file": "roof_011.png", "image_width": 792, "image_height": 843, "class_name": "roof", "class_id": 0, "points_xy": [[0.5691381977202231, 2.230645974606349], [4.109946557804793, 6.292015046859344], [5.54893541981746, 5.037466715486895], [5.004686775442706, 4.413204008474051], [6.012997512...
{"sample_id": "roof_011", "image_file": "roof_011.png", "image_width": 792, "image_height": 843, "edges": [{"type": "line", "points": [[2.60346993758344, 2.359645612582636], [3.722101077104356, 3.642735080096936]]}, {"type": "line", "points": [[2.603469937583439, 2.359645612582635], [0.5691381977202231, 2.2306459746063...
roof_012
{"sample_id": "roof_012", "image_file": "roof_012.png", "image_width": 918, "image_height": 871, "class_name": "roof", "class_id": 0, "points_xy": [[4.958718672086614, 4.210506877518492], [3.696885479734781, 6.268316266858489], [0.8907437041612258, 4.547611301078069], [3.126249922748132, 0.9019268204236116], [7.1429230...
{"sample_id": "roof_012", "image_file": "roof_012.png", "image_width": 918, "image_height": 871, "edges": [{"type": "line", "points": [[3.153536542283194, 3.987824445663558], [3.646144255692729, 3.184475172511747]]}, {"type": "line", "points": [[4.650789283788867, 2.919597346379039], [5.875405773902033, 3.6705229389692...
roof_013
{"sample_id": "roof_013", "image_file": "roof_013.png", "image_width": 1201, "image_height": 767, "class_name": "roof", "class_id": 0, "points_xy": [[1.424086266859061, 5.17507021988443], [1.516902644824215, 5.752795592458321], [9.361876536499418, 4.492435399841633], [8.711947582972902, 0.4470238565968359], [1.17451176...
{"sample_id": "roof_013", "image_file": "roof_013.png", "image_width": 1201, "image_height": 767, "edges": [{"type": "line", "points": [[0.7208906124629842, 3.540250248072935], [1.787628637046981, 3.368869927283994]]}, {"type": "line", "points": [[0.9946229317990541, 5.244067070501413], [0.7208906124629842, 3.540250248...
roof_014
{"sample_id": "roof_014", "image_file": "roof_014.png", "image_width": 836, "image_height": 745, "class_name": "roof", "class_id": 0, "points_xy": [[6.525160226019183, 3.839456810821323], [3.930894858624947, 4.955039887470788], [4.035996744927437, 5.199452149892196], [2.624754753330429, 5.806312844510262], [0.859882471...
{"sample_id": "roof_014", "image_file": "roof_014.png", "image_width": 836, "image_height": 745, "edges": [{"type": "line", "points": [[2.441873845390502, 1.899936060286339], [3.8403195122335, 1.298578026852757]]}, {"type": "line", "points": [[3.096590092514865, 4.115923131166061], [2.311002594092759, 2.289055654528646...
roof_015
{"sample_id": "roof_015", "image_file": "roof_015.png", "image_width": 808, "image_height": 792, "class_name": "roof", "class_id": 0, "points_xy": [[0.7896506943136572, 0.644226093815162], [2.543328713908351, 0.3428126734875436], [2.683129816120779, 1.156200875640172], [5.416939708807886, 0.6863272836393715], [6.111619...
{"sample_id": "roof_015", "image_file": "roof_015.png", "image_width": 808, "image_height": 792, "edges": [{"type": "line", "points": [[5.101134703049211, 3.979020536858291], [4.898168002516487, 2.798123412085377]]}, {"type": "line", "points": [[4.256965624989835, 2.33047019106247], [2.537252540142823, 2.62604588802289...
roof_016
{"sample_id": "roof_016", "image_file": "roof_016.png", "image_width": 812, "image_height": 747, "class_name": "roof", "class_id": 0, "points_xy": [[5.64032983045762, 0.3768564750575916], [6.263962460076513, 3.794035448522595], [3.864240593500413, 4.231982910340587], [4.064969084456728, 5.331869520010583], [1.004828283...
{"sample_id": "roof_016", "image_file": "roof_016.png", "image_width": 812, "image_height": 747, "edges": [{"type": "line", "points": [[6.263962460076512, 3.794035448522596], [3.810778873801072, 4.241739634556363]]}, {"type": "line", "points": [[0.7733194389613243, 1.265082263756722], [1.039881817764557, 2.725703970673...
roof_017
{"sample_id": "roof_017", "image_file": "roof_017.png", "image_width": 1166, "image_height": 812, "class_name": "roof", "class_id": 0, "points_xy": [[5.624727440978923, 0.2779219097260774], [6.690231951142401, 1.825565553923699], [7.533576378371054, 1.244949147684366], [8.675038734123685, 2.902921444488598], [6.9953362...
{"sample_id": "roof_017", "image_file": "roof_017.png", "image_width": 1166, "image_height": 812, "edges": [{"type": "line", "points": [[6.504945518336274, 2.899179190965843], [6.926773897944053, 2.608763472417129]]}, {"type": "line", "points": [[3.181767157148938, 4.036699522018714], [5.216054424316572, 2.636156014304...
roof_018
{"sample_id": "roof_018", "image_file": "roof_018.png", "image_width": 782, "image_height": 821, "class_name": "roof", "class_id": 0, "points_xy": [[4.196055693411298, 3.836692267537682], [5.545972284458306, 1.898003017835543], [3.311363674709305, 0.342036667240756], [0.8385526776759933, 3.893376156131559], [1.70399175...
{"sample_id": "roof_018", "image_file": "roof_018.png", "image_width": 782, "image_height": 821, "edges": [{"type": "line", "points": [[3.652397067418966, 2.282465909016358], [2.734839407794638, 3.600220785496262]]}, {"type": "line", "points": [[3.141628673740028, 4.671517285183576], [3.050633159096271, 4.8022009342186...
roof_019
{"sample_id": "roof_019", "image_file": "roof_019.png", "image_width": 423, "image_height": 816, "class_name": "roof", "class_id": 0, "points_xy": [[0.5335827502738782, 2.660484914894653], [0.2500859796804187, 0.891427509661433], [2.712447928214519, 0.4968266005120733], [2.995944698806973, 2.265884005746272], [2.607915...
{"sample_id": "roof_019", "image_file": "roof_019.png", "image_width": 423, "image_height": 816, "edges": [{"type": "line", "points": [[1.749615150305001, 1.715725909852886], [2.362987427520503, 5.543250177254098]]}, {"type": "line", "points": [[1.985924923285475, 1.50984009054359], [1.241966403940543, 1.62906168112926...
roof_020
{"sample_id": "roof_020", "image_file": "roof_020.png", "image_width": 757, "image_height": 818, "class_name": "roof", "class_id": 0, "points_xy": [[5.513222798827968, 5.859555974593541], [2.033901946781508, 6.440490513036426], [1.797911019257581, 5.02709864064286], [1.898092683506192, 5.010371528842731], [1.5055316772...
{"sample_id": "roof_020", "image_file": "roof_020.png", "image_width": 757, "image_height": 818, "edges": [{"type": "line", "points": [[3.720275889798783, 4.657025264033854], [3.375715780503437, 4.714555706488298]]}, {"type": "line", "points": [[2.989002717398658, 2.398462007148377], [3.375715780503437, 4.7145557064882...
roof_021
{"sample_id": "roof_021", "image_file": "roof_021.png", "image_width": 961, "image_height": 797, "class_name": "roof", "class_id": 0, "points_xy": [[1.974933011886525, 0.4235350642404554], [4.387627646834887, 1.170012569560658], [4.249684609053131, 1.615859128650328], [7.534183799953945, 2.632069272584449], [6.50146656...
{"sample_id": "roof_021", "image_file": "roof_021.png", "image_width": 961, "image_height": 797, "edges": [{"type": "line", "points": [[2.950664043602206, 3.01377912289291], [5.363109268971212, 3.760179461945138]]}, {"type": "line", "points": [[2.950664043602206, 3.01377912289291], [2.595866668360366, 4.160521948550025...
roof_022
{"sample_id": "roof_022", "image_file": "roof_022.png", "image_width": 736, "image_height": 817, "class_name": "roof", "class_id": 0, "points_xy": [[4.826760161394735, 0.3750428079427532], [5.440102918106685, 5.475509547345695], [4.102899927620808, 5.636311256360311], [4.183204205062088, 6.304109631145456], [1.24770044...
{"sample_id": "roof_022", "image_file": "roof_022.png", "image_width": 736, "image_height": 817, "edges": [{"type": "line", "points": [[2.964811389682641, 2.792499990119498], [3.064943190867154, 3.625181090382596]]}, {"type": "line", "points": [[5.440102918106687, 5.475509547345694], [3.064943190867154, 3.6251810903825...
roof_023
{"sample_id": "roof_023", "image_file": "roof_023.png", "image_width": 847, "image_height": 791, "class_name": "roof", "class_id": 0, "points_xy": [[4.753586784586177, 1.08222136255085], [3.273411302887629, 0.1913011313109969], [1.039620577495464, 3.90252257070936], [2.81994966572526, 4.97410578674031], [2.475004007077...
{"sample_id": "roof_023", "image_file": "roof_023.png", "image_width": 847, "image_height": 791, "edges": [{"type": "line", "points": [[3.14525825072551, 2.054459151477586], [3.559237841123008, 1.366673176770097]]}, {"type": "line", "points": [[3.725948184915096, 3.437633840665041], [3.460839167240837, 3.27806425567294...
roof_024
{"sample_id": "roof_024", "image_file": "roof_024.png", "image_width": 932, "image_height": 763, "class_name": "roof", "class_id": 0, "points_xy": [[1.437442380363225, 0.9678371791378584], [1.303867960045241, 0.8988998034845639], [0.7048727650931158, 2.059524721110552], [1.100362360381492, 2.263635768214172], [0.340326...
{"sample_id": "roof_024", "image_file": "roof_024.png", "image_width": 932, "image_height": 763, "edges": [{"type": "line", "points": [[2.64424060050663, 2.594615902512177], [3.935593608001168, 3.261079490126784]]}, {"type": "line", "points": [[4.360533691523845, 3.133800696615681], [5.052319555276079, 3.49082939902439...
roof_025
{"sample_id": "roof_025", "image_file": "roof_025.png", "image_width": 892, "image_height": 803, "class_name": "roof", "class_id": 0, "points_xy": [[7.041023991460104, 4.239892185232926], [5.318128392232328, 0.5141455261587017], [3.296015625743137, 1.449230357555213], [3.431171400614352, 1.741503538185951], [0.48885134...
{"sample_id": "roof_025", "image_file": "roof_025.png", "image_width": 892, "image_height": 803, "edges": [{"type": "line", "points": [[2.945830505640427, 4.06566499490802], [4.503549021216723, 3.345329818927528]]}, {"type": "line", "points": [[4.887742545105028, 2.309679909394198], [4.741199876315707, 1.99278267029379...
roof_026
{"sample_id": "roof_026", "image_file": "roof_026.png", "image_width": 745, "image_height": 822, "class_name": "roof", "class_id": 0, "points_xy": [[0.6393022364132733, 1.410830647569034], [1.152799772514097, 3.582972884419449], [1.460666768606356, 3.51019268556408], [2.131319554842241, 6.347116216504606], [5.655398288...
{"sample_id": "roof_026", "image_file": "roof_026.png", "image_width": 745, "image_height": 822, "edges": [{"type": "line", "points": [[3.489413845637709, 4.185421416925556], [3.132039158874725, 2.673693322972816]]}, {"type": "line", "points": [[2.316029055527857, 2.135020877559707], [1.94660076078094, 2.22235425559554...
roof_027
{"sample_id": "roof_027", "image_file": "roof_027.png", "image_width": 842, "image_height": 786, "class_name": "roof", "class_id": 0, "points_xy": [[0.6807566548995873, 1.41878161298622], [1.1603343855463, 3.745962544974574], [2.152139516819338, 3.541574631872646], [2.33151787868605, 4.412019351615264], [3.040367443253...
{"sample_id": "roof_027", "image_file": "roof_027.png", "image_width": 842, "image_height": 786, "edges": [{"type": "line", "points": [[6.448874784317502, 5.086736743949381], [4.569167893514436, 3.828835483094064]]}, {"type": "line", "points": [[4.258227911933419, 2.319979775485399], [4.569167893514436, 3.8288354830940...
roof_028
{"sample_id": "roof_028", "image_file": "roof_028.png", "image_width": 518, "image_height": 792, "class_name": "roof", "class_id": 0, "points_xy": [[1.040037549649726, 1.932351621496031], [1.280348015043865, 1.897681536532672], [1.08642865965656, 0.5535587692719172], [2.718578298424403, 0.3180851848976616], [3.55823318...
{"sample_id": "roof_028", "image_file": "roof_028.png", "image_width": 518, "image_height": 792, "edges": [{"type": "line", "points": [[2.164200363264916, 2.086008706977873], [2.040387272205768, 1.227816938317255]]}, {"type": "line", "points": [[2.617923956830675, 4.401054998825268], [2.298471319365796, 2.1868172182805...
roof_029
{"sample_id": "roof_029", "image_file": "roof_029.png", "image_width": 1192, "image_height": 826, "class_name": "roof", "class_id": 0, "points_xy": [[0.6696635900446337, 2.970666932557377], [1.573330409071002, 1.368552392553847], [3.355694887489334, 2.373888526981641], [4.535344716095602, 0.2824825986778676], [9.233470...
{"sample_id": "roof_029", "image_file": "roof_029.png", "image_width": 1192, "image_height": 826, "edges": [{"type": "line", "points": [[5.351086680499586, 3.152644001683266], [6.372723835065241, 3.728894684523609]]}, {"type": "line", "points": [[1.944136925165116, 2.631648880732288], [3.741815279533906, 3.645622750616...
roof_030
{"sample_id": "roof_030", "image_file": "roof_030.png", "image_width": 757, "image_height": 791, "class_name": "roof", "class_id": 0, "points_xy": [[5.947603840758247, 2.02543504593368], [3.631718660872757, 6.21936685140464], [0.6617745640152304, 4.579366527596717], [2.977659743900718, 0.3854347221257503]]}
{"sample_id": "roof_030", "image_file": "roof_030.png", "image_width": 757, "image_height": 791, "edges": [{"type": "line", "points": [[3.65874709621397, 2.68763950736153], [2.996706548329973, 3.88655598836746]]}, {"type": "line", "points": [[5.947603840758247, 2.02543504593368], [3.65874709621397, 2.68763950736153]]},...
roof_031
{"sample_id": "roof_031", "image_file": "roof_031.png", "image_width": 890, "image_height": 751, "class_name": "roof", "class_id": 0, "points_xy": [[6.870256514818831, 2.522304437125528], [6.126925447158276, 4.456780500689585], [4.630547782943968, 3.881790699722738], [3.92191081350155, 5.725977381515834], [1.7232399541...
{"sample_id": "roof_031", "image_file": "roof_031.png", "image_width": 890, "image_height": 751, "edges": [{"type": "line", "points": [[5.511888353511144, 3.117740457980616], [4.041645699361478, 2.552793151362125]]}, {"type": "line", "points": [[3.235658712552579, 4.193534484651323], [3.83153721000984, 2.64279519730863...
roof_032
{"sample_id": "roof_032", "image_file": "roof_032.png", "image_width": 827, "image_height": 802, "class_name": "roof", "class_id": 0, "points_xy": [[2.914748663605806, 6.366994985089567], [6.141065531369508, 4.868308268541812], [4.097365887152778, 0.4687078971132351], [2.901069396954808, 1.024410803057226], [3.00653072...
{"sample_id": "roof_032", "image_file": "roof_032.png", "image_width": 827, "image_height": 802, "edges": [{"type": "line", "points": [[3.782110475245094, 4.013593705923291], [3.336897534953061, 3.055155892903407]]}, {"type": "line", "points": [[1.753410686149016, 2.29839676298577], [1.861420516758777, 2.53091629794454...
roof_033
{"sample_id": "roof_033", "image_file": "roof_033.png", "image_width": 783, "image_height": 832, "class_name": "roof", "class_id": 0, "points_xy": [[1.11111585419389, 0.7126321908766475], [2.111788172959483, 0.5402980119428502], [2.084314758294771, 0.380771412361809], [3.053372518003163, 0.2138818419925757], [3.1707551...
{"sample_id": "roof_033", "image_file": "roof_033.png", "image_width": 783, "image_height": 832, "edges": [{"type": "line", "points": [[2.084314758294771, 0.3807714123618062], [2.146635149616752, 0.7426397943412821]]}, {"type": "line", "points": [[3.17075518794556, 0.895473788759432], [3.199211839116645, 1.060709630470...
roof_034
{"sample_id": "roof_034", "image_file": "roof_034.png", "image_width": 967, "image_height": 841, "class_name": "roof", "class_id": 0, "points_xy": [[1.888779189011491, 6.266206117624687], [1.60932577221085, 3.867995688675765], [1.277773770326144, 3.906630054807931], [0.949628538884659, 1.090556716851891], [4.4448729936...
{"sample_id": "roof_034", "image_file": "roof_034.png", "image_width": 967, "image_height": 841, "edges": [{"type": "line", "points": [[3.037512718774129, 2.429664062440687], [3.279342905808126, 4.504999849060449]]}, {"type": "line", "points": [[3.535040619225737, 4.711993534074251], [5.986257545590285, 4.4263634921386...
roof_035
{"sample_id": "roof_035", "image_file": "roof_035.png", "image_width": 671, "image_height": 815, "class_name": "roof", "class_id": 0, "points_xy": [[1.522679832913352, 6.58079701665838], [4.336892752002908, 6.23470117523126], [4.170728372450407, 4.883566929581625], [5.050352390719261, 4.775389537360849], [4.51263333151...
{"sample_id": "roof_035", "image_file": "roof_035.png", "image_width": 671, "image_height": 815, "edges": [{"type": "line", "points": [[2.757640000432508, 4.977242253103778], [2.590541975553079, 3.618516246946025]]}, {"type": "line", "points": [[2.987399346032058, 3.124432927875335], [2.91141295939691, 2.50656398711475...
roof_036
{"sample_id": "roof_036", "image_file": "roof_036.png", "image_width": 1187, "image_height": 772, "class_name": "roof", "class_id": 0, "points_xy": [[5.294050696232424, 1.290905164874194], [5.215148985304199, 0.8279924247565711], [7.684362925384633, 0.4071243266554712], [7.998506581409882, 2.250190831680892], [8.684748...
{"sample_id": "roof_036", "image_file": "roof_036.png", "image_width": 1187, "image_height": 772, "edges": [{"type": "line", "points": [[2.922968076268104, 3.679807735452997], [6.170589072562943, 3.126263123591883]]}, {"type": "line", "points": [[6.856159449452039, 3.609589762468613], [8.483709673765988, 3.332180034477...
roof_037
{"sample_id": "roof_037", "image_file": "roof_037.png", "image_width": 632, "image_height": 811, "class_name": "roof", "class_id": 0, "points_xy": [[0.6704635318790884, 0.5954168353996635], [2.504587904197081, 0.3770843570982189], [2.549762415185219, 0.7565774689606716], [4.211861524101608, 0.5587227197903639], [4.7030...
{"sample_id": "roof_037", "image_file": "roof_037.png", "image_width": 632, "image_height": 811, "edges": [{"type": "line", "points": [[1.744717609276554, 1.806757197439344], [1.587525718038084, 0.4862505962489408]]}, {"type": "line", "points": [[2.737877808540676, 3.119872413917724], [2.668588767694035, 2.537802721217...
roof_038
{"sample_id": "roof_038", "image_file": "roof_038.png", "image_width": 1026, "image_height": 852, "class_name": "roof", "class_id": 0, "points_xy": [[7.423282499033931, 0.4430004081639294], [8.209574732210887, 4.953742013034853], [4.976120255098497, 5.517383286332045], [5.149913842684474, 6.514389148919418], [3.0219531...
{"sample_id": "roof_038", "image_file": "roof_038.png", "image_width": 1026, "image_height": 852, "edges": [{"type": "line", "points": [[2.880180788188503, 3.646684947524249], [4.799085031226312, 3.31219017156961]]}, {"type": "line", "points": [[5.61584318871943, 3.073329904929166], [4.93185550324102, 3.192559568649961...
roof_039
{"sample_id": "roof_039", "image_file": "roof_039.png", "image_width": 1097, "image_height": 775, "class_name": "roof", "class_id": 0, "points_xy": [[4.206279266013856, 5.609129365024136], [4.022736423557358, 4.579358778928067], [8.488242524328802, 3.783442005028343], [7.940266568250608, 0.70901254809688], [4.471719597...
{"sample_id": "roof_039", "image_file": "roof_039.png", "image_width": 1097, "image_height": 775, "edges": [{"type": "line", "points": [[3.199966824984796, 3.139957038986611], [8.214254546289705, 2.246227276562611]]}, {"type": "line", "points": [[2.745420263941705, 4.58293002087508], [2.646943293575042, 4.0304231176680...
roof_040
{"sample_id": "roof_040", "image_file": "roof_040.png", "image_width": 1209, "image_height": 684, "class_name": "roof", "class_id": 0, "points_xy": [[11.81588375410754, 0.5973052643158852], [11.81588375410754, 6.6668190233067], [0.7855656540778, 6.6668190233067], [0.7855656540778, 0.5973052643158852]]}
{"sample_id": "roof_040", "image_file": "roof_040.png", "image_width": 1209, "image_height": 684, "edges": [{"type": "line", "points": [[11.81588375410754, 3.632062143811292], [0.7855656540778, 3.632062143811292]]}]}
roof_041
{"sample_id": "roof_041", "image_file": "roof_041.png", "image_width": 1016, "image_height": 817, "class_name": "roof", "class_id": 0, "points_xy": [[8.112086115311197, 5.526809580147509], [7.265197101134129, 0.3903301261494514], [5.147794234422571, 0.7394418557803064], [5.373994432175623, 2.111372119135991], [3.006688...
{"sample_id": "roof_041", "image_file": "roof_041.png", "image_width": 1016, "image_height": 817, "edges": [{"type": "line", "points": [[2.93229606453516, 4.439768586899344], [5.88520370379831, 3.952901061786652]]}, {"type": "line", "points": [[1.784861010237331, 2.13561918655898], [2.064953360748807, 3.834411566133485...
roof_042
{"sample_id": "roof_042", "image_file": "roof_042.png", "image_width": 868, "image_height": 780, "class_name": "roof", "class_id": 0, "points_xy": [[4.85287313842228, 6.023235468197563], [0.4733792991567608, 3.01144029344836], [1.240149716909189, 1.896468615151031], [1.01929631619968, 1.744586861003979], [2.03232529161...
{"sample_id": "roof_042", "image_file": "roof_042.png", "image_width": 868, "image_height": 780, "edges": [{"type": "line", "points": [[4.41900178870668, 3.813880896870371], [2.651361404003286, 2.598267637271801]]}, {"type": "line", "points": [[4.85287313842228, 6.023235468197563], [4.41900178870668, 3.813880896870371]...
roof_043
{"sample_id": "roof_043", "image_file": "roof_043.png", "image_width": 1022, "image_height": 836, "class_name": "roof", "class_id": 0, "points_xy": [[0.7372496898864318, 4.055190185107288], [2.958390533500431, 6.69128837098725], [5.536058033601115, 4.519380436601973], [5.727848946124595, 4.747002056376786], [7.50564428...
{"sample_id": "roof_043", "image_file": "roof_043.png", "image_width": 1022, "image_height": 836, "edges": [{"type": "line", "points": [[3.162168533480285, 4.253584713964921], [4.871350982726482, 2.813450591669056]]}, {"type": "line", "points": [[5.683146360182441, 2.885228750724646], [5.880013683525306, 3.118875165095...
roof_044
{"sample_id": "roof_044", "image_file": "roof_044.png", "image_width": 1066, "image_height": 847, "class_name": "roof", "class_id": 0, "points_xy": [[1.174781723979495, 1.57850097741263], [7.983468658498494, 0.3915220748235051], [8.265155205462975, 2.007317863412353], [7.887814311506288, 2.073100838091326], [8.37648282...
{"sample_id": "roof_044", "image_file": "roof_044.png", "image_width": 1066, "image_height": 847, "edges": [{"type": "line", "points": [[3.818811503404943, 3.385896438207823], [5.868334262820779, 3.028596961935674]]}, {"type": "line", "points": [[3.870083581885751, 4.072079915970137], [3.765114449996136, 3.469961415579...
roof_045
{"sample_id": "roof_045", "image_file": "roof_045.png", "image_width": 1040, "image_height": 797, "class_name": "roof", "class_id": 0, "points_xy": [[1.754978406085458, 5.44369508882108], [1.685071191696153, 5.974893132532144], [3.024883619239726, 6.151216362112164], [3.094790833629087, 5.620018318401257], [5.033193643...
{"sample_id": "roof_045", "image_file": "roof_045.png", "image_width": 1040, "image_height": 797, "edges": [{"type": "line", "points": [[3.347301640381546, 3.686252707939413], [3.456595487940216, 2.855770782428776]]}, {"type": "line", "points": [[2.145543774488289, 3.127334585743267], [2.787687145766282, 3.211842529355...
roof_046
{"sample_id": "roof_046", "image_file": "roof_046.png", "image_width": 753, "image_height": 795, "class_name": "roof", "class_id": 0, "points_xy": [[5.662726599711489, 5.160085494859183], [2.764887396580536, 6.118134644299579], [1.701765535633232, 2.902478946307638], [1.419676170837957, 2.995739978775119], [0.833321971...
{"sample_id": "roof_046", "image_file": "roof_046.png", "image_width": 753, "image_height": 795, "edges": [{"type": "line", "points": [[3.73642010098877, 4.152594586565658], [3.17705578423885, 2.460669024231914]]}, {"type": "line", "points": [[2.764887396580534, 6.118134644299579], [3.73642010098877, 4.152594586565658]...
roof_047
{"sample_id": "roof_047", "image_file": "roof_047.png", "image_width": 727, "image_height": 781, "class_name": "roof", "class_id": 0, "points_xy": [[4.82842630082148, 0.686575833927896], [2.819621367484644, 1.01470378225901], [2.897733555637441, 1.492907939244534], [0.3643932341212679, 1.906716043918378], [0.7687952214...
{"sample_id": "roof_047", "image_file": "roof_047.png", "image_width": 727, "image_height": 781, "edges": [{"type": "line", "points": [[4.068588412178955, 2.375899248778113], [3.988179070459445, 1.883631878216773]]}, {"type": "line", "points": [[2.305080272254487, 2.885685212820181], [1.597155722346395, 3.0013210449906...
roof_048
{"sample_id": "roof_048", "image_file": "roof_048.png", "image_width": 1011, "image_height": 812, "class_name": "roof", "class_id": 0, "points_xy": [[7.629686010252846, 5.281168111496612], [2.724683816645309, 6.188681944115101], [2.383824153293195, 4.346376806318172], [1.191457874138364, 4.566986063800548], [0.70178989...
{"sample_id": "roof_048", "image_file": "roof_048.png", "image_width": 1011, "image_height": 812, "edges": [{"type": "line", "points": [[4.528821671957748, 3.52120366231112], [5.651257755308533, 3.313532751745646]]}, {"type": "line", "points": [[5.28199936000895, 2.459991120098179], [5.368515987676125, 2.92760299910018...
roof_049
{"sample_id": "roof_049", "image_file": "roof_049.png", "image_width": 736, "image_height": 842, "class_name": "roof", "class_id": 0, "points_xy": [[0.6247612893618543, 1.09556008913768], [1.593136043400678, 6.612260713391163], [5.628956418604471, 5.903832464448154], [4.660581664566424, 0.3871318401945078]]}
{"sample_id": "roof_049", "image_file": "roof_049.png", "image_width": 736, "image_height": 842, "edges": [{"type": "line", "points": [[3.244918590632784, 4.222683973874882], [2.994032593241705, 2.793420217615999]]}, {"type": "line", "points": [[1.593136043400678, 6.612260713391162], [3.244918590632784, 4.2226839738748...
roof_050
{"sample_id": "roof_050", "image_file": "roof_050.png", "image_width": 1027, "image_height": 803, "class_name": "roof", "class_id": 0, "points_xy": [[0.8037040065126607, 0.388582368166785], [3.94556567952536, 0.3326587281004119], [3.962273478288251, 1.27132424613941], [7.58648424572627, 1.206815022126219], [7.630906264...
{"sample_id": "roof_050", "image_file": "roof_050.png", "image_width": 1027, "image_height": 803, "edges": [{"type": "line", "points": [[3.427604688369886, 3.894675698536891], [3.940961781485942, 3.885538186994704]]}, {"type": "line", "points": [[6.382636438943595, 2.523025672480257], [5.183638769909233, 2.544367259431...

🏠 Roof Top Segmentation Dataset

A dataset for roof segmentation and edge detection from satellite imagery, with annotations derived from AutoCAD DXF drawings.

Dataset Columns

Each row is one roof sample:

Column Type Description
sample_id string Unique ID (e.g. roof_001)
image Image Satellite roof photograph
mask Image Binary segmentation mask (white=roof)
overlay Image Verification overlay with edge lines
outer_polygon string (JSON) Roof boundary polygon in DXF coordinates
edges string (JSON) Ridge/hip/valley edge lines in DXF coordinates

AutoCAD DXF source files are available in the cad/ folder.

Annotation Format

Outer Polygon (outer_polygon column)

{
  "sample_id": "roof_001",
  "image_file": "roof_001.png",
  "image_width": 905,
  "image_height": 795,
  "class_name": "roof",
  "class_id": 0,
  "points_xy": [[x1, y1], [x2, y2], ...]
}

Edges (edges column)

{
  "sample_id": "roof_001",
  "image_file": "roof_001.png",
  "image_width": 905,
  "image_height": 795,
  "edges": [
    {"type": "line", "points": [[x1, y1], [x2, y2]]}
  ]
}

Note: Coordinates are in AutoCAD DXF world units. Use the DXF IMAGE entity's insertion point and U/V pixel vectors to convert to pixel coordinates.

DXF Coordinate → Pixel Conversion

import numpy as np, ezdxf

doc = ezdxf.readfile("cad/roof_001.dxf")
for entity in doc.modelspace():
    if entity.dxftype() == "IMAGE":
        ins = entity.dxf.insert
        u = entity.dxf.u_pixel
        v = entity.dxf.v_pixel
        h = int(entity.dxf.image_size.y)
        M_inv = np.linalg.inv([[u.x, v.x], [u.y, v.y]])
        # col, row = M_inv @ [x - ins.x, y - ins.y]
        # pixel_y = (h - 1) - row

Usage

from datasets import load_dataset

ds = load_dataset("YOUR_USERNAME/roof-top-dataset")
sample = ds["train"][0]

sample["image"].show()    # satellite image
sample["mask"].show()     # binary mask
sample["overlay"].show()  # overlay visualization

import json
polygon = json.loads(sample["outer_polygon"])
edges   = json.loads(sample["edges"])

License

MIT

Downloads last month
334