Open takawitter opened 2 years ago
参考: https://github.com/justinshenk/fer procsディレクトリ下に facial_expression_recognition_fer ディレクトリを作ってその中で呼び出せるようにする(docker化含む)
Google Colabで以下のスクリプトを実行して動作することを確認。画像ファイルは添付のものを使用。
!pip install fer from fer import FER import cv2 img = cv2.imread("./justin.jpeg") detector = FER() detector.detect_emotions(img)
参考: https://github.com/justinshenk/fer procsディレクトリ下に facial_expression_recognition_fer ディレクトリを作ってその中で呼び出せるようにする(docker化含む)