Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
512
512
image_file
stringlengths
12
12
image_size
listlengths
2
2
camera_type
stringclasses
1 value
camera_coeff
dict
lines
listlengths
4
202
00030043.png
[ 512, 512 ]
fisheye
{ "K": [ [ 279.8126845227235, 0, 256 ], [ 0, 279.8126845227235, 256 ], [ 0, 0, 1 ] ], "D": [ [ -0.0015198068757547745, -0.00013567801725422094, 0.0005490710631197257, -0.0006593687626521972 ] ] }
[ [ [ 112.83556365966797, 0.08573362231254578 ], [ 89.66178894042969, 70.52205657958984 ] ], [ [ 89.66178894042969, 70.52205657958984 ], [ 319.6162414550781, 49.62960433959961 ] ], [ [ 319.6162414550781, 49.6296043...
00030077.png
[ 512, 512 ]
fisheye
{ "K": [ [ 315.2005966792256, 0, 256 ], [ 0, 315.2005966792256, 256 ], [ 0, 0, 1 ] ], "D": [ [ 0.0002096048090925595, -0.000016881936946779815, 0.0018064714163061211, -0.0012088083601513701 ] ] }
[ [ [ 27.68914794921875, 511.9293518066406 ], [ 0.002817882690578699, 441.1745910644531 ] ], [ [ 0.07696802914142609, 387.11346435546875 ], [ 442.8349914550781, 444.59759521484375 ] ], [ [ 323.0177001953125, 372.76...
00030078.png
[ 512, 512 ]
fisheye
{ "K": [ [ 251.378889205098, 0, 256 ], [ 0, 251.378889205098, 256 ], [ 0, 0, 1 ] ], "D": [ [ -0.0018771588377919561, 0.0009419042420723763, -0.0001764574031590666, -0.0009392397843566507 ] ] }
[ [ [ 87.67906951904297, 33.992733001708984 ], [ 142.69554138183594, 24.121109008789062 ] ], [ [ 206.8686065673828, 13.742030143737793 ], [ 184.55081176757812, 256 ] ], [ [ 142.69554138183594, 24.121109008789062 ...
00030159.png
[ 512, 512 ]
fisheye
{ "K": [ [ 310.5487420893475, 0, 256 ], [ 0, 310.5487420893475, 256 ], [ 0, 0, 1 ] ], "D": [ [ 0.000048842745768429884, -0.0006455792179190999, 0.000004410994741559625, -0.0014604604806305178 ] ] }
[ [ [ 12.13074779510498, 0.040496304631233215 ], [ 0.012282944284379482, 27.921220779418945 ] ], [ [ 0.004925647750496864, 17.81825065612793 ], [ 8.064719200134277, 0.03182965889573097 ] ], [ [ 0.00982012040913105, ...
00030210.png
[ 512, 512 ]
fisheye
{ "K": [ [ 237.15293138468533, 0, 256 ], [ 0, 237.15293138468533, 256 ], [ 0, 0, 1 ] ], "D": [ [ 0.000276162116118901, -0.00154509908462485, -0.0013139126103427186, -0.002197661757015108 ] ] }
[ [ [ 37.46527099609375, 89.73336791992188 ], [ 430.0767517089844, 87.95555114746094 ] ], [ [ 437.6020202636719, 87.72657775878906 ], [ 453.3617858886719, 97.14777374267578 ] ], [ [ 453.3617858886719, 97.1477737426...
00030254.png
[ 512, 512 ]
fisheye
{ "K": [ [ 255.31542593483593, 0, 256 ], [ 0, 255.31542593483593, 256 ], [ 0, 0, 1 ] ], "D": [ [ 0.0002138378470931818, -0.0005473266191923289, -0.0006370327544913035, -0.00013266727468608756 ] ] }
[ [ [ 25.887859344482422, 104.16980743408203 ], [ 100.05801391601562, 93.78447723388672 ] ], [ [ 15.12658405303955, 140.55642700195312 ], [ 92.57835388183594, 130.9635772705078 ] ], [ [ 4.2301506996154785, 193.5254...
00030315.png
[ 512, 512 ]
fisheye
{ "K": [ [ 308.1540381180969, 0, 256 ], [ 0, 308.1540381180969, 256 ], [ 0, 0, 1 ] ], "D": [ [ 0.0009662559610132498, -0.0000648855768320383, -0.00014695520198996007, -0.0004094034102089093 ] ] }
[ [ [ 0.038176968693733215, 33.29576873779297 ], [ 23.187620162963867, 36.88247299194336 ] ], [ [ 23.187620162963867, 36.88247299194336 ], [ 0.026561953127384186, 112.12003326416016 ] ], [ [ 0.0497608482837677, 382...
00030330.png
[ 512, 512 ]
fisheye
{ "K": [ [ 221.8462620040661, 0, 256 ], [ 0, 221.8462620040661, 256 ], [ 0, 0, 1 ] ], "D": [ [ -0.002054550845414294, 0.0011301742766990988, 0.0014789407621136966, -0.0002872516631747424 ] ] }
[ [ [ 132.61163330078125, 20.836286544799805 ], [ 324.9752502441406, 26.082487106323242 ] ], [ [ 324.9752502441406, 26.082487106323242 ], [ 414.1922607421875, 42.6580696105957 ] ], [ [ 324.9752502441406, 26.0824871...
00030699.png
[ 512, 512 ]
fisheye
{ "K": [ [ 280.981055291452, 0, 256 ], [ 0, 280.981055291452, 256 ], [ 0, 0, 1 ] ], "D": [ [ -0.0014940627921667389, 0.0011823489253088959, 0.000029115109318786623, 0.0004155969613598833 ] ] }
[ [ [ 0.03189527988433838, 3.355896234512329 ], [ 10.327298164367676, 0.010017361491918564 ] ], [ [ 118.7627944946289, 0.0007212500204332173 ], [ 68.20384216308594, 302.7865295410156 ] ], [ [ 68.20384216308594, 302...
00030700.png
[ 512, 512 ]
fisheye
{ "K": [ [ 328.03690699922856, 0, 256 ], [ 0, 328.03690699922856, 256 ], [ 0, 0, 1 ] ], "D": [ [ 0.00003108895610801645, -0.0006878048304142056, 0.0011163981008293943, -0.0010123701855068554 ] ] }
[ [ [ 339.0689392089844, 48.18089294433594 ], [ 511.95098876953125, 47.2396240234375 ] ], [ [ 339.0689392089844, 48.18089294433594 ], [ 0.05335475131869316, 62.271114349365234 ] ], [ [ 339.0689392089844, 48.1808929...
00030710.png
[ 512, 512 ]
fisheye
{ "K": [ [ 260.42742536947617, 0, 256 ], [ 0, 260.42742536947617, 256 ], [ 0, 0, 1 ] ], "D": [ [ 0.0005574565473501544, 0.00058071721662246, 0.0011577183326184825, -0.0011432464378526802 ] ] }
[ [ [ 11.342884063720703, 161.51708984375 ], [ 296.0819091796875, 181.04061889648438 ] ], [ [ 296.0819091796875, 181.04061889648438 ], [ 293.84136962890625, 378.5931701660156 ] ], [ [ 296.0819091796875, 181.0406188...
00030725.png
[ 512, 512 ]
fisheye
{ "K": [ [ 219.8347586539844, 0, 256 ], [ 0, 219.8347586539844, 256 ], [ 0, 0, 1 ] ], "D": [ [ -0.0008233666407582663, -0.0014891196673622064, -0.00042457389712501206, 0.0005085265875288293 ] ] }
[ [ [ 37.483680725097656, 94.92565155029297 ], [ 178.46156311035156, 56.577945709228516 ] ], [ [ 178.46156311035156, 56.577945709228516 ], [ 235.51559448242188, 49.204978942871094 ] ], [ [ 178.46156311035156, 56.57...
00030727.png
[ 512, 512 ]
fisheye
{ "K": [ [ 278.6469908332575, 0, 256 ], [ 0, 278.6469908332575, 256 ], [ 0, 0, 1 ] ], "D": [ [ -0.0007321819660571446, -0.0007629245737506539, 0.0003563860164288239, -0.0005059036162344605 ] ] }
[ [ [ 179.1207275390625, 6.1181230545043945 ], [ 44.4514274597168, 50.376461029052734 ] ], [ [ 44.4514274597168, 50.376461029052734 ], [ 36.103172302246094, 77.74829864501953 ] ], [ [ 36.103172302246094, 77.7482986...
00030732.png
[ 512, 512 ]
fisheye
{ "K": [ [ 271.54156447985144, 0, 256 ], [ 0, 271.54156447985144, 256 ], [ 0, 0, 1 ] ], "D": [ [ -0.000379909803029428, 0.0009476383106094554, -0.002136688946090913, 0.0022590899446139566 ] ] }
[ [ [ 120.46708679199219, 18.978410720825195 ], [ 438.594970703125, 63.05510711669922 ] ], [ [ 438.594970703125, 63.05510711669922 ], [ 476.7192687988281, 68.45983123779297 ] ], [ [ 362.5115051269531, 22.3238353729...
00030950.png
[ 512, 512 ]
fisheye
{ "K": [ [ 302.10992205711693, 0, 256 ], [ 0, 302.10992205711693, 256 ], [ 0, 0, 1 ] ], "D": [ [ 0.0008566412989679206, -0.00047082382273253866, -0.0006603485768783963, 0.00019620539243016656 ] ] }
[ [ [ 396.0034484863281, 0.024553075432777405 ], [ 437.2528991699219, 208.9880828857422 ] ], [ [ 225.24041748046875, 0.09173891693353653 ], [ 221.3679656982422, 229.13397216796875 ] ], [ [ 297.9729309082031, 0.0084...
00030952.png
[ 512, 512 ]
fisheye
{ "K": [ [ 277.43099353157066, 0, 256 ], [ 0, 277.43099353157066, 256 ], [ 0, 0, 1 ] ], "D": [ [ -0.0012008348389351158, 0.00013137422065040874, -0.0009018585465856275, -0.0013443882377915666 ] ] }
[ [ [ 31.534067153930664, 78.4386978149414 ], [ 110.2583236694336, 61.26518249511719 ] ], [ [ 110.2583236694336, 61.26518249511719 ], [ 90.39362335205078, 192.6333465576172 ] ], [ [ 110.2583236694336, 61.2651824951...
00030956.png
[ 512, 512 ]
fisheye
{ "K": [ [ 292.1696787569092, 0, 256 ], [ 0, 292.1696787569092, 256 ], [ 0, 0, 1 ] ], "D": [ [ -0.00010876859698052612, -0.0005839129493544039, -0.0009179463517505251, -0.0003799624597771328 ] ] }
[ [ [ 42.82279586791992, 0.0434025377035141 ], [ 0.002136967144906521, 106.63211822509766 ] ], [ [ 0.029917540028691292, 396.0143127441406 ], [ 44.63682174682617, 506.3906555175781 ] ], [ [ 37.132049560546875, 0.02...
00030998.png
[ 512, 512 ]
fisheye
{ "K": [ [ 295.2238301706177, 0, 256 ], [ 0, 295.2238301706177, 256 ], [ 0, 0, 1 ] ], "D": [ [ -0.0013546738162764135, -0.00013251192163593408, -0.00037551443814122173, -0.0010790633583447097 ] ] }
[ [ [ 0.33439719676971436, 27.82160186767578 ], [ 44.949161529541016, 0.03499296307563782 ] ], [ [ 403.6501159667969, 0.0006486851489171386 ], [ 441.4546203613281, 28.48509979248047 ] ], [ [ 441.4546203613281, 28.4...
00031141.png
[ 512, 512 ]
fisheye
{ "K": [ [ 237.48545644354306, 0, 256 ], [ 0, 237.48545644354306, 256 ], [ 0, 0, 1 ] ], "D": [ [ -0.00004822080198059236, -0.00039681326742197073, 0.0006312750163265885, 0.000591967438751336 ] ] }
[ [ [ 40.868167877197266, 76.05699920654297 ], [ 125.29273986816406, 105.42030334472656 ] ], [ [ 125.29273986816406, 105.42030334472656 ], [ 464.3918762207031, 128.49929809570312 ] ], [ [ 464.3918762207031, 128.499...
00031328.png
[ 512, 512 ]
fisheye
{ "K": [ [ 257.08560971366535, 0, 256 ], [ 0, 257.08560971366535, 256 ], [ 0, 0, 1 ] ], "D": [ [ 0.0006290397349115085, 0.00031128896045454, 0.0018197293467814748, 0.00038066508707434874 ] ] }
[ [ [ 33.48108673095703, 120.97010040283203 ], [ 64.20011138916016, 456.4737854003906 ] ], [ [ 64.20011138916016, 456.4737854003906 ], [ 110.66148376464844, 438.9630126953125 ] ], [ [ 110.66148376464844, 438.963012...
00031487.png
[ 512, 512 ]
fisheye
{ "K": [ [ 265.3195314310307, 0, 256 ], [ 0, 265.3195314310307, 256 ], [ 0, 0, 1 ] ], "D": [ [ 0.0002895883674227168, -0.00041966680807821433, -0.0007222840964192803, -0.00044942659338310844 ] ] }
[ [ [ 24.67088508605957, 323.1622314453125 ], [ 346.23876953125, 267.7964172363281 ] ], [ [ 24.67088508605957, 323.1622314453125 ], [ 367.8201599121094, 498.4086608886719 ] ], [ [ 23.87877082824707, 170.83973693847...
00031495.png
[ 512, 512 ]
fisheye
{ "K": [ [ 282.33498085194486, 0, 256 ], [ 0, 282.33498085194486, 256 ], [ 0, 0, 1 ] ], "D": [ [ -0.0010225498748954096, 0.001999779963617079, -0.0016517172363599724, -0.00038744871680340513 ] ] }
[ [ [ 473.207275390625, 511.99639892578125 ], [ 509.3240661621094, 491.7643737792969 ] ], [ [ 511.9923400878906, 400.4701232910156 ], [ 437.0453186035156, 429.02398681640625 ] ], [ [ 511.9631652832031, 411.28543090...
00031498.png
[ 512, 512 ]
fisheye
{ "K": [ [ 260.7626053049667, 0, 256 ], [ 0, 260.7626053049667, 256 ], [ 0, 0, 1 ] ], "D": [ [ -0.0007644057263272132, -0.0005184917543751611, -0.0026038355377721264, 0.0007845148795393235 ] ] }
[ [ [ 212.98121643066406, 379.1923828125 ], [ 158.32843017578125, 407.03179931640625 ] ], [ [ 158.32843017578125, 407.03179931640625 ], [ 215.1375274658203, 431.56048583984375 ] ], [ [ 215.1375274658203, 431.560485...
00031499.png
[ 512, 512 ]
fisheye
{ "K": [ [ 297.3471486878958, 0, 256 ], [ 0, 297.3471486878958, 256 ], [ 0, 0, 1 ] ], "D": [ [ -0.0005041097608339779, -0.00047861306666623066, 0.00077650401916996, 0.0013985275846870669 ] ] }
[ [ [ 43.389862060546875, 37.331600189208984 ], [ 18.112001419067383, 124.0409164428711 ] ], [ [ 43.389862060546875, 37.331600189208984 ], [ 16.472763061523438, 0.021129244938492775 ] ], [ [ 284.6794738769531, 439....
00031539.png
[ 512, 512 ]
fisheye
{ "K": [ [ 246.83930345879776, 0, 256 ], [ 0, 246.83930345879776, 256 ], [ 0, 0, 1 ] ], "D": [ [ -0.0000790989793945595, 0.0006406506016748799, -0.00008835786063886221, 0.0011492872109825428 ] ] }
[ [ [ 38.23186492919922, 179.74441528320312 ], [ 132.96597290039062, 168.6014404296875 ] ], [ [ 132.96597290039062, 168.6014404296875 ], [ 174.79490661621094, 153.87428283691406 ] ], [ [ 132.96597290039062, 168.601...
00031560.png
[ 512, 512 ]
fisheye
{ "K": [ [ 318.8570226237439, 0, 256 ], [ 0, 318.8570226237439, 256 ], [ 0, 0, 1 ] ], "D": [ [ -0.000703966136472367, -0.0006627290749045407, 0.0007333988463307555, 0.000602107814818542 ] ] }
[ [ [ 6.1503777503967285, 0.050683360546827316 ], [ 0.0017993240617215633, 41.83113098144531 ] ], [ [ 0.02618376351892948, 49.04431915283203 ], [ 291.50811767578125, 64.72956085205078 ] ], [ [ 291.50811767578125, 6...
00031582.png
[ 512, 512 ]
fisheye
{ "K": [ [ 275.12314361320864, 0, 256 ], [ 0, 275.12314361320864, 256 ], [ 0, 0, 1 ] ], "D": [ [ -0.0006127498410851818, -0.00011914072212508624, 0.001244923737288074, 0.001001002489141679 ] ] }
[ [ [ 109.34297180175781, 63.8052978515625 ], [ 397.3031921386719, 64.1430435180664 ] ], [ [ 176.34971618652344, 357.29656982421875 ], [ 194.48214721679688, 328.7509460449219 ] ], [ [ 346.15362548828125, 356.155090...
00031599.png
[ 512, 512 ]
fisheye
{ "K": [ [ 231.75643877835174, 0, 256 ], [ 0, 231.75643877835174, 256 ], [ 0, 0, 1 ] ], "D": [ [ 0.0015808346449828325, -0.0005140717648815567, 0.0001069183442810368, -0.00037694482901686 ] ] }
[ [ [ 92.82437896728516, 62.57225799560547 ], [ 142.45150756835938, 46.60225296020508 ] ], [ [ 142.45150756835938, 46.60225296020508 ], [ 121.263671875, 107.09856414794922 ] ], [ [ 121.263671875, 107.09856414794922...
00031600.png
[ 512, 512 ]
fisheye
{ "K": [ [ 235.5304588133079, 0, 256 ], [ 0, 235.5304588133079, 256 ], [ 0, 0, 1 ] ], "D": [ [ 0.0005973533582869308, 0.0005376339515115741, -0.0008941607469840001, -0.0007637860563085804 ] ] }
[ [ [ 47.5694694519043, 99.23594665527344 ], [ 32.83229446411133, 372.2010192871094 ] ], [ [ 16.46552276611328, 370.3655090332031 ], [ 475.025390625, 286.9408874511719 ] ], [ [ 464.77532958984375, 285.648681640625 ...
00031614.png
[ 512, 512 ]
fisheye
{ "K": [ [ 337.6485662254345, 0, 256 ], [ 0, 337.6485662254345, 256 ], [ 0, 0, 1 ] ], "D": [ [ 0.0007669879046967769, -0.0003899369684590895, 0.0028642619790801476, -0.0005044065643092202 ] ] }
[ [ [ 104.45293426513672, 5.712975978851318 ], [ 133.16021728515625, 0.0019417493604123592 ] ], [ [ 367.1081848144531, 0.016802603378891945 ], [ 387.76287841796875, 269.8836669921875 ] ], [ [ 467.03369140625, 511.9...
00031616.png
[ 512, 512 ]
fisheye
{ "K": [ [ 229.43980796742844, 0, 256 ], [ 0, 229.43980796742844, 256 ], [ 0, 0, 1 ] ], "D": [ [ 0.0004746171316032905, -0.00007933382385521843, 0.0005947619915699417, 0.00021360032812992266 ] ] }
[ [ [ 193.57130432128906, 497.2830810546875 ], [ 162.0991668701172, 361.3375244140625 ] ], [ [ 162.0991668701172, 361.3375244140625 ], [ 211.12896728515625, 283.4241943359375 ] ], [ [ 211.12896728515625, 283.424194...
00031619.png
[ 512, 512 ]
fisheye
{ "K": [ [ 270.86648415947445, 0, 256 ], [ 0, 270.86648415947445, 256 ], [ 0, 0, 1 ] ], "D": [ [ 0.0006689590651907614, -0.0007104889438371391, 0.0006155012090642641, -0.0005895764873123618 ] ] }
[ [ [ 204.0588836669922, 132.9290008544922 ], [ 262.7870788574219, 154.93190002441406 ] ], [ [ 262.7870788574219, 154.93190002441406 ], [ 499.2462158203125, 144.3636932373047 ] ], [ [ 469.74298095703125, 378.012542...
00031632.png
[ 512, 512 ]
fisheye
{ "K": [ [ 323.9262693626056, 0, 256 ], [ 0, 323.9262693626056, 256 ], [ 0, 0, 1 ] ], "D": [ [ -0.000469757322940761, -0.0003768542846908015, -0.0003230700169110268, -0.00030052560404116274 ] ] }
[ [ [ 0.003488150192424655, 396.4722900390625 ], [ 43.57816696166992, 377.4424743652344 ] ], [ [ 43.57816696166992, 377.4424743652344 ], [ 40.86848068237305, 152.91453552246094 ] ], [ [ 0.0012003756128251553, 132.7...
00031633.png
[ 512, 512 ]
fisheye
{ "K": [ [ 273.6052813541249, 0, 256 ], [ 0, 273.6052813541249, 256 ], [ 0, 0, 1 ] ], "D": [ [ 0.001684989983176367, -0.0005678275963975749, -0.00025073144029952505, 0.00000410681453967157 ] ] }
[ [ [ 358.3523254394531, 27.2667293548584 ], [ 475.42376708984375, 64.76917266845703 ] ], [ [ 389.2850646972656, 269.2930908203125 ], [ 511.88702392578125, 266.8759460449219 ] ], [ [ 86.72855377197266, 67.310913085...
End of preview. Expand in Data Studio

F-Wireframe Dataset

✏️ Github   |   📑 Paper    |   🖼️ Viewer

This is the F-Wireframe dataset, designed for fisheye image line segment detection.

Summary

The F-Wireframe dataset is derived from the Wireframe dataset by distorting images with the fisheye distortion model, where the fisheye distortion coefficient of each image is randomly generated.

Number of samples:

  • Train: 5,000
  • Test: 462

Download

  • Download with huggingface-hub
python3 -m pip install huggingface-hub
huggingface-cli download --repo-type dataset lh9171338/F-Wireframe --local-dir ./
  • Download with Git
git lfs install
git clone https://huggingface.co/datasets/lh9171338/F-Wireframe

Usage

  • Load the dataset from Hugging Face Hub
from datasets import load_dataset

ds = load_dataset("lh9171338/F-Wireframe")
# or load from `refs/convert/parquet` for acceleration
# from datasets import load_dataset, Features, Image, Sequence, Value
# features = Features({
#     "image": Image(),
#     "image_file": Value("string"),
#     "image_size": Sequence(Value("int32")),
#     "camera_type": Value("string"),
#     "camera_coeff": {
#         "K": Sequence(Sequence(Value("float32"))),
#         "D": Sequence(Value("float32")),
#     },
#     "lines": Sequence(Sequence(Sequence(Value("float32")))),
# })
# ds = load_dataset("lh9171338/F-Wireframe", features=features, revision="refs/convert/parquet")
print(ds)
# DatasetDict({
#     train: Dataset({
#         features: ['image', 'image_file', 'image_size', 'camera_type', 'camera_coeff', 'lines'],
#         num_rows: 5000
#     })
#     test: Dataset({
#         features: ['image', 'image_file', 'image_size', 'camera_type', 'camera_coeff', 'lines'],
#         num_rows: 462
#     })
# })
print(ds["test"][0].keys())
# dict_keys(['file_name', 'image_file', 'image_size', 'camera_type', 'camera_coeff', 'lines'])
  • Load the dataset from local
from datasets import load_dataset

ds = load_dataset("imagefolder", data_dir=".")
print(ds)
# DatasetDict({
#     train: Dataset({
#         features: ['image', 'image_file', 'image_size', 'camera_type', 'camera_coeff', 'lines'],
#         num_rows: 5000
#     })
#     test: Dataset({
#         features: ['image', 'image_file', 'image_size', 'camera_type', 'camera_coeff', 'lines'],
#         num_rows: 462
#     })
# })
print(ds["test"][0].keys())
# dict_keys(['file_name', 'image_file', 'image_size', 'camera_type', 'camera_coeff', 'lines'])
  • Load the dataset with jsonl files
import jsonlines

with jsonlines.open("test/metadata.jsonl") as reader:
    infos = list(reader)
print(infos[0].keys())
# dict_keys(['file_name', 'image_file', 'image_size', 'camera_type', 'camera_coeff', 'lines'])

Citation

@article{LI2021187,
    title = {ULSD: Unified line segment detection across pinhole, fisheye, and spherical cameras},
    author = {Hao Li and Huai Yu and Jinwang Wang and Wen Yang and Lei Yu and Sebastian Scherer},
    journal = {ISPRS Journal of Photogrammetry and Remote Sensing},
    volume = {178},
    pages = {187-202},
    year = {2021},
}
Downloads last month
8

Models trained or fine-tuned on lh9171338/F-Wireframe

Collection including lh9171338/F-Wireframe