--- title: "Object Recognition" url: https://docs.catalyst.zoho.com/en/sdk/javascript/v1/zia-services/object-recognition/ description: "This page describes the method to perform operations using the components in Zia Services." last_updated: 2026-09-09T10:45:38Z service: Zia Services type: general related_links: - name: "Catalyst Zia Services" url: /en/zia-services/ - name: "Object Recognition Help Documentation" url: /en/zia-services/help/object-recognition/introduction/ - name: "Java SDK Documentation" url: /en/sdk/java/v1/zia-services/object-recognition/ - name: "Python SDK Documentation" url: /en/sdk/python/v1/zia-services/object-recognition/ - name: "REST API Documentation" url: /en/api/code-reference/zia-services/object-recognition/#ObjectRecognition repository: name: "Repository" url: https://github.com/catalystbyzoho/zcatalyst-sdk-js --- # Object Recognition > **Note:** Ensure you have installed the [required package](https://docs.catalyst.zoho.com/en/sdk/javascript/v1/zia-services/overview/#prerequisites) to use this SDK method. [Object Recognition](https://docs.catalyst.zoho.com/en/zia-services/help/object-recognition/introduction) detects,locates, and recognizes individual objects in an image file. Zia Object Recognition can identify 80 different kinds of objects from images. You can provide a *.jpg*/*.jpeg* or *.png* file as the input. Refer to the [API documentation](https://docs.catalyst.zoho.com/en/api/code-reference/zia-services/object-recognition/#ObjectRecognition) for the request and response formats. The `detectObject()` method is used detect and identify the objects in the image, and the input file is passed as an argument to this method. It returns the coordinates of each object, their type, and the confidence score of each recognition. The `zia` reference used in the code snippets below is the [component instance](https://docs.catalyst.zoho.com/en/sdk/javascript/v1/zia-services/get-zia-instance/) created to perform these operations. The promise returned here is resolved to a JSON object. ```javascript const fs = require('fs'); const result = await zia.detectObject(fs.createReadStream('./sampimage.webp')); console.log(result); ``` #### Example of Expected Response A sample response that you will receive for each version is shown below. ```javascript { "objects": [ { "co_ordinates": ["322", "125", "708", "1201"], "object_type": "person", "confidence": "99.82" } ] } ```