Easy, plug-and-play code. A custom-made robotic manipulator (realistic) [cobots UR-5 and UR-10 from universal robots] will mimic your arm motion using your webcam:)
Please install the following:
That's pretty much it:)
Just open the Webots world from UR5.wbt and run it in the Webots robot simulator.