Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
작업 내용
리뷰어에게 (필요시)
scanDocument
위 메서드를 사용해
AVCaptureVideoDataOutputSampleBufferDelegate
의captureOutput()
메서드를 통해 얻은 영상 결과물(SampleBuffer)에서 영수증 영역을 스캔한다.영수증 스캔 성공 시 화면에 표시될 MaskLayer의
fream
값을 반환 및DocumentScanner
는 스캔 한 영수증의 좌표값을 저장한다.editImageWithScanResult
위 메서드는 가장 최근의 스캔 한 영수증의 좌표값을 통해 촬영된 결과물을 편집 후 반환한다.
스크린샷 (필요시)