How to control robot arm by processing image!

I am now interested in making robot arm which can autonomously pick up object based on processing image. The video of robot is below
Image processing based robot arm control - YouTube I have already experienced working with robot servo arm. However, I have not experienced working in processing image.
I have some question:

  1. How can use data such as distance from camera to object to calculate degree or pulse to let robot pick up objects autonomously and exactly.
  2. What is formula to calculate degree from data of camera
    Please share your wisdom
    Sincere thanks!

You need stereoscopic camera to provide depth perception, or an overhead camera view.
Likely more processing needed either way than you’ll be able to do with an Arduino.

CrossRoads:
You need stereoscopic camera to provide depth perception, or an overhead camera view.
Likely more processing needed either way than you’ll be able to do with an Arduino.

thank for you comment. Do you have any preference to do that I completely do not know where to start.