Update face_analyzer.py
This commit is contained in:
		
							parent
							
								
									56b509ae1f
								
							
						
					
					
						commit
						b1a4922b60
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue