ximgproc_colorMatchTemplate
import { ximgproc_colorMatchTemplate } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSimg, templ, result
FUNCTIONximgproc_colorMatchTemplate
RETURN TYPEvoid
Compares a color template against overlapped color image regions.
ximgproc_colorMatchTemplate(img: Mat, templ: Mat, result: Mat): void;imgImage where the search is running. It must be 3 channels image
templSearched template. It must be not greater than the source image and have 3 channels
resultOutput destination, filled by the native operation. Map of comparison results. It must be single-channel 64-bit floating-point
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.