Guest User

Untitled

a guest
Dec 11th, 2018
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. first_image = load_image("test1.jpg")
  2. first_image_encoding = pic_encoding(first_image)[0]
  3.  
  4. second_image = load_image("test2.jpg")
  5. second_image_encoding = pic_encoding(second_image)[0]
  6.  
  7. encoding_arr = [
  8. first_image_encoding,
  9. second_image_encoding
  10. ]
  11.  
  12. for root, dirs, files in os.walk(img_dir):
  13. for f in files:
  14. first_image = load_image(f)
  15. first_image_encoding = pic_encoding(first_image)[0]
Add Comment
Please, Sign In to add comment