Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FERを追加する #12

Open
Tracked by #11
takawitter opened this issue May 12, 2022 · 1 comment
Open
Tracked by #11

FERを追加する #12

takawitter opened this issue May 12, 2022 · 1 comment
Assignees

Comments

@takawitter
Copy link
Member

takawitter commented May 12, 2022

参考: https://github.com/justinshenk/fer
procsディレクトリ下に facial_expression_recognition_fer ディレクトリを作ってその中で呼び出せるようにする(docker化含む)

@takawitter
Copy link
Member Author

Google Colabで以下のスクリプトを実行して動作することを確認。画像ファイルは添付のものを使用。

!pip install fer
from fer import FER
import cv2

img = cv2.imread("./justin.jpeg")
detector = FER()
detector.detect_emotions(img)

justin

@Hayama-r Hayama-r self-assigned this Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants