Creating an AI Fashion Image Search Engine인공지능 패션 이미지 검색 엔진 생성
Creating an AI Fashion Image Search Engine인공지능 패션 이미지 검색 엔진 생성
1. 데이터셋(DataSet)
1. 데이터셋(DataSet)
1.1. 불러오기(training_dataset)
1.1. 불러오기(training_dataset)
dataSet=Map[ImageResize[Import[File[#]],100]&,FileNames["*.*",SystemDialogInput["Directory",NotebookDirectory[]],Infinity]]
2. 유사이미지 탐색(FeatureNearest)
2. 유사이미지 탐색(FeatureNearest)
2.1. 기계학습(Machine Learning)
2.1. 기계학습(Machine Learning)
ai=FeatureNearest[dataSetAll]
2.2. 유사이미지 추출(testing_sample)
2.2. 유사이미지 추출(testing_sample)
sample=ImageResize[Import@SystemDialogInput["FileOpen",NotebookDirectory[]],100]
SetterBar[Dynamic[select1],Range[5]]
ai[sample,select1]
2.3. 이미지 유사성 거리 그래프(FeatureSpacePlot)
2.3. 이미지 유사성 거리 그래프(FeatureSpacePlot)
Manipulate[FeatureSpacePlot[dataSet,PlotRange{All,All},LabelingSizei,ImageSize600,AxesTrue,AxesStyleGrayLevel[0.8],GridLines{Table[i,{i,-5,5}],Table[i,{i,-4,4}]},GridLinesStyleGrayLevel[0.9],FrameTrue],"",{{i,40,Style["ImageSize",14]},20,60,5,RadioButton},"",AppearanceElements->None]
2.4. 테스트(testing_sample)
2.4. 테스트(testing_sample)
test=ImageResize[Import@SystemDialogInput["FileOpen",NotebookDirectory[]],120]
SetterBar[Dynamic[select2],Range[5]]
ai[test,select2]
Copyright(c) MATHOUGHT.COM Since 2000.
Jang-hoon Lee (Paju girls’ high school, mathought@gmail.com)
Jang-hoon Lee (Paju girls’ high school, mathought@gmail.com)