먼저 원본 이미지를 학습 알고리즘이 사용할 수 있는 특성으로 변환해야 합니다. 텍스트 데이
터와 마찬가지로 이미지를 위해 사전 훈련된 모델이 많습니다. 이를 사용해 특성을 생성하거나
다른 모델의 입력으로 사용할 관심 객체를 추출할 수 있습니다.
이미지를 다루기 위해 오픈 소스 컴퓨터 비전 라이브러리
open
source
computer
vision
library
(
OpenCV
)
를 사용하겠습니다. 좋은 라이브러리가 많이 있지만 이미지를 다루는 데는
OpenCV
가 가장
인기가 많고 문서화가 잘 되어 있습니다. 이따금 설치가 어려울 수 있지만 문제가 생기면 온라
인에 참고할 수 있는 가이드가 많이 있습니다. 이 책은
opencv
-
python
-
headless
==
4
.
7
.
0
.
68
을 사용했습니다. 또한 이 장의 모든 코드가 정상적으로 실행되는 것을 보장하려면 깃허브에서
제공하는 도커 파일을 사용하세요(
https
://
oreil
.
ly
/
MLwPython
).
이 장에서 사용하는 이미지 샘플은 번역서 깃허브(
https
://
github
.
com
/
rickiepark
/
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.