ImageFeatures
10/22/22Less than 1 minute
ImageFeatures
image.ImageFeatures
Abstract handle for keypoints / descriptors produced by Image.detectAndComputeFeatures.
Table of contents
Methods
Methods
recycle
▸ recycle(): void
Release native buffers held by this feature bundle. Do not use the object after recycle().
Example
"nodejs";
const { readImage } = require("image");
async function main() {
const img = await readImage("./image.png");
const features = await img.detectAndComputeFeatures();
// … use features for matching …
features.recycle();
}
main();Returns
void
