Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- first_image = load_image("test1.jpg")
- first_image_encoding = pic_encoding(first_image)[0]
- second_image = load_image("test2.jpg")
- second_image_encoding = pic_encoding(second_image)[0]
- encoding_arr = [
- first_image_encoding,
- second_image_encoding
- ]
- for root, dirs, files in os.walk(img_dir):
- for f in files:
- first_image = load_image(f)
- first_image_encoding = pic_encoding(first_image)[0]
Add Comment
Please, Sign In to add comment