code: def from_src(src: Union[str, PosixPath]) -> Image:
      """
      Load the image from url/path as towhee's Image object.
  
      Args:
          src (`Union[str, path]`):
              The path leads to the image.
  
      Returns:
          (`towhee.types.Image`)
              The image wrapepd as towhee's Image.
      """
      pil_img = PILImage.open(src)
      img = from_pil(pil_img)
  
      return img
  
imports: from pathlib import PosixPath
  from typing import Union
  import numpy
  from towhee.utils.log import engine_log
  from towhee.types import Image
label_desc: Use image node_id 1 for calling a global function with example usage: from_src(src) and returns: img