Closed LudoTexx closed 3 years ago
Back from holidays.. no answer, bump please !
Hi, The obj.rootWorldPosition already gives (X,Y,Z) position of the root body, based on median value of points inside the bounding box. If you want to do something similar using the depth map, best will be to use the median value to avoid averaging outliers values.
Yea, i have use that, is just weird if the object is too close, that do not return NaN, or null, but return a random value.
Hello,
Please could you tell me what the best way to get the position of an dtected object please?
I have try with ObjectDataSDK with :
obj.rootWorldPosition.Z
but the returned value are really "unstable", and sometimes false (if too close).
I also tried that :
The accuracy seem better, (here i get the distance of the center of my image), but i'm not sure about how get the real distance of my object in my zone area, because of this : (maybe write an algo for trying an average or something, but i prefere ask before loosing time for maybe nothing)
Maybe all my try are totally false, but the value look good, the API doc do not match really with the C# API content.
Thank you in advance.