FAQ
Does OCR work on x86 architecture?
Currently, OCR only works on x64 architecture.
Do Node.js conversion APIs block the event loop?
Yes. The Node.js SDK uses synchronous conversion APIs. For server workloads, run conversions in worker threads or child processes to avoid blocking the main event loop.
How should concurrent conversions be handled?
The release sample
samples/demo/demo.jsuses child processes so each conversion worker has its own SDK initialization and native runtime state.Does the Node.js SDK expose custom AI callback hooks?
The current addon supports progress and cancellation callbacks. The custom AI callback extension points available in the native C/C++ SDK are not exposed by the Node.js addon yet.
When should SDK resources be released?
Always call
release()after conversion work completes. If a DocumentAI model was loaded, callreleaseDocumentAIModel()before or during cleanup.