Topic: Tracking the relative angle of an object

Hi, First of all thank you for this software. It is so intuitive and easy to use.

I am seeing if this software will work for my study. I am trying to track an objects position relative to a 2D plane. I would like to track its position (X,Y) but also the angle or direction the object is facing. The camera will not be directly above the plane either, so I am using a perspective grid to calibrate.

I have attached some images of a mockup I am experimenting with. I have marked the images in red so you can see the kind of measurment I need.

There could be a way of calculating it using the relative position of the 2 points in excel, but I would rather skip that step If I can.

https://i.imgur.com/EcVR71E.png

Re: Tracking the relative angle of an object

Second image:

https://i.imgur.com/PAdjk5l.png

Re: Tracking the relative angle of an object

Hi,
Unfortunately at the moment there is no way to get the angle between two disconnected segments. And there is also no way to get the angle-to-horizontal axis in the perspective calibration case.
For this second case it could be added to the line tool without too much effort. I think this could also help in another specific scenario with the goniometer tool that has been causing an issue.

Re: Tracking the relative angle of an object

No problem, Thank you for the reply.

It should be possible to calculate it by knowing the position of 2 tracked points and the distance between them.

I will experiment a bit in Excel and see if I can work it out.

Re: Tracking the relative angle of an object

Yes if you subtract the points (end - start) then you should be able to use the atan2 function to get an angle relative to the x-axis. I think Excel has such a function.