answering-metric-questions-with-n3d-vlm
One question, one frame, through n3d-vlm.ask (the tool runs N3D-VLM on the
camera's RGB and metric depth).
Inputs
kind:size: "What is thedimensionof theobject_descriptionin millimeters?" (dimensiondefaults tosize; e.g.diameter,width,height)distance: betweenobject_descriptionandother_descriptioncamera_distance: from the camera toobject_descriptioncloser: which of the two is closer to the camera; on a wrist camera, to the gripperbox: the 3D box ofobject_description
question(optional) replaces the built question;kindstill says how the answer is read.observation(optional, elserobot.get_observation),camera_name(defaultwrist; the only camera if there is one).
Outputs
value_m (metres; size, distance, camera_distance), closer (one of the two
descriptions), box (the grounded box whose label shares most words with
object_description: center_m in the camera frame, size_m, yaw_rad, pixel;
its centre and size also as box_center_m / box_size_m, None without a box),
boxes (all grounded), answer (N3D-VLM's text), evidence.
Lengths are read from the answer's first number with a unit (a bare number is
metres, N3D-VLM's unit). When the answer has none, distance falls back to the
distance between the two grounded box centres and camera_distance to the box
centre's depth; closer falls back to the box depths when the answer names
neither object. The model labels boxes with its own categories ("pen/pencil",
"marker"), so a box match needs a word in common; give plain nouns.
Results
11 questions on 3 real wrist RGB-D frames of the YAM pen station (640x480,
D405 depth, 2026-11-30). Ground truth: the holder's hole pitch 20.2 mm and the
Expo marker's 16.5 mm diameter (measured parts), camera distance and which is
closer from the frame's depth (20th percentile over the object's region).
N3D-VLM got that depth as its point cloud; Azure (vlm, provider azure) and
Gemini-ER (gemini-er, gemini-robotics-er-2-preview) got the RGB image and the
focal lengths, and were asked for a bare number. One sample each (N3D-VLM samples).
| question (n) | ground truth | N3D-VLM answer | N3D-VLM 3D box | Azure | Gemini-ER |
|---|---|---|---|---|---|
| hole pitch, mm (3) | 20.2 | 1430 / 270 / 240 (mean abs err 627) | - | 20 / 25 / 30 (4.9) | 20 / 24 / 25 (2.9) |
| marker diameter, mm (2) | 16.5 | 200 / 160 (164) | 28 / 54, smallest box side (24) | 18 / 18 (1.5) | 19 / 19 (2.5) |
| holder to camera, mm (3) | 294 / 197 / 213 | 260 / 160 / 90 (65) | 662 / 546 / no box (359) | 300 / 260 / 300 (52) | 500 / 380 / 450 (209) |
| which is closer (3) | depth order | 3 / 3 | 1 / 1 decidable | 3 / 3 | 2 / 3 |
N3D-VLM is not better than either baseline here. Its millimetre sizes are off by 10x and more (it treats the hole pitch as a distance between objects, once grounding "millimeters" as an object). Its 3D boxes are often on the right object in the image (the centre pixel inside the asked-about object's hand-drawn region in 5 of the 8 one-object questions; both objects of the closer question only in frame 1) but their depth is 2.2-3.6x too far although it was given metric depth, so box sizes and centres are not metric on this close-range wrist view. Its camera-distance answers were in fact distances between two objects it grounded, close to the truth by chance in two frames. It answers "Which is closer: A or B?" as yes/no about A ("Yes, it is in front of marker."), read that way it got 3 of 3. Use it for a coarse 3D box or a front/behind call; measure millimetre sizes from depth (or ask a plain VLM, which was within 10 mm).


