Skip to content

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:

bash
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 --json

Copy an actual ID from the device list, replace YOUR_DEVICE_ID, and capture a single-page document as JPG:

bash
czur-open scan "YOUR_DEVICE_ID" --page-processing single_page --color-mode auto_optimize --format jpg --output-dir "./scans" --json

Use 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 doApproach
Check the environment and authorizationdoctor checks connectivity; auth check checks authorization
Capture paper or booksRun device list, then scan
Process existing imagesUse image process, paper processing, or color processing
Reuse local enhancement settingsDiscover capabilities and use a pipeline or saved workflow
Read text or produce documentsUse ocr extract-text or ocr recognize
Automate a workflowRead 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 ​

For a guided introduction, see Your first scan. To let an AI agent call tools, see MCP Server.