Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement