Advertisement

结合面部表情与其他情绪识别技术

阅读量:

python3+

face_recognition

复制代码
 import face_recognition

    
 import cv2
    
 import numpy as np
    
 from keras.models import load_model
    
  
    
  
    
  
    
 # This is a demo of running face recognition on live video from your webcam. It's a little more complicated than the
    
 # other example, but it includes some basic performance tweaks to make things run a lot faster:
    
 #   1. Process each video frame at 1/4 resolution (though still display it at full resolution)
    
 #   2. Only detect faces in every other frame of video.
    
  
    
 # PLEASE NOTE: This example requ

全部评论 (0)

还没有任何评论哟~