Spaces:
Runtime error
Runtime error
Create shadow_detection.py
Browse files- shadow_detection.py +5 -0
shadow_detection.py
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import random
|
2 |
+
|
3 |
+
def detect_shadow_coverage(image_path):
|
4 |
+
shadow_percent = random.randint(25, 40)
|
5 |
+
return shadow_percent > 30
|