Assigning global coordinates to detected objects

Hello everyone!

I’m working on a project in which a moving ZED 2 detects apples.

I know the initial position of the camera and my final goal is to obtain the georeferenced position of the detected apples.

How can assign this initial position to the camera?
How can I, then, print object.position in georeferenced coordinates?

Thanks in advance for your answers!

I recommend you read our detailed documentation about Global Localization

Thank you for your answer!

The tricky part is that the system should be GNSS independent. In fact, the only available exact known camera position would be the initial position. After which, as the camera moves, its position should be updated by detecting georeferenced aruco markers.

After reading the Global Localization and the Fusion documentation, it seems to me that constant GNSS data is needed for synchronization, therefore, a single position wouldn’t be enough.

Is it possible to just assign the initial position, and then update the position according to the detected markers?

Unfortunately, this is not possible currently.

Pitty!

Do you think there could be any workaround?