Skip to content

Animal-Meeting/Animal-Image-Preprocessing

Repository files navigation

Animal-Image-Preprocessing

✅ face_cut_folder.py

입력 디렉토리 경로

얼굴만 따올 이미지가 있는 폴더 경로 입력
input_path = './image/여자 고양이상'

출력 디렉토리 경로

결과 폴더 경로
output_path = './1.detected_face'

최종 결과물은 1.detected_face 폴더에 저장됨


✅ face_resize_rescale.py

입력 디렉토리 경로

사진크기를 조절하고 리스케일을 적용할 이미지가 있는 폴더 경로 입력
input_path = './1.detected_face'

출력 디렉토리 경로

결과 폴더
output_path = './2.resize_rescaled_images'


✅ data_augmentation.py

입력 디렉토리 경로

input_path = './2.resize_rescaled_images'

출력 디렉토리 경로

output_path = './3.augmented_images'


✅ 최종적으로 모델학습에 사용할 이미지

2.resize_rescaled_images 폴더에 있는 이미지 + 3.augmented_images 폴더 이미지

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages