Hand-in-eye inconsistent and not accurate enough

i tried manually adjusting t gripper cam and added values based on measurements i did,it came roughly accurate with a few cm off in precision,i want this and need this to be +2 mm accurate,is there a method im missing because automating it is giving me numbers METERS off