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