# Tracking a ball returning its x,y,z coordinates [closed]

I'm a Mechatronics Student Engineer, and still new with the computer vision field and am now working on a project that needs to Tracks a small ball and need to determine it's (x,y,z). 1st) Kinect was bad for detecting small objects. 2nd) Stereo with 2 cameras not hardware synchronized isn't accurate. 3rd) Single Stereo Camera is very expensive and I don't have any information of how dealing with it.

So how Can I track a ball to return its coordinates(x,y,z) ?

• Welcome to Robotics ZainKhaled, but I'm afraid that Unbounded Design Questions are off-topic because there are many ways to solve any given design problem. We prefer practical, answerable questions based on actual problems that you face, so questions which ask for a list of approaches or a subjective recommendation on a method (for how to build something, how to accomplish something, what something is capable of, etc.) are off-topic. Please take a look at How to Ask & tour for more information on how stack exchange works. – Chuck Jul 25 '17 at 13:05
• Any method that gives you (x,y,z), that is also capable of resolving your object, should work, unless you have some other specifications - frame rate, measurement accuracy, etc. You could use RGB-D cameras, stereo vision, structured light (like the Kinect), etc. Regarding simple examples that [you] could modify to [your] case - Simple is a relative term; computer vision is a pretty advanced topic. However, please consider the OpenCV sample files; browse to cpp (C++) or Python and try to "stereo_match" example. – Chuck Jul 25 '17 at 13:12
• Thanks guys I got it, sorry for any miss understanding, it was my 1st question on this site so I didn't know how to ask well. I'm now trying the kinect so if i get any good results i will inform others similar questions with what I get. – Zain Khaled Jul 25 '17 at 18:45
• Sorry @ZainKhaled but this is still not a practical, answerable questions based on actual problems that you face, so I can't re-open it. It looks like you do have a couple of good questions you could ask instead however: "How to improve the accuracy of detecting small objects with Kinect" and "How to improve accuracy of stereo vision when cameras aren't synchronised". In each case you will need to include details of what you want to achieve, what you tried, what you saw & what you expected to see. – Mark Booth Jul 27 '17 at 8:38