모바일 영수증 및 문서 스캐너 자동 보정
모바일 영수증 및 문서 스캐너 자동 보정
본 도구는 100% 클라이언트 환경(브라우저)에서 작동합니다. 사진, 동영상, 음성 또는 PDF 문서가 외부 서버로 절대 전송되지 않으며 로컬 메모리에서 안전하게 처리됩니다.
핵심 아키텍처 및 수학 공식
Clean Scan = Edge Detection ➔ Perspective Warp ➔ Grayscale Conversion ➔ Adaptive Thresholding
The scanner first uses the Canny Edge Detection algorithm to find the 4 corners of the paper. It then applies a perspective warp to flatten the image, and finally uses adaptive thresholding to turn gray shadows into pure white.
모범 사례 및 필수 지침
- Ensure High Contrast Backgrounds: A white piece of paper on a white table is a mathematical nightmare for edge detection. Always place the document on a dark table so the algorithm can instantly find the 4 corners.
- Avoid Harsh Glare: If you scan glossy paper under a bright light, the glare will blow out the pixels to pure white, completely destroying the underlying text. Use diffused, indirect lighting.
- Use B&W Binarization for Text: If the document is purely text (like a contract), always use the 'Black & White' filter. It mathematically removes all colored noise and shadows, drastically reducing the final PDF file size.