Image Histogram
Analyze pixel intensity distribution across red, green, and blue color channels.
Advertisement
Upload document photo or image scan
PNG, JPG, WEBP, BMP (Up to 50MB)
Loading OpenCV WebAssembly module...
Notice: Could not automatically detect a 4-point paper boundary contour.
Original Input Image
Scanned Result
Result scan preview will appear here
OpenCV Computer Vision Document Scanner
4-Point Quadrilateral Detection
Uses Gaussian blur, Canny edge detection, and contour analysis to detect sheet margins in photo captures.
Perspective Warp Matrix
Calculates geometric perspective transform matrix (`getPerspectiveTransform`) to un-tilt angled camera shots.
Contrast Enhancement
Applies adaptive binarization and contrast stretching for clear black & white printed text readability.
Sponsored Content