linemod_Match
import { linemod_Match } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Native object: release it with using or delete(). Factories can return null; check before calling methods.
Represents a successful template match.
Constructors and members
static new
Create an owned linemod_Match object. Release native handles with using or delete().
new(x: number, y: number, similarity: number, class_id: EmbindString, template_id: number): linemod_Match;2 available overloads
new(): linemod_Match;new(x: number, y: number, similarity: number, class_id: EmbindString, template_id: number): linemod_Match;xx argument (number).
yy argument (number).
similaritysimilarity argument (number).
class_idclass id argument (EmbindString).
template_idtemplate id argument (number).
The linemod_Match result.
clone
Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.
clone(): this;The this result.
x
linemod_Match.x: x offset
x: number;y
linemod_Match.y: y offset
y: number;similarity
similarity value for linemod_Match.
similarity: number;class_id
Object class identifier associated with this template match.
set class_id(value: EmbindString);valuevalue argument (EmbindString).
The string result.
template_id
template id value for linemod_Match.
template_id: number;These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.