rectangleIntersectionArea
import { rectangleIntersectionArea } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSa, b
FUNCTIONrectangleIntersectionArea
RETURN TYPEnumber
Finds out if there is any intersection between two rectangles
mainly useful for language bindings
rectangleIntersectionArea(a: Rect2d, b: Rect2d): number;aFirst rectangle
bSecond rectangle
Returns
the area of the intersection
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.