code: def _read_image(image_path: str) -> np.ndarray:
      r"""
          Returns an RGB ndarray
  
      Args:
          image_path (str): Filepath/URL to read the image from.
      """
      if not exists(image_path):
          raise FileNotFoundError("The image file was not found")
  
      # BGR image
      tens = cv.imread(image_path)
  
      # Convert to RGB
      # WARNING: DO NOT USE to_rgb() as it creates a brand new Tensor (which defaults to RGB)
      # This issue will, hopefully, be fixed in a future update.
      # tens = to_rgb(tens)
      return cv.cvtColor(tens, cv.COLOR_BGR2RGB)
  
file_path: caer/caer/io/io.py
imports: import cv2
  import numpy
  from urllib.request import urlopen
  from .resize import resize
  from ..coreten import to_tensor, Tensor
  from ..color import rgb2bgr, to_bgr
  from ..path import exists
  from .._internal import _check_target_size
  from typing import Tuple, Optional, Union
label_desc: Use image node_id 3 for calling a global function with example usage: _read_image(image_path) and returns: cv