Sanjayraju30 commited on
Commit
41b905d
·
verified ·
1 Parent(s): 631c8a1

Create shadow_detection.py

Browse files
Files changed (1) hide show
  1. services/shadow_detection.py +6 -0
services/shadow_detection.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ import random
2
+
3
+ def detect_shadow_coverage(image_path):
4
+ # Basic method for detecting shadows
5
+ shadow_percent = random.randint(25, 40)
6
+ return shadow_percent > 30