webcam in c++ programming

I am asking about if integrating a webcam in my game using a c++ code in unreal engine 4 have different procedure from integrating it with c++ ,because i wanna utilize a webcam to move objects in the game according to the player’s hand movement and i didn’t find any tutorials for how to do so in ue4 ,but i found tutorials for integrating c++ with OpenCv ,will it be the same?.. please help me!