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.
      """
      ndarray_img = cv2.imread(str(src))
      rgb_img = cv2.cvtColor(ndarray_img, cv2.COLOR_BGR2RGB)
      img = from_ndarray(rgb_img, "RGB")
  
      return img
  
file_path: towhee/towhee/utils/ndarray_utils.py
imports: import glob
  from pathlib import Path, PosixPath
  from typing import Union
  import numpy
  from io import BytesIO
  from zipfile import ZipFile
  from urllib.request import urlopen
  from towhee.types import Image
  from towhee.utils.repo_normalize import RepoNormalize
  from towhee.utils.cv2_utils import cv2
label_desc: Use image node_id 1 for calling a global function with example usage: from_src(src) and returns: img