I am trying to automate an robotic arm using MATLAB. So the thing is, camera will be mounted on the base of robotic arm. It will capture the snapshots of the camera frames and do image processing on it and it will detect the target(object) and find the pixel coordinate for it. After it is done, this pixel coordinates should be mapped to real world x-y-z metric coordinates? and this real world coordinates(x,y,z) would serve as parameters for inverse kinematics function which would give the value of theta so that servos can move.
I'm stuck here, this pixel coordinates should be mapped to real world x-y-z metric coordinates? i dont know how to do it. nor getting any ideas, how to proceed it? Anyone having any lead, please share it!!
PS anyone of you guyz thinks that for automation of robotic arm should i use MATLAB or something else?. Coz this all code would be uploaded on raspberry pi 3 using ROS environment.
BEST REGARDS
hitesh kumar