UNPKG

@nodify_at/hailo.js

Version:

High-performance Node.js bindings for Hailo AI acceleration processors (NPU). Run neural network inference with hardware acceleration on Hailo-8 devices.

5 lines (4 loc) 249 B
/** * Optimized resize using Sharp - much faster than custom implementation */ export declare function resizeImage(buffer: Uint8Array, srcWidth: number, srcHeight: number, dstWidth: number, dstHeight: number, save?: boolean): Promise<Uint8Array>;