--- title: "Implementation" url: https://docs.catalyst.zoho.com/en/zia-services/help/barcode-scanner/implementation/ description: "Catalyst enables you to integrate a pre-built barcode scanner microservice in your app that reads and extracts encoded information from universal barcodes." last_updated: 2026-08-17T12:16:04Z service: Zia Services type: general --- # Implementation This section only covers working with Barcode Scanner in the Catalyst console. Refer to the [SDK](https://docs.catalyst.zoho.com/en/sdk/java/v1/zia-services/barcode-scanner/)and [API](https://docs.catalyst.zoho.com/en/api/code-reference/zia-services/barcode-scanner) documentation sections for implementing Barcode Scanner in your application's code. As mentioned earlier, you can access the code templates that will enable you to integrate Barcode Scanner in your Catalyst application from the console, and also test the feature by uploading images with barcodes and obtaining the decoded content. ### Access Barcode Scanner To access Barcode Scanner in your Catalyst console: 1. Navigate to **Zia Services** in the left pane of the Catalyst console and click **Barcode Scanner.** ![barcode-scanner](https://catalyst-docs-development.zohostratus.in/images/help/barcode-scanner/barcode-scanner-updated.webp) 2. Click **Try a Demo** in the Barcode Scanner feature page. ![catalyst_barcode_test_page](https://catalyst-docs-development.zohostratus.in/images/help/barcode-scanner/catalyst_barcode_test_page.webp) ### Test Barcode Scanner in the Catalyst Console You can test Barcode Scanner by either selecting a sample image from Catalyst or by uploading your own image. To scan a sample image with a barcode and decode its content: 1. Click **Select a Sample Image** in the box. ![catalyst_barcode_sample](https://catalyst-docs-development.zohostratus.in/images/help/barcode-scanner/catalyst_barcode_sample.webp) 2. Select an image from the samples provided. ![catalyst_barcode_select_sample](https://catalyst-docs-development.zohostratus.in/images/help/barcode-scanner/catalyst_barcode_select_sample.webp) Barcode Scanner will scan the barcode and display its content under _Result_. ![](https://catalyst-docs-development.zohostratus.in/images/help/barcode-scanner/catalyst_barcode_sample_scanned.webp) You can also click **View Response** to do so in the JSON format. ![catalyst_barcode_sample_json](https://catalyst-docs-development.zohostratus.in/images/help/barcode-scanner/catalyst_barcode_sample_json.webp) To upload your own image with a barcode and decode its content: 1. Click **Upload** under the _Result_ section. ![catalyst_barcode_upload](https://catalyst-docs-development.zohostratus.in/images/help/barcode-scanner/catalyst_barcode_upload.webp) If you're opening Barcode Scanner after you have closed it, click **Browse Files** in this box. ![catalyst_barcode_browse](https://catalyst-docs-development.zohostratus.in/images/help/barcode-scanner/catalyst_barcode_browse.webp) 2. Upload a file from your local system. > **Notes:** * The file must be in ._jpg_/._jpeg_ or ._png_ format. The file size must not exceed 10 MB. The resolution of the image must not exceed 36000000 pixels. * You will not be able to specify the barcode type as an input while testing it in the Catalyst console, as it is detected automatically. If you know the barcode type, you can specify it in the API request that you send from your Catalyst application. The console will scan the barcode and display its content. ![catalyst_barcode_qr_scanned](https://catalyst-docs-development.zohostratus.in/images/help/barcode-scanner/catalyst_barcode_qr_scanned.webp) You can copy the content using the copy icon for easier access, or check the JSON response by clicking **View Response**. ![catalyst_barcode_qr_json](https://catalyst-docs-development.zohostratus.in/images/help/barcode-scanner/catalyst_barcode_qr_json.webp) ### Access Code Templates for Barcode Scanner You can implement Barcode Scanner in your Catalyst application using the code templates provided by Catalyst for [Java](https://docs.catalyst.zoho.com/en/sdk/java/v1/zia-services/barcode-scanner/), [Node.js](https://docs.catalyst.zoho.com/en/sdk/nodejs/v2/zia-services/barcode-scanner) and [Python](https://docs.catalyst.zoho.com/en/sdk/python/v1/zia-services/barcode-scanner) platforms. You can access them from the section below the test window. Click either the **Java SDK**, **NodeJS SDK** or **Python SDK** tab, and copy the code using the copy icon. You can paste this code in your web or Android application's code wherever you require. ![catalyst_barcode_java](https://catalyst-docs-development.zohostratus.in/images/help/barcode-scanner/catalyst_barcode_java_updated.webp) In Java, you can process the input file as a new `File` and select the format of the barcode using the `ZCBarcodeOptions` module. If you want Zia to scan the image for all formats, you can use `ZCBarcodeFormat.ALL`. If you are aware of the format, you can enter it as `ZCBarcodeFormat.ean13`, for example. Refer to the [API documentation](https://docs.catalyst.zoho.com/en/api/code-reference/zia-services/barcode-scanner/#BarcodeScanner) for the keys of all supported formats. ![catalyst_barcode_node](https://catalyst-docs-development.zohostratus.in/images/help/barcode-scanner/catalyst_barcode_node_updated.webp) The Node.js code processes the barcode image as the object `barcodePromise`. You can provide the image file name and the format in a similar way here. ![catalyst_barcode_python](https://catalyst-docs-development.zohostratus.in/images/help/barcode-scanner/catalyst_barcode_python.webp) In Python, you can provide an input file of the format .webp/.jpeg or .png to the `open()` method and it returns the image file object as a response.You must pass the image file object an argument to the `zia.scan_barcode()` method. You can specify the barcode format using `setFormat`. If you enter the format as`ALL`, Barcode Scanner automatically detects the format. It provides the decoded information as the response.