iCare: A System for Conversing with the Elderly to Alleviate Dementia
- Utilizes Deepface and OpenCV for emotion recognition, and Azure Speech to Text to convert speech into text.
- The recognized emotions and converted text are used as inputs to generate responses through the OpenAI API (GPT).
- The generated response is then passed to MuseTalk to create a virtual avatar.
吃藥回診提醒:alert
語音 style:style
一律推到 branch 確定再 push 回 main
- Azure Speech to text
- OpenAI API
- MuseTalk
- Deepface & OpenCV
- Download MuseTalk and place it in your folder.
- Place both in the same folder with the following structure:
icare/ ├── MuseTalk/ ├── main.py ├── requirements.txt ├── templates/ └── static/
- Create a new environment:
conda create --name myenv python=3.8
- Switch to the environment and run the following command:
pip install -r requirements.txt
- Get API keys of Azure, OpenAI. Then put them in .env file.
- Run the program:
python main.py
Special thanks to MuseTalk
for serving as the model for virtual avatar output.