<< return to Pixycam.com

Hello. Is there a way to lock width and height value regardless of the detected object?

Is there a way to lock the width and height of an object detected regardless of the actual size of the object? I need to get a consistent x and y coordinates of the object, but due to the fact that object is in motion, the shifting position fluctuates the width and height of the object, thereby changing the x, y coordinates as well. The current project requires precision on the x and y coordinates of the object.

Thank you.

Hello,
You can improve the color model and/or reduce the framerate to reduce the noise. This page describes both:
https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:some_tips_on_generating_color_signatures_2

You can also average the coordinates over time to reduce the noise (at the cost of responsiveness).

Hope this helps.

Edward

Wow. Thank you! The averaging worked!