MCPcopy Create free account
hub / github.com/InternRobotics/G2VLM / draw_spatial_relation_oo

Function draw_spatial_relation_oo

data/draw_marker.py:25–28  ·  view source on GitHub ↗
(image, data_entry)

Source from the content-addressed store, hash-verified

23 draw.rectangle(tuple(map(int, bbox_out)), outline=color, width=stroke)
24
25def draw_spatial_relation_oo(image, data_entry):
26 draw = ImageDraw.Draw(image)
27 draw_thick_bbox(draw, image, data_entry["red_bbox"], "red", stroke=20)
28 draw_thick_bbox(draw, image, data_entry["blue_bbox"], "blue", stroke=20)
29
30def draw_depth_prediction_oc(image, data_entry):
31 draw = ImageDraw.Draw(image)

Callers

nothing calls this directly

Calls 1

draw_thick_bboxFunction · 0.70

Tested by

no test coverage detected