UNPKG

ppu-ocv

Version:

A type-safe, modular, chainable image processing library built on top of OpenCV.js with a fluent API leveraging pipeline processing.

15 lines (14 loc) 472 B
import type { OperationResult, PartialOptions } from "../index"; import { cv } from "../index"; declare module "../index" { interface RegisteredOperations { blur: BlurOptions; } } export interface BlurOptions extends PartialOptions { /** Size of the blur [x, y] */ size: [number, number]; /** Gaussian kernel standard deviation on x axis */ sigma: number; } export declare function blur(img: cv.Mat, options: BlurOptions): OperationResult;