Skip to content

Scalar

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

Four numeric channel components. Unused components should be zero; image color order depends on the receiving operation.

export type Scalar = [ number, number, number, 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.