utilityfun.py
def import_image(image_path):
    """Import an image from the supplied path.
    Returns the image name and the image.
    """
    img = cv2.imread(image_path)
    img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
    #img_name = image_path.split('/')[-1].split('.')[0]
    return img
Import an image from the supplied path.
    Returns the image name and the image.
    
Import an image from the supplied path.
Returns the image name and the image.
Import an image from the supplied path . Returns the image name and the image .
def import_image(image_path):
    img = cv2.imread(image_path)
    img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
    return img
def import_image ( image_path ) : img = cv2 . imread ( image_path ) img = cv2 . cvtColor ( img , cv2 . COLOR_BGR2RGB ) return img
Import an image from the supplied path.
Import an image from the supplied path .
"""Import an image from the supplied path.
    Returns the image name and the image.
    """ #img_name = image_path.split('/')[-1].split('.')[0]
image_path