I am trying to calculate the reflection of a line on a surface in OpenCV.
I work with a projectile im tracking which is drawing line 2 and a border.
I "just" want to draw a line of the bounce angle as you can see in my drawing.
I got a code that calculate the angle of three given points but in my example line 2 is not static. It will move because its drawn by a moving projectile. So to calculate this i need the intersection point of the border and Line 2. Im kinda struggeling to get that..
Is there an easy way to solve this ?
Thank you.
