ImageFeaturesImpl
10/22/22Less than 1 minute
ImageFeaturesImpl
image.ImageFeaturesImpl
Concrete ImageFeatures implementation returned from Image.detectAndComputeFeatures().
Inheritance
↳
ImageFeaturesImpl
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new ImageFeaturesImpl(javaObject, scale, region?)
Parameters
| Name | Type | Description |
|---|---|---|
javaObject | JavaObject | Underlying JNI/OpenCV wrapper object. |
scale | number | Scale factor applied to the image before detection. |
region | cv.Rect | Optional ROI passed into detection; omitted when the full image was used. |
Properties
javaObject
• Readonly javaObject: JavaObject
Low-level Java bridge object. Implementation details may expose extra APIs.
scale
• Readonly scale: number
Same scale factor passed to the detector.
region
• Optional Readonly region: cv.Rect
ROI used for detection, if any.
onRecycled
• Optional onRecycled: () => void
Optional hook invoked right after recycle() completes.
Methods
recycle
▸ recycle(): void
Release native resources. The wrapper must not be touched afterwards.
Returns
void
