하나는 기존 시스템의 텍스트 이미지를 텍스트 데이터로 변환하는 것이다. 예제는 (가상) 전
자 의료 기록을 사용한다. 우리는 구글의 테서랙트
Tesseract
3
를 사용하는 한편, 스파크를 사용하
여 작업량을 분산시켜 병렬처리할 것이다. 또한 미리 훈련된 파이프라인을 사용하여 텍스트를
저장하기 전에 처리할 것이다.
16.2.1
해결할 문제
이미지를 텍스트로 변환하고 텍스트를 처리한 뒤에 마지막으로 저장하는 스크립트를 작성할
것이다. 향후 이러한 단계를 잠재적으로 확대하거나 개선할 수 있도록 기능을 분리한다.
16.2.2
제약 조건
인쇄된 영어 텍스트의 이미지로만 작업한다. 문서에는 텍스트 열이 하나만 있다. 가상 시나리
오에서는 그 내용이 의학적으로 관련이 있을 수 있지만, 실제 구현에는 영향을 미치지 않을 것
이다.
16.2.3
문제 해결
이미지를 텍스트로 변환하고 텍스트를 처리한 뒤 저장하는 반복 가능한 방법을 원한다.
3
옮긴이_ 다양한 운영체제를 위한 광학 문자 인식 엔진이다.
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.