Skip to content

Rect2f

Core and matricestypeOpenCV 5.0.0
import type { Rect2f } from '@banou/opencv-wasm'

An upright rectangle described by its top-left x/y and width/height. No native disposal is required.

export type Rect2f = {
  x: number,
  y: number,
  width: number,
  height: 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.