Your first scan
This page takes you from device discovery to a viewable local image, with optional OCR afterward. Complete Installation and authorization, place a flat sheet under the device, and close other applications that may hold it.
1. Find the device ID
czur-open device list --jsonFind the target in the returned devices list and copy its device_id. Replace YOUR_DEVICE_ID in every command below with that value, not the device's display name or USB port number.
Inspect the device:
czur-open device get "YOUR_DEVICE_ID" --jsonFor an empty list, see Device not found. The scan command opens the device and selects video settings automatically; you do not need to run device open first.
2. Capture one page
czur-open scan "YOUR_DEVICE_ID" --page-processing single_page --color-mode auto_optimize --format png --output-dir "./scans" --jsonThis captures one page, applies paper and color processing, and saves the final image under scans in your current working directory. Keep the page still during capture. The command releases the video stream, device, and connection when it finishes.
With --json, stdout contains one JSON result and diagnostics go to stderr. A successful result contains a files list. Each entry includes the saved path, content_type, and size. Copy the returned path to open the image rather than guessing its filename. If several final images are returned, inspect each one.
Existing files are not overwritten. Without --output-dir, scan images are saved under Pictures/CZUR Open in your home directory.
3. Adjust for the material
| Material | --page-processing | Guidance |
|---|---|---|
| Flat sheets or receipts | single_page | A good starting point for your first scan |
| Open books | curved_book | Select curved-book processing |
| Preserve the original page shape | keep_original | Skip page-shape processing; color processing is controlled separately |
For a book page:
czur-open scan "YOUR_DEVICE_ID" --page-processing curved_book --color-mode auto_optimize --output-dir "./scans" --jsonPrepare the next page before running the command again. --count captures repeatedly within one command; it does not pause for you to confirm each page turn. For manually turned books, run one capture at a time.
4. Optional: Extract text
Check that the image is clear, correctly oriented, and contains all the text. Replace ./scans/your-scan.png below with the actual path returned in files[].path; it is only a placeholder.
czur-open ocr extract-text "./scans/your-scan.png"By default, plain text is written to stdout. For structured text blocks, coordinates, and related information:
czur-open ocr extract-text "./scans/your-scan.png" --jsonOCR processes the image separately and does not need to open the scanner again. An empty text result is not necessarily a failed call; inspect the original image for content and clarity. See Privacy, security, and network boundaries for OCR service data flows.
5. Optional: Export an OCR document
czur-open ocr recognize "./scans/your-scan.png" --format pdf --output-dir "./documents" --jsonThe command waits for OCR to finish, downloads the document, and returns local file information. Open the returned path. If the recognition service does not support the requested format, follow the error rather than treating a failed or missing output as completed.
Pass multiple images in the desired page order to create a merged document by default:
czur-open ocr recognize "./scans/page-1.png" "./scans/page-2.png" --format pdf --output-dir "./documents" --jsonReplace these paths with actual images too. To let an AI assistant perform the capture workflow, continue with Your first AI agent.