Commit
·
15e20a0
1
Parent(s):
f67d0b5
updated accuracy
Browse files- face_main.py +1 -1
face_main.py
CHANGED
|
@@ -26,7 +26,7 @@ async def detection(model,img_content):
|
|
| 26 |
try:
|
| 27 |
img = Image.open(img_content)
|
| 28 |
# result = model(img)
|
| 29 |
-
result = model(img,device=0,conf=0.
|
| 30 |
detection = {}
|
| 31 |
data = json.loads(result[0].tojson())
|
| 32 |
if len(data) == 0:
|
|
|
|
| 26 |
try:
|
| 27 |
img = Image.open(img_content)
|
| 28 |
# result = model(img)
|
| 29 |
+
result = model(img,device=0,conf=0.8)
|
| 30 |
detection = {}
|
| 31 |
data = json.loads(result[0].tojson())
|
| 32 |
if len(data) == 0:
|