code: def test_convert_to_relative_coords(abs_geoms, img_size, rel_geoms):
      assert np.all(
          geometry.convert_to_relative_coords(abs_geoms, img_size)
          == rel_geoms
      )
  
      # Wrong format
      with pytest.raises(ValueError):
          geometry.convert_to_relative_coords(
              np.zeros((3, 5)), (32, 32)
          )
  
file_path: doctr/tests/common/test_utils_geometry.py
imports: from copy import deepcopy
  from math import hypot
  import numpy
  import pytest
  from doctr.io import DocumentFile
  from doctr.utils import geometry
label_desc: Use image node_id 8 for calling a global function with example usage: test_convert_to_relative_coords(abs_geoms, img_size, rel_geoms) without return types