Sanjayraju30 commited on
Commit
6b8e2b8
·
verified ·
1 Parent(s): 3b01344

Create shadow_detection.py

Browse files
Files changed (1) hide show
  1. 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