Develop #17
@@ -34,7 +34,7 @@ def color_detection(data, print_type='str'):
|
||||
color = 'green'
|
||||
elif r > b + 20 and r > g + 20 and r > 100:
|
||||
color = 'red'
|
||||
elif r > 150 and g > 150 and g > 150:
|
||||
elif r > 150 and g > 150 and b > 150:
|
||||
color= 'white'
|
||||
else:
|
||||
color = None
|
||||
|
||||
@@ -183,7 +183,7 @@ h1 {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 300px;
|
||||
width: 240px;
|
||||
height: 100%;
|
||||
background: white;
|
||||
z-index: 1000;
|
||||
|
||||
Reference in New Issue
Block a user