optical.converter.utils.tf_decode_image

optical.converter.utils.tf_decode_image(root: Union[str, os.PathLike, pathlib.PosixPath], data, split: Union[str, os.PathLike, pathlib.PosixPath])[source]

Decodes images and save in images folder under root

Parameters
  • root (Union[str, os.PathLike, PosixPath]) – path to root directory

  • data (tf.train.Example) – single image example

  • split (Union[str, os.PathLike, PosixPath]) – split directory