Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- count = 0
- catla_array = []
- for f in catla_file_list:
- f_name = catla_path+f
- fish = io.imread(f_name)
- fish_resized = cv.resize(fish, (100,100), interpolation=cv.INTER_AREA)
- #fish_shape = fish_resized.shape
- #feature = np.reshape(fish_resized, fish_shape[0]*fish_shape[1]*fish_shape[2])
- catla_array.append(feature)
- count+=1
- if count == 25:
- break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement