Created
June 24, 2025 22:20
-
-
Save mhassanch/9f08b650cd7ab7445720fe5b971300f7 to your computer and use it in GitHub Desktop.
result zeroShotObjectDetection - should process polygons and detect objects with Grounding DINO
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "FeatureCollection", | |
"features": [ | |
{ | |
"type": "Feature", | |
"properties": { | |
"label": "tree", | |
"score": 0.4624113440513611 | |
}, | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
18.58597030078125, | |
-33.98064476953125 | |
], | |
[ | |
18.58618487109375, | |
-33.98064476953125 | |
], | |
[ | |
18.58618487109375, | |
-33.98083159570313 | |
], | |
[ | |
18.58597030078125, | |
-33.98083159570313 | |
], | |
[ | |
18.58597030078125, | |
-33.98064476953125 | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"label": "tree", | |
"score": 0.4253157079219818 | |
}, | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
18.586388712890624, | |
-33.98076042382813 | |
], | |
[ | |
18.58665692578125, | |
-33.98076042382813 | |
], | |
[ | |
18.58665692578125, | |
-33.981018421875 | |
], | |
[ | |
18.586388712890624, | |
-33.981018421875 | |
], | |
[ | |
18.586388712890624, | |
-33.98076042382813 | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"label": "tree", | |
"score": 0.38702303171157837 | |
}, | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
18.585337318359375, | |
-33.979995326171874 | |
], | |
[ | |
18.58562698828125, | |
-33.979995326171874 | |
], | |
[ | |
18.58562698828125, | |
-33.9803422890625 | |
], | |
[ | |
18.585337318359375, | |
-33.9803422890625 | |
], | |
[ | |
18.585337318359375, | |
-33.979995326171874 | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"label": "tree", | |
"score": 0.3650074005126953 | |
}, | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
18.58777269140625, | |
-33.981080697265625 | |
], | |
[ | |
18.588266203125002, | |
-33.981080697265625 | |
], | |
[ | |
18.588266203125002, | |
-33.9819080703125 | |
], | |
[ | |
18.58777269140625, | |
-33.9819080703125 | |
], | |
[ | |
18.58777269140625, | |
-33.981080697265625 | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"label": "tree", | |
"score": 0.3547011911869049 | |
}, | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
18.583878240234373, | |
-33.97823382226562 | |
], | |
[ | |
18.58438248046875, | |
-33.97823382226562 | |
], | |
[ | |
18.58438248046875, | |
-33.97871423242187 | |
], | |
[ | |
18.583878240234373, | |
-33.97871423242187 | |
], | |
[ | |
18.583878240234373, | |
-33.97823382226562 | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"label": "tree", | |
"score": 0.34549424052238464 | |
}, | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
18.5877083203125, | |
-33.981080697265625 | |
], | |
[ | |
18.58845931640625, | |
-33.981080697265625 | |
], | |
[ | |
18.58845931640625, | |
-33.98191696679688 | |
], | |
[ | |
18.5877083203125, | |
-33.98191696679688 | |
], | |
[ | |
18.5877083203125, | |
-33.981080697265625 | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"label": "tree", | |
"score": 0.3318997919559479 | |
}, | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
18.585433875, | |
-33.98039566796875 | |
], | |
[ | |
18.58566990234375, | |
-33.98039566796875 | |
], | |
[ | |
18.58566990234375, | |
-33.98060918359375 | |
], | |
[ | |
18.585433875, | |
-33.98060918359375 | |
], | |
[ | |
18.585433875, | |
-33.98039566796875 | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"label": "tree", | |
"score": 0.3165986239910126 | |
}, | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
18.5855626171875, | |
-33.98023553125 | |
], | |
[ | |
18.58575573046875, | |
-33.98023553125 | |
], | |
[ | |
18.58575573046875, | |
-33.980475736328124 | |
], | |
[ | |
18.5855626171875, | |
-33.980475736328124 | |
], | |
[ | |
18.5855626171875, | |
-33.98023553125 | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"label": "tree", | |
"score": 0.31267550587654114 | |
}, | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
18.587225537109376, | |
-33.97829609765625 | |
], | |
[ | |
18.587354279296875, | |
-33.97829609765625 | |
], | |
[ | |
18.587354279296875, | |
-33.97847402734375 | |
], | |
[ | |
18.587225537109376, | |
-33.97847402734375 | |
], | |
[ | |
18.587225537109376, | |
-33.97829609765625 | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"label": "tree", | |
"score": 0.30993688106536865 | |
}, | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
18.58562698828125, | |
-33.980404564453124 | |
], | |
[ | |
18.585938115234374, | |
-33.980404564453124 | |
], | |
[ | |
18.585938115234374, | |
-33.98065366601563 | |
], | |
[ | |
18.58562698828125, | |
-33.98065366601563 | |
], | |
[ | |
18.58562698828125, | |
-33.980404564453124 | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"label": "tree", | |
"score": 0.30951836705207825 | |
}, | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
18.583406185546874, | |
-33.977664447265624 | |
], | |
[ | |
18.583685126953124, | |
-33.977664447265624 | |
], | |
[ | |
18.583685126953124, | |
-33.97794023828125 | |
], | |
[ | |
18.583406185546874, | |
-33.97794023828125 | |
], | |
[ | |
18.583406185546874, | |
-33.977664447265624 | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"label": "tree", | |
"score": 0.2814190983772278 | |
}, | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
18.585251490234374, | |
-33.979995326171874 | |
], | |
[ | |
18.585616259765626, | |
-33.979995326171874 | |
], | |
[ | |
18.585616259765626, | |
-33.9803422890625 | |
], | |
[ | |
18.585251490234374, | |
-33.9803422890625 | |
], | |
[ | |
18.585251490234374, | |
-33.979995326171874 | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"label": "tree", | |
"score": 0.27900663018226624 | |
}, | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
18.585315861328123, | |
-33.9777089296875 | |
], | |
[ | |
18.58545533203125, | |
-33.9777089296875 | |
], | |
[ | |
18.58545533203125, | |
-33.977860169921875 | |
], | |
[ | |
18.585315861328123, | |
-33.977860169921875 | |
], | |
[ | |
18.585315861328123, | |
-33.9777089296875 | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"label": "tree", | |
"score": 0.2686156928539276 | |
}, | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
18.58725772265625, | |
-33.978678646484376 | |
], | |
[ | |
18.587397193359376, | |
-33.978678646484376 | |
], | |
[ | |
18.587397193359376, | |
-33.97882988671875 | |
], | |
[ | |
18.58725772265625, | |
-33.97882988671875 | |
], | |
[ | |
18.58725772265625, | |
-33.978678646484376 | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"label": "tree", | |
"score": 0.2684922218322754 | |
}, | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
18.58429665234375, | |
-33.97873202539063 | |
], | |
[ | |
18.58446830859375, | |
-33.97873202539063 | |
], | |
[ | |
18.58446830859375, | |
-33.97890995507812 | |
], | |
[ | |
18.58429665234375, | |
-33.97890995507812 | |
], | |
[ | |
18.58429665234375, | |
-33.97873202539063 | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"label": "tree", | |
"score": 0.2542598843574524 | |
}, | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
18.58354565625, | |
-33.97796692773437 | |
], | |
[ | |
18.58378168359375, | |
-33.97796692773437 | |
], | |
[ | |
18.58378168359375, | |
-33.978127064453126 | |
], | |
[ | |
18.58354565625, | |
-33.978127064453126 | |
], | |
[ | |
18.58354565625, | |
-33.97796692773437 | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"label": "tree", | |
"score": 0.25340649485588074 | |
}, | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
18.58738646484375, | |
-33.978127064453126 | |
], | |
[ | |
18.587590306640625, | |
-33.978127064453126 | |
], | |
[ | |
18.587590306640625, | |
-33.978287201171874 | |
], | |
[ | |
18.58738646484375, | |
-33.978287201171874 | |
], | |
[ | |
18.58738646484375, | |
-33.978127064453126 | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"label": "tree", | |
"score": 0.2494165152311325 | |
}, | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
18.58524076171875, | |
-33.980137669921874 | |
], | |
[ | |
18.58536950390625, | |
-33.980137669921874 | |
], | |
[ | |
18.58536950390625, | |
-33.98028001367187 | |
], | |
[ | |
18.58524076171875, | |
-33.98028001367187 | |
], | |
[ | |
18.58524076171875, | |
-33.980137669921874 | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"label": "tree", | |
"score": 0.24435846507549286 | |
}, | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
18.5874508359375, | |
-33.9781359609375 | |
], | |
[ | |
18.587579578125002, | |
-33.9781359609375 | |
], | |
[ | |
18.587579578125002, | |
-33.978242718749996 | |
], | |
[ | |
18.5874508359375, | |
-33.978242718749996 | |
], | |
[ | |
18.5874508359375, | |
-33.9781359609375 | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"label": "tree", | |
"score": 0.22827202081680298 | |
}, | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
18.5861205, | |
-33.978740921875 | |
], | |
[ | |
18.58627069921875, | |
-33.978740921875 | |
], | |
[ | |
18.58627069921875, | |
-33.978892162109375 | |
], | |
[ | |
18.5861205, | |
-33.978892162109375 | |
], | |
[ | |
18.5861205, | |
-33.978740921875 | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"label": "tree", | |
"score": 0.22825832664966583 | |
}, | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
18.58734355078125, | |
-33.977762308593746 | |
], | |
[ | |
18.587483021484374, | |
-33.977762308593746 | |
], | |
[ | |
18.587483021484374, | |
-33.97794023828125 | |
], | |
[ | |
18.58734355078125, | |
-33.97794023828125 | |
], | |
[ | |
18.58734355078125, | |
-33.977762308593746 | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"label": "tree", | |
"score": 0.2268705666065216 | |
}, | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
18.5871504375, | |
-33.97854519921875 | |
], | |
[ | |
18.58747229296875, | |
-33.97854519921875 | |
], | |
[ | |
18.58747229296875, | |
-33.97882988671875 | |
], | |
[ | |
18.5871504375, | |
-33.97882988671875 | |
], | |
[ | |
18.5871504375, | |
-33.97854519921875 | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"label": "tree", | |
"score": 0.2232920378446579 | |
}, | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
18.58562698828125, | |
-33.98049352929688 | |
], | |
[ | |
18.58584155859375, | |
-33.98049352929688 | |
], | |
[ | |
18.58584155859375, | |
-33.98065366601563 | |
], | |
[ | |
18.58562698828125, | |
-33.98065366601563 | |
], | |
[ | |
18.58562698828125, | |
-33.98049352929688 | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"label": "tree", | |
"score": 0.21206770837306976 | |
}, | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
18.583974796874998, | |
-33.97833168359375 | |
], | |
[ | |
18.584371751953125, | |
-33.97833168359375 | |
], | |
[ | |
18.584371751953125, | |
-33.97871423242187 | |
], | |
[ | |
18.583974796874998, | |
-33.97871423242187 | |
], | |
[ | |
18.583974796874998, | |
-33.97833168359375 | |
] | |
] | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"label": "tree", | |
"score": 0.20052148401737213 | |
}, | |
"geometry": { | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
18.584200095703125, | |
-33.9778512734375 | |
], | |
[ | |
18.584650693359375, | |
-33.9778512734375 | |
], | |
[ | |
18.584650693359375, | |
-33.978269408203126 | |
], | |
[ | |
18.584200095703125, | |
-33.978269408203126 | |
], | |
[ | |
18.584200095703125, | |
-33.9778512734375 | |
] | |
] | |
] | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment