This tutorial will show you how to use a webcam or video files to do facial and motion capture and animate MetaHuman in real-time
https://dev.epicgames.com/community/learning/tutorials/zrR7/unreal-engine-metahuman-realtime-markerless-facial-motion-capture