code: def test_bbox_relative_xcycwh():
      w, h = 640, 480
      xcycwh = (0.7, 0.2, 0.1, 0.2)
      bbox = BBox.from_relative_xcycwh(
          *xcycwh, img_width=w, img_height=h
      )
      assert bbox.xyxy == (416, 48, 480, 144)
      assert bbox.relative_xcycwh(
          img_width=w, img_height=h
      ) == pytest.approx(xcycwh)
  
imports: import pytest
  from icevision.all import *
label_desc: Use image node_id 2 for calling a global function with example usage: test_bbox_relative_xcycwh() without return types