Hi,
in which measurement unit are the diameters expected by the VNDetectTrajectoriesRequest when specifying a minimum and maximum size?
For example: A soccer ball has a diameter of roughly 22 cm.
Is the expected size then (if its meters?):
request.minimumObjectSize = 0.17 / videoWidth
request.maximumObjectSize = 0.27 / videoWidth
?
Thanks for your help!
in which measurement unit are the diameters expected by the VNDetectTrajectoriesRequest when specifying a minimum and maximum size?
For example: A soccer ball has a diameter of roughly 22 cm.
Is the expected size then (if its meters?):
request.minimumObjectSize = 0.17 / videoWidth
request.maximumObjectSize = 0.27 / videoWidth
?
Thanks for your help!
For anyone interested in this:
I came to the conclusion that the best way to setting these properties ist trial and error.
Just record the action and adjust the properties from "both sides" (min and max).
I am not done doing this, but i am tracking a golf ball and setting the max size to 0.2 is still "too big".
Hope this helps everyone else who doesn't know the unit of these properties.
I came to the conclusion that the best way to setting these properties ist trial and error.
Just record the action and adjust the properties from "both sides" (min and max).
I am not done doing this, but i am tracking a golf ball and setting the max size to 0.2 is still "too big".
Hope this helps everyone else who doesn't know the unit of these properties.