Spaces:
Running
on
Zero
Running
on
Zero
Update lighting_analyzer.py
Browse files- lighting_analyzer.py +2 -2
lighting_analyzer.py
CHANGED
@@ -292,7 +292,7 @@ class LightingAnalyzer:
|
|
292 |
"top_region_std": top_region_std,
|
293 |
"edges_density": edges_density,
|
294 |
|
295 |
-
#
|
296 |
"street_line_score": street_line_score
|
297 |
}
|
298 |
|
@@ -471,7 +471,7 @@ class LightingAnalyzer:
|
|
471 |
indoor_score += sky_contribution
|
472 |
feature_contributions["sky_brightness"] = sky_contribution
|
473 |
|
474 |
-
#
|
475 |
dining_feature_contribution = 0
|
476 |
|
477 |
# 檢測中央懸掛式燈具,有懸掛燈代表有天花板,就代表是室內
|
|
|
292 |
"top_region_std": top_region_std,
|
293 |
"edges_density": edges_density,
|
294 |
|
295 |
+
# 室外特定特徵
|
296 |
"street_line_score": street_line_score
|
297 |
}
|
298 |
|
|
|
471 |
indoor_score += sky_contribution
|
472 |
feature_contributions["sky_brightness"] = sky_contribution
|
473 |
|
474 |
+
# 加入餐廳特徵檢測邏輯
|
475 |
dining_feature_contribution = 0
|
476 |
|
477 |
# 檢測中央懸掛式燈具,有懸掛燈代表有天花板,就代表是室內
|