SHARE
TWEET

Untitled

a guest Jun 16th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def create_picture_path(input_image):
  2.     """
  3.     Define a path
  4.     - starting with given input image
  5.     - along a set of intermediate images
  6.     - ending in one of a set of ending images
  7.     where each image closely resembles its neighbours
  8.    
  9.     Args:
  10.         input_image: (str) path to image on disk
  11.     Returns:
  12.         List<str>: list of image filenames
  13.     """
  14.     # find the right image
  15.     start_image_idx = find_image(input_image)
  16.    
  17.     # create the picture path from existing modules
  18.     path = pathfinder.find_path_from_start(start_image_idx)
  19.    
  20.     return path
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top