Initial publish: SamGeo3 multi-prompt segmentation lab.
Scripts, prompt JSON tiers, usage docs, and README. Input images (data/) and segmentation outputs (output/) are gitignored.
This commit is contained in:
@@ -0,0 +1,385 @@
|
||||
{
|
||||
"id": "dji_20260306_0016",
|
||||
"image": "data/DJI_20260306100802_0016.JPG",
|
||||
"image_abs_hint": "D:/MYCLAUDE_PROJECT/segment-geospatial/sample/DJI_20260306100802_0016.JPG",
|
||||
"sources": ["grok-vision", "gemini-vision", "gemini-missed-review"],
|
||||
"scene_notes_ko": {
|
||||
"center": "복선 철로, 침목, 자갈 도상(발라스트), 전차선 전주(폴)",
|
||||
"above_track": "나대지/낙엽 경사면, 검은 덮개막, 파란 타프",
|
||||
"below_track": "녹색 방음벽/펜스 라인",
|
||||
"top_left": "낙엽 수목 지역",
|
||||
"top_right": "대형 창고·차양, 주차장, 흰 승용차, 덮개 화물차, 녹색 지붕 소형 건물, 파란 컨테이너, 노란 안전구역, 가로등/전주",
|
||||
"bottom": "태양광 패널 지붕, 흰/회색 지붕, 파란/녹색 지붕, 자재 야적(철재·파이프), 녹색 방수시트, 드럼통 더미",
|
||||
"missed_review_ko": "범례에 가려진 우측 숲·철로 연속부; parking lot만 되고 road 누락; covered truck; street light; drainage; debris"
|
||||
},
|
||||
"tiers": {
|
||||
"A_high": {
|
||||
"description": "잘 잡힐 가능성 높음 — 강력한 기본 객체",
|
||||
"prompts": [
|
||||
"railway track",
|
||||
"train track",
|
||||
"railroad",
|
||||
"building",
|
||||
"roof",
|
||||
"solar panel",
|
||||
"tree",
|
||||
"car",
|
||||
"truck",
|
||||
"fence"
|
||||
]
|
||||
},
|
||||
"B_facility": {
|
||||
"description": "구체적 시설·구조",
|
||||
"prompts": [
|
||||
"warehouse",
|
||||
"factory building",
|
||||
"parking lot",
|
||||
"container",
|
||||
"utility pole",
|
||||
"electric pole",
|
||||
"catenary pole",
|
||||
"sound barrier",
|
||||
"retaining wall",
|
||||
"drainage ditch",
|
||||
"canopy",
|
||||
"awning"
|
||||
]
|
||||
},
|
||||
"C_detail": {
|
||||
"description": "세부·야적·지면·지붕 색",
|
||||
"prompts": [
|
||||
"solar farm",
|
||||
"photovoltaic panel",
|
||||
"cargo truck",
|
||||
"covered truck",
|
||||
"material pile",
|
||||
"pipe stack",
|
||||
"steel pile",
|
||||
"steel pipe",
|
||||
"bare ground",
|
||||
"dirt road",
|
||||
"paved road",
|
||||
"shed",
|
||||
"small building",
|
||||
"blue tarp",
|
||||
"black tarp",
|
||||
"green tarp",
|
||||
"construction tarp",
|
||||
"green roof",
|
||||
"blue roof",
|
||||
"white roof",
|
||||
"parking space"
|
||||
]
|
||||
},
|
||||
"D_rail_domain": {
|
||||
"description": "철도 특화 — 성공 편차 큼, confidence/min_size 튜닝 필요",
|
||||
"prompts": [
|
||||
"rail",
|
||||
"ballast",
|
||||
"railroad sleeper",
|
||||
"overhead line",
|
||||
"railway catenary",
|
||||
"railway embankment",
|
||||
"noise barrier wall"
|
||||
]
|
||||
},
|
||||
"E_missed": {
|
||||
"description": "Gemini 재검토: 1차 compact에서 놓치거나 가려진 영역 보강",
|
||||
"review_notes_ko": [
|
||||
"범례로 가려진 우측: dense forest / tree 연속부",
|
||||
"철로·도상 연속: railway 보강은 D와 중복 가능, gravel path 추가",
|
||||
"parking lot 연결 아스팔트 road 누락",
|
||||
"covered truck / cargo vehicle 누락",
|
||||
"street light / lamp post, drainage ditch",
|
||||
"debris / rubbish / industrial waste"
|
||||
],
|
||||
"prompts": [
|
||||
"road",
|
||||
"asphalt pavement",
|
||||
"asphalt road",
|
||||
"paved road",
|
||||
"gravel path",
|
||||
"dense forest",
|
||||
"forest",
|
||||
"covered truck",
|
||||
"cargo vehicle",
|
||||
"blue covered truck",
|
||||
"street light",
|
||||
"lamp post",
|
||||
"street lamp",
|
||||
"light pole",
|
||||
"drainage ditch",
|
||||
"drainage channel",
|
||||
"debris",
|
||||
"rubbish",
|
||||
"industrial waste",
|
||||
"scrap metal",
|
||||
"scrap pile"
|
||||
],
|
||||
"recommended_confidence": 0.25
|
||||
}
|
||||
},
|
||||
"compact": {
|
||||
"description": "1차 실험용 압축 세트",
|
||||
"prompts": [
|
||||
"railway track",
|
||||
"railroad",
|
||||
"fence",
|
||||
"utility pole",
|
||||
"building",
|
||||
"warehouse",
|
||||
"solar panel",
|
||||
"green roof",
|
||||
"blue roof",
|
||||
"white roof",
|
||||
"car",
|
||||
"truck",
|
||||
"blue tarp",
|
||||
"black tarp",
|
||||
"container",
|
||||
"material pile",
|
||||
"tree",
|
||||
"bare ground",
|
||||
"parking lot"
|
||||
]
|
||||
},
|
||||
"gap": {
|
||||
"description": "누락 보강 전용 — Gemini 추천 + 실측 성공 동의어",
|
||||
"prompts": [
|
||||
"road",
|
||||
"asphalt pavement",
|
||||
"gravel path",
|
||||
"dense forest",
|
||||
"covered truck",
|
||||
"cargo vehicle",
|
||||
"street light",
|
||||
"lamp post",
|
||||
"light pole",
|
||||
"drainage ditch",
|
||||
"debris",
|
||||
"rubbish",
|
||||
"industrial waste",
|
||||
"scrap pile"
|
||||
],
|
||||
"recommended_confidence": 0.25,
|
||||
"notes_ko": {
|
||||
"worked": ["road", "asphalt pavement", "gravel path", "dense forest", "covered truck", "cargo vehicle", "debris", "rubbish", "light pole", "scrap pile"],
|
||||
"hard_at_0.25": ["street light", "lamp post", "drainage ditch", "industrial waste"],
|
||||
"tip": "가로등은 light pole@0.2, 배수로는 정사에서 거의 안 잡힘, rubbish/scrap pile은 노이즈 많을 수 있음"
|
||||
}
|
||||
},
|
||||
"improved": {
|
||||
"description": "compact + gap 병합 (1차+누락 보강, 중복 제거)",
|
||||
"prompts": [
|
||||
"railway track",
|
||||
"railroad",
|
||||
"fence",
|
||||
"utility pole",
|
||||
"building",
|
||||
"warehouse",
|
||||
"solar panel",
|
||||
"green roof",
|
||||
"blue roof",
|
||||
"white roof",
|
||||
"car",
|
||||
"truck",
|
||||
"blue tarp",
|
||||
"black tarp",
|
||||
"container",
|
||||
"material pile",
|
||||
"tree",
|
||||
"bare ground",
|
||||
"parking lot",
|
||||
"road",
|
||||
"asphalt pavement",
|
||||
"gravel path",
|
||||
"dense forest",
|
||||
"covered truck",
|
||||
"cargo vehicle",
|
||||
"street light",
|
||||
"lamp post",
|
||||
"light pole",
|
||||
"drainage ditch",
|
||||
"debris",
|
||||
"rubbish",
|
||||
"industrial waste",
|
||||
"scrap pile"
|
||||
],
|
||||
"recommended_confidence": 0.28
|
||||
},
|
||||
"gap2": {
|
||||
"description": "combined_with_legend 재검토: 아직 원본이 비어 보이는 영역 보강",
|
||||
"source": "visual review of final merged overlay (Downloads/combined_with_legend.png)",
|
||||
"gaps_ko": [
|
||||
"선로 상·하 갈색 성토/제방·마른 초지(scrub) — railway 노란 밴드 바깥",
|
||||
"검은 타프 주변 갈색 흙더미·절토면",
|
||||
"주차장·창고 사이 미포장 공터·콘크리트 슬라브",
|
||||
"하측 야적장 녹생 방수시트/덮개(green tarp) 일부 미채움",
|
||||
"소형 부스·shed·담장·차양",
|
||||
"금속/골판 지붕 중 색 라벨에 안 걸린 부분",
|
||||
"전차선·가느다란 전선/폴 잔여",
|
||||
"건물 벽면·그림자 밴드",
|
||||
"선로 침목·도상(ballast) 세부"
|
||||
],
|
||||
"prompts": [
|
||||
"embankment",
|
||||
"railway embankment",
|
||||
"dirt embankment",
|
||||
"soil pile",
|
||||
"dirt pile",
|
||||
"earth mound",
|
||||
"dry grass",
|
||||
"scrub",
|
||||
"bushes",
|
||||
"grass",
|
||||
"vegetation",
|
||||
"dormant vegetation",
|
||||
"brown field",
|
||||
"open ground",
|
||||
"concrete",
|
||||
"concrete pad",
|
||||
"concrete pavement",
|
||||
"industrial yard",
|
||||
"paved yard",
|
||||
"green tarp",
|
||||
"green plastic sheet",
|
||||
"plastic cover",
|
||||
"shed",
|
||||
"small shed",
|
||||
"booth",
|
||||
"kiosk",
|
||||
"metal roof",
|
||||
"corrugated roof",
|
||||
"gray roof",
|
||||
"wall",
|
||||
"building wall",
|
||||
"fence wall",
|
||||
"barrier",
|
||||
"retaining wall",
|
||||
"canopy",
|
||||
"awning",
|
||||
"ballast",
|
||||
"track bed",
|
||||
"railway ballast",
|
||||
"power line",
|
||||
"overhead wire",
|
||||
"shadow",
|
||||
"sidewalk",
|
||||
"walkway"
|
||||
],
|
||||
"recommended_confidence": 0.22,
|
||||
"worked_at_0.22": [
|
||||
"dirt embankment",
|
||||
"dirt pile",
|
||||
"dry grass",
|
||||
"bushes",
|
||||
"grass",
|
||||
"vegetation",
|
||||
"brown field",
|
||||
"open ground",
|
||||
"concrete",
|
||||
"concrete pad",
|
||||
"concrete pavement",
|
||||
"industrial yard",
|
||||
"paved yard",
|
||||
"green tarp",
|
||||
"green plastic sheet",
|
||||
"plastic cover",
|
||||
"shed",
|
||||
"small shed",
|
||||
"metal roof",
|
||||
"corrugated roof",
|
||||
"gray roof",
|
||||
"wall",
|
||||
"building wall",
|
||||
"fence wall",
|
||||
"barrier",
|
||||
"canopy",
|
||||
"awning",
|
||||
"sidewalk"
|
||||
],
|
||||
"failed_at_0.22": [
|
||||
"embankment",
|
||||
"railway embankment",
|
||||
"soil pile",
|
||||
"earth mound",
|
||||
"scrub",
|
||||
"dormant vegetation",
|
||||
"booth",
|
||||
"kiosk",
|
||||
"retaining wall",
|
||||
"ballast",
|
||||
"track bed",
|
||||
"railway ballast",
|
||||
"power line",
|
||||
"overhead wire",
|
||||
"shadow",
|
||||
"walkway"
|
||||
]
|
||||
},
|
||||
"gap2_core": {
|
||||
"description": "gap2 중 실측 성공 프롬프트만 (재실행 권장 세트)",
|
||||
"prompts": [
|
||||
"dirt embankment",
|
||||
"dirt pile",
|
||||
"dry grass",
|
||||
"bushes",
|
||||
"vegetation",
|
||||
"brown field",
|
||||
"open ground",
|
||||
"concrete",
|
||||
"industrial yard",
|
||||
"green tarp",
|
||||
"plastic cover",
|
||||
"shed",
|
||||
"metal roof",
|
||||
"corrugated roof",
|
||||
"gray roof",
|
||||
"building wall",
|
||||
"barrier",
|
||||
"awning"
|
||||
],
|
||||
"recommended_confidence": 0.22
|
||||
},
|
||||
"recommended": {
|
||||
"model_id": "facebook/sam3.1",
|
||||
"backend": "meta",
|
||||
"confidence": 0.3,
|
||||
"confidence_range": [0.25, 0.35],
|
||||
"gap_confidence": 0.25,
|
||||
"min_size": 0,
|
||||
"note": "1차는 compact@0.3, 누락 보강은 gap@0.25 후 merge. 작은 폴/자재는 --min-size."
|
||||
},
|
||||
"expected_difficulty": [
|
||||
{
|
||||
"prompts": ["building", "solar panel", "tree", "car", "truck"],
|
||||
"level": "high",
|
||||
"level_ko": "높음",
|
||||
"tip_ko": "기본 객체. 낮은 confidence에서도 비교적 잘 잡힘."
|
||||
},
|
||||
{
|
||||
"prompts": ["railway track", "fence", "parking lot", "blue tarp"],
|
||||
"level": "medium_high",
|
||||
"level_ko": "중~높음",
|
||||
"tip_ko": "선형·구획 객체. 장면 context에 따라 성능 변동."
|
||||
},
|
||||
{
|
||||
"prompts": ["road", "asphalt pavement", "dense forest", "covered truck"],
|
||||
"level": "medium",
|
||||
"level_ko": "중 (gap 보강)",
|
||||
"tip_ko": "1차에서 자주 누락. gap tier로 재실행. confidence 0.25 권장."
|
||||
},
|
||||
{
|
||||
"prompts": ["utility pole", "container", "material pile", "street light", "lamp post"],
|
||||
"level": "medium",
|
||||
"level_ko": "중",
|
||||
"tip_ko": "작거나 밀집. --min-size로 노이즈 제거 권장."
|
||||
},
|
||||
{
|
||||
"prompts": ["rail", "ballast", "railroad sleeper", "railway catenary", "debris", "rubbish"],
|
||||
"level": "low_medium",
|
||||
"level_ko": "낮~중",
|
||||
"tip_ko": "도메인·가는 객체·잔해. confidence 튜닝 필수."
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user