Georeferencing API
    Preparing search index...
    • 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.

      Parameters

      • options: NodeMatcherOptions = {}

        Optional local WASM path; HTTP fetching is not supported here.

      Returns ImageMatcher

      The same result/progress/lifecycle contract as the browser executor.

      const matcher = createNodeMatcher();
      try {
      const result = await matcher.match({ query, reference });
      console.log(result.status, result.candidates);
      } finally {
      matcher.dispose();
      }