Page 1 of 1

GetPosition vs GetResult

Posted: Fri May 02, 2025 4:04 am
by absagim
Hi,

I'm using the Camera SDK with C++ and Flex:V100 cameras.
I would like to know what are the exact differences between what the functions GetPosition and GetResult return.

I know that GetResult should return the position of each marker detected by the camera, but I was wondering what is the difference between using GetPosition and making the average of all the markers position returned by GetResult, because both results are pretty far from each other.

Also, which are the best use cases for each function? Is any of them more precise?

Many thanks in advance.

absagim

Re: GetPosition vs GetResult

Posted: Mon Jun 09, 2025 1:32 pm
by jamescode
GetResult() returns raw positions of all detected markers, while GetPosition() gives a processed, filtered position of a tracked object (like a rigid body). It’s not just an average. GetPosition() applies smoothing and model-based logic, which explains the difference you’re seeing. Use GetResult() for raw data analysis, and GetPosition() for stable object tracking.