import osimport numpy as npimport matplotlib.pyplot as pltfrom skimage import color,data,transform,io labelList = os.listdir("F:\\MachineLearn\\ML-xiaoxueqi\\fruits\\Training")allFruitsImageName = []for i in range(10): allFruitsImageName.append(…
import osimport numpy as npimport matplotlib.pyplot as pltfrom skimage import color,data,transform,io labelList = os.listdir("F:\\MachineLearn\\ML-xiaoxueqi\\fruits\\Training")allFruitsImageName = []for i in range(len(labelList)): allFruitsImage…