-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
23 lines (20 loc) · 881 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import Get_Image
import glob
import os
def print_hi(name):
# Use a breakpoint in the code line below to debug your script.
print(f'Hi, {name}') # Press Strg+F8 to toggle the breakpoint.
if __name__ == '__main__':
file_path = "C:/Users/Makav/Desktop/ISM_2022w/test" #Simply change the file path to the correct location
Get_Image.get_image(file_path)
#print("List of image names: \n", os.listdir(file_path))
#put the image names in a list
image_names = os.listdir(file_path)
print("List of image names: \n", image_names)
#print the first image name
print("First image name: \n", image_names[0])
#print the last image name
print("Last image name: \n", image_names[-1])
#print(Get_Image.images)
#print(glob.glob("C:/Users/Makav/Desktop/ISM_2022w/test/*"))
#print(glob.glob("C:/Users/Makav/Desktop/ISM_2022w/test/*.png"))