faultdetection3 / services /shadow_detection.py
Sanjayraju30's picture
Create shadow_detection.py
41b905d verified
raw
history blame contribute delete
171 Bytes
import random
def detect_shadow_coverage(image_path):
# Basic method for detecting shadows
shadow_percent = random.randint(25, 40)
return shadow_percent > 30