JScanify icon

JScanify

Document scanning using OpenCV.js (pure JavaScript, no native dependencies)

Highlight Paper

AI-generated

Summary

Detects paper in an input image and highlights its edges by drawing a green outline around the detected paper area.

Inputs

  • Input Binary Field (required) — Name of the binary property containing the input image to process.
  • Output Binary Field (required) — Name of the binary property where the resulting highlighted image will be stored.

Output shape

a single binary image with the paper edges highlighted

The output image is in PNG format and is returned in the specified output binary property. If no paper is detected, the original image is returned unchanged with no highlights.

Discussion