강의

멘토링

커뮤니티

Inflearn Community Q&A

ssdqwe's profile image
ssdqwe

asked

[OpenCV] Python Deep Learning Image Processing Project 2 - Find the Bad Apples!

Improving Face Recognition Accuracy

cv2.imwrite(output_file, output) # 이미지를 optput_file에 나누어서 저장

Written on

·

278

0


cv2.imwrite(output_file, output)
# 이미지를 optput_file에 나누어서 저장
이부분을 써서 저장하는 이유는 무엇인가요?

그리고

for (i, dataset_path) in enumerate(dataset_paths):
# dataset_paths에 있는 해당 파일들을 dataset_path에 순서대로 집어넣어줌
output_path = output_paths[i]
에서 output_path = output_paths[i]를 하는
이유가 궁금합니다

딥러닝keras컴퓨터-비전opencvtensorflow

Answer 2

0

ssdqwe님의 프로필 이미지
ssdqwe
Questioner

와우.. 교수님이라고 불러드려도 손색이 없을것같습니다아...감사합니다!!

0

nomad님의 프로필 이미지
nomad
Instructor

안녕하세요?

보통 이미지를 가공할때 입력받은 원본은 그대로 두고 복사하여 출력용으로 따로 만들어서 여기에 가공합니다.

서류를 접수받으면 원본은 두고 복사본을 만들어서 여기에 표시하는 것과 유사한 원리입니다.

감사합니다. 

ssdqwe's profile image
ssdqwe

asked

Ask a question