9 lines
141 B
Python
9 lines
141 B
Python
|
from fer import FER, Video
|
||
|
|
||
|
videofile = 'smile.mp4'
|
||
|
video = Video(videofile)
|
||
|
|
||
|
detector = FER(mtcnn=True)
|
||
|
|
||
|
analyzed = video.analyze(detector)
|