depthai-experiments icon indicating copy to clipboard operation
depthai-experiments copied to clipboard

Can the position of the camera be changed during box measurement?

Open missTL opened this issue 8 months ago • 2 comments

For the Box Measurement project, can the position of the camera be changed during the measurement? I saw the camera in a fixed position the whole time

Image

missTL avatar Mar 27 '25 12:03 missTL

@missTL for this app no - it requires calibration, so it knows where the floor is. Perhaps one could update the code to use other approaches to determine where the box is and measure its dimensions.

Erol444 avatar Mar 27 '25 12:03 Erol444

I mean, when the camera position changes during the measurement, does the measurement fail or have a large error? Or can I move the camera around during the measurement without affecting the result?

missTL avatar Mar 27 '25 12:03 missTL

As it is implemented right now the algorithem works by first calibrating for the floor and then uses this floor equation through the runtime. But you could edit the process to re-calibrate for the floor between every measurement (or change of camera position) if you are fine with adding some delay between scene switches so that the calibration process can run again.

klemen1999 avatar Jul 21 '25 18:07 klemen1999