Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

python package for facial emotion recognition

from facial_emotion_recognition import EmotionRecognition

import cv2 as cv

er = EmotionRecognition(device='gpu', gpu_id=0)

cam = cv.VideoCapture(0)

success, frame = cam.read()

frame = er.recognise_emotion(frame, return_type='BGR')

cv.imshow("frame", frame)

while True:
    key = cv.waitKey(10)
    if key & 0xff == 27:
        break
Comment

PREVIOUS NEXT
Code Example
Python :: how to count the repeatance of every string in a list python 
Python :: docker python no module named 
Python :: patoolib extract password-protected archives 
Python :: a Python Numbers 
Python :: Como hacer mayusculas un string 
Python :: get value of list separately python 
Python :: allow django imagefield accept base 64 image 
Python :: dropping original values after merging scaled values 
Python :: update value in xml python 
Python :: 1044 uri solution 
Python :: Select non-NaN rows and replace column value 
Python :: how to enumerate the names inside a list python 
Python :: Closing small holes in the binary image with opencv 
Python :: python tkinter button multiple commands 
Python :: data[:,:2] 
Python :: qubesos 
Python :: python packing circles 
Python :: why we need open ( ) and close ( ) in os 
Python :: houghlinesp python stackoverflow 
Python :: apply with sf 
Python :: weight constraints keras cnn 
Python :: how to get the words inside a entry tkinter python 
Python :: sidetable github 
Python :: détruire une variable python 
Python :: in python how to end the code after 10 input 
Python :: pandas filter rows by fuzzy values 
Python :: oscillating fan 
Python :: simplest flask memcached 
Python :: matplotlib text relative to axis 
Python :: tess real name from suits 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =