Is there a way to detect any movement through a webcam and move an object in our world?

Hi ,
I have a world created in UE4 on a display screen and if someone moves across the screen the I want to show some movement or any kind of animation in the world. Is it possible to detect movement using only a webcam and communicate to unreal engine? I have read about openCV plugins but I am not sure if that’s the right approach.
Thanks in advance.