Create a lazy Node 22.12+ matcher backed by a dedicated worker thread.
Initialization occurs on the first match. Requests are cloned without detaching
caller buffers. Only one job may run at once; abort terminates synchronous WASM
work and the next job creates a fresh worker. Call dispose() on shutdown;
worker termination is requested immediately and completes asynchronously in Node.
No native OpenCV installation, React, browser canvas, or external service is used.
Create a lazy Node 22.12+ matcher backed by a dedicated worker thread.
Initialization occurs on the first match. Requests are cloned without detaching caller buffers. Only one job may run at once; abort terminates synchronous WASM work and the next job creates a fresh worker. Call
dispose()on shutdown; worker termination is requested immediately and completes asynchronously in Node. No native OpenCV installation, React, browser canvas, or external service is used.