Skip to content

Interface: SimilarityResult<>

@appium/opencv.SimilarityResult

Table of contents

Properties

Properties

score

score: number

The similarity score as a float number in range [0.0, 1.0]. 1.0 is the highest score (means both images are totally equal).

Defined in

packages/opencv/lib/index.js:375


visualization

visualization: null | Buffer

The visualization of the matching result represented as PNG image buffer. This image includes both input pictures where difference regions are highlighted with rectangles.

Defined in

packages/opencv/lib/index.js:377