Update face_analyzer.py
This commit is contained in:
parent
56b509ae1f
commit
b1a4922b60
|
@ -30,7 +30,7 @@ while True:
|
|||
res = requests.post("https://racist.siwatsystem.com/process_image",json=data)
|
||||
res = res.content.decode("utf-8")
|
||||
res = json.loads(res)
|
||||
print(res)
|
||||
#print(res)
|
||||
if len(res) >0:
|
||||
if (res[0]['dominant_race']=="asian"):
|
||||
print("Ching Chong")
|
||||
|
|
Loading…
Reference in New Issue