sign_image — DRIVE roadjp op

• Data kinds: none → rgba (an op determined by its arguments alone — it takes no image or data input)

• Call: import fullseye as fs; fs.ledger.sign_image(kind: 'str', *, size_px: 'int' = 128, value=None, font_path=None, side: 'float | None' = None) -> 'np.ndarray' (to call the implementation directly, import roadjp; roadjp.sign_image(kind: 'str', *, size_px: 'int' = 128, value=None, font_path=None, side: 'float | None' = None) -> 'np.ndarray'; from the registry, opsdrive.get("sign_image"))

Usage

Returns a picture of the road sign as RGBA float (H, W, 4) ∈ [0,1] (outside the plate = alpha 0). Width = size_px; the height follows the shape's aspect ratio.

> The detailed description below is the original text — the summary and the headings are translated.

形と色(規格の配色、記号は単純化):

• stop: 逆三角形・赤地・白の「止まれ」+ 下に小さく「STOP」。 slow: 逆三角形・白地・赤枠・青の「徐行」+「SLOW」。

• speed_limit: 円・白地・赤枠・青の数字(value、既定 40)。 no_entry: 円・赤地・白の横棒。

• no_parking: 円・青地・赤枠・赤の斜線(左上→右下)。 one_way: 横長の青地に白の矢印(右向き)。

• crosswalk: 青地の五角形(家型)に白の歩行者と横断歩道の縞。

• caution_crossing / caution_signal / caution_children: 黄地の菱形・黒縁、黒の記号(踏切 = 遮断機の棒 2 本と ×、信号機 = 3 つの円(赤黄青)、学童 = 2 人の人型)。

文字は PIL でラスタ化する(annotate と同じフォント探索。font_path で固定できる)。フォントに字形が無ければ ValueError(豆腐を黙って出さない)。side は sign_params と同じ(寸法比だけに効く)。

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

• The canonical algorithm (author, year) and its uses are named in the family usage guide above.

Runnable examples (verified samples that actually call this op)

• (none yet)

Ops the type connects to (they accept rgba as input)

spin_from_marker_sequence · plate_mesh_from_image · carla_transform_matrix · carla_pose_to_world · carla_camera_pose · carla_xy_yaw · carla_scene_load · town_chain

Same category (roadjp)

sign_params · plate_mesh_from_image · sign_mesh · add_sign · signal_jp_mesh · add_signal_jp


*Provenance: roadjp.py — DRIVE operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.