CLI
Use czur-open to discover devices, capture documents, process images, and run OCR locally. Save images, text, or documents for AI applications and business programs. CLI works both interactively in a terminal and in scripts with explicit processing steps.
Start with one document
Prepare Node.js and Runtime, then choose account login or API Key authorization. For account login:
npm install -g @czur/open-cli@latest
czur-open version
czur-open doctor
czur-open auth login
czur-open auth check
czur-open device list --jsonCopy an actual ID from the device list, replace YOUR_DEVICE_ID, and capture a single-page document as JPG:
czur-open scan "YOUR_DEVICE_ID" --page-processing single_page --color-mode auto_optimize --format jpg --output-dir "./scans" --jsonUse the actual paths in files[].path rather than guessing filenames. The scan command opens the device, captures, and attempts cleanup before exiting. See Installation and upgrades for Runtime installation and API Key setup.
Choose a task
| What you want to do | Approach |
|---|---|
| Check the environment and authorization | doctor checks connectivity; auth check checks authorization |
| Capture paper or books | Run device list, then scan |
| Process existing images | Use image process, paper processing, or color processing |
| Reuse local enhancement settings | Discover capabilities and use a pipeline or saved workflow |
| Read text or produce documents | Use ocr extract-text or ocr recognize |
| Automate a workflow | Read results and actual paths with --json, then run the next command sequentially |
Images are uploaded to local Runtime for processing, and results are downloaded to local directories. Whether OCR or subsequent AI analysis uses the network depends on your services. Local file delivery does not make the entire workflow offline. Review privacy and network boundaries before processing sensitive documents.
Contents
- Installation and upgrades: CLI, Runtime, and both authorization methods.
- Command Reference: commands, options, defaults, and results.
- Runtime diagnostics and management: connectivity, verified installers, and update checks.
- Device discovery and management: device queries, IDs, and busy-device issues.
- Capture, processing, and local enhancement: scan, process existing images, and reuse workflows.
- OCR and document export: text extraction, ordered export, and parameter files.
- JSON output and automation: output conventions, exit codes, and a cross-platform Python example.
For a guided introduction, see Your first scan. To let an AI agent call tools, see MCP Server.