mhdew

Fish-Pak features

May 7th, 2021
575
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. count = 0
  2. catla_array = []
  3.  
  4. for f in catla_file_list:
  5.     f_name = catla_path+f
  6.     fish = io.imread(f_name)
  7.     fish_resized = cv.resize(fish, (100,100), interpolation=cv.INTER_AREA)
  8.     #fish_shape = fish_resized.shape
  9.     #feature = np.reshape(fish_resized, fish_shape[0]*fish_shape[1]*fish_shape[2])
  10.     catla_array.append(feature)
  11.     count+=1
  12.     if count == 25:
  13.         break
RAW Paste Data