Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def create_picture_path(input_image):
- """
- Define a path
- - starting with given input image
- - along a set of intermediate images
- - ending in one of a set of ending images
- where each image closely resembles its neighbours
- Args:
- input_image: (str) path to image on disk
- Returns:
- List<str>: list of image filenames
- """
- # find the right image
- start_image_idx = find_image(input_image)
- # create the picture path from existing modules
- path = pathfinder.find_path_from_start(start_image_idx)
- return path
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement