Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update face_analysis.py
Browse files- face_analysis.py +1 -1
    	
        face_analysis.py
    CHANGED
    
    | @@ -62,7 +62,7 @@ def draw_facial_landmarks(image, landmarks): | |
| 62 | 
             
                        connection_drawing_spec=connection_drawing_spec)
         | 
| 63 |  | 
| 64 | 
             
                    # Blend the connections layer with the original image
         | 
| 65 | 
            -
                    alpha = 0. | 
| 66 | 
             
                    image = cv2.addWeighted(image, 1, connections_layer, alpha, 0)
         | 
| 67 |  | 
| 68 | 
             
                return image
         | 
|  | |
| 62 | 
             
                        connection_drawing_spec=connection_drawing_spec)
         | 
| 63 |  | 
| 64 | 
             
                    # Blend the connections layer with the original image
         | 
| 65 | 
            +
                    alpha = 0.2
         | 
| 66 | 
             
                    image = cv2.addWeighted(image, 1, connections_layer, alpha, 0)
         | 
| 67 |  | 
| 68 | 
             
                return image
         | 
