Reading an image from multiple folders
이전 댓글 표시
I'm using the ATT face archive and I need to be able to read 1 image from each folder. There are 40 folders in total with 10 pictures of the same person in different positions. I split the photos 70% training and 30% validation. I need to read 1 image from each folder of the validation set, but I'm having trouble figuring out how to do that.
답변 (1개)
Aoi Midori
2020년 11월 6일
0 개 추천
Does this example help you? It uses imageDatastore.
Or you could also make use of dir command.
카테고리
도움말 센터 및 File Exchange에서 Semantic Segmentation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!