Pck_S

system.pck_S.check_file(path)

Check if the path is a file or a directory

:param path: The path to the file or directory :return: A boolean value. True if the path is a file, False if the path is a directory.

system.pck_S.get_img(file)

This function takes a file path as an argument and returns an image object

:param file: The path to the image file :return: A PIL Image object.

system.pck_S.scan(img)

This function takes in an image and returns a numpy array of the image

:param img: The image to be scanned :return: The function scan returns an array of the image.

system.pck_S.run(img1, img2)

:param img1: The first image to compare :param img2: The image to compare with


Última actualización: 12 de octubre de 2022
Creado: 12 de octubre de 2022