Skip to content

Interface: MatchingResult<>

@appium/opencv.MatchingResult

Table of contents

Properties

Properties

count

count: number

The count of matched edges on both images. The more matching edges there are no both images the more similar they are.

Defined in

packages/opencv/lib/index.js:210


points1

points1: Point[]

The array of matching points on the first image

Defined in

packages/opencv/lib/index.js:219


points2

points2: Point[]

The array of matching points on the second image

Defined in

packages/opencv/lib/index.js:222


rect1

rect1: Rect

The bounding rect for the matchedPoints1 set or a zero rect if not enough matching points are found

Defined in

packages/opencv/lib/index.js:220


rect2

rect2: Rect

The bounding rect for the matchedPoints2 set or a zero rect if not enough matching points are found

Defined in

packages/opencv/lib/index.js:223


totalCount

totalCount: number

The total count of matched edges on both images. It is equal to count if goodMatchesFactor does not limit the matches, otherwise it contains the total count of matches before goodMatchesFactor is applied.

Defined in

packages/opencv/lib/index.js:212


visualization

visualization: null | Buffer

The visualization of the matching result represented as PNG image buffer. This visualization looks like https://user-images.githubusercontent.com/31125521/29702731-c79e3142-8972-11e7-947e-db109d415469.jpg

Defined in

packages/opencv/lib/index.js:216