Object detection jitter

Hello,

Im using the object detection model, where it returns the X,Y or the object detected.

However even if the object detected is not moving, the X values from the detected object can jump from X=1688 to X=425 and back and forth.

Anybody seen this issue? How to fix this, because its a BIG PROBLEM.

Is there a way to filter out the jumps?

Thanks

Hi @nsmith1024

May I know if you are running the default example (ObjectDetectionCallback/ObjectDetectionloop) in the SDK that caused this issue?

Hello,

Yes The Object detection Loop example. The value of X sometimes start to oscillate between two values.

It will be at the correct value for a while, and then it starts oscillating between two different values, and then it goes back to the original value.

For example below shows the X value of a person it detected, where the person is not moving:

1024
1024
1024
1024
1024
300
1024
300
1024
300
1024
300
1024
300
1024
1024
1024
1024
1024

Hi @nsmith1024,
I tested the default example source codeand it appears to be functioning properly. Were there any modifications made to the default example?