Ask Your Question
-1

I want to track a flying ball and make sure it passed through a vertical ring 9mtr high and placed at a distance of 3mtr from camera. Please help in python. [closed]

asked 2017-12-30 07:13:15 -0600

orean gravatar image

You can see the video here https://www.youtube.com/watch?v=Iska6...

edit retag flag offensive reopen merge delete

Closed for the following reason not a real question by berak
close date 2018-01-02 03:11:33.044088

1 answer

Sort by » oldest newest most voted
1

answered 2017-12-30 10:24:32 -0600

Tetragramm gravatar image

Please read the FAQ. Specifically the bit that says "Please do not beg for code, instead try some tutorials and tell us what is going wrong."

We are here to help with problems and answer questions. Not do things for you. When something doesn't work the way you expect it, we can help. If you've tried lots of things, tell us what you've tried and we can make suggestions.

"I want ..." doesn't work.

edit flag offensive delete link more

Comments

It also doesn’t help that the problem is boring as hell.

Maybe the asker needs to study the projectile motion equations, to see if the ball's path passes through a ring: http://formulas.tutorvista.com/physic...

Collision detection is not so difficult... you must discretize the ring into many small straight line segments. Detecting if any of the line segment end points lie within a sphere is straightforward.

sjhalayka gravatar imagesjhalayka ( 2017-12-30 11:11:15 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-12-30 07:13:15 -0600

Seen: 410 times

Last updated: Dec 30 '17