MATLAB Answers

3D real time ball position detection using simulink

2 views (last 30 days)
fati on 12 Nov 2011
I have a project this semester which about detection of a ping pong ball using two webcam and simulink.I can detect ball with one camera using (blob analysis-centroid) but I dont know how I combine with 2nd camera also I dont know how I will obtain the position of the ball on screen,so please help me

Accepted Answer

Doug Hull
Doug Hull on 14 Nov 2011
This is the rough outline of what I would do:
  • Face one camera to North.
  • Face one Camera to East.
  • Locate the ball with each camera independently. (You said you can do that)
These two give you enough information to locate the ball in three-dimensions.

More Answers (2)

fati on 15 Nov 2011
Thank you for your answer,but I still couldn't find the coordinates. Which simulink block I should use to obtain coordinates?

Claude Rico
Claude Rico on 17 Nov 2011
I am a final year student and hope to graduate if i finish my thesis project... can anyone help me how to make a real time face recognition with a displayed information in an extracted face... thanks and God bless!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!