--- title: "Object recognition" url: https://docs.catalyst.zoho.com/en/sdk/nodejs/v2/zia-services/object-recognition/ description: "This page describes the method to use the Object Recognition feature to locate objects in your NodeJS application with sample code snippets" last_updated: 2026-09-08T11:07:33Z service: Zia Services type: general related_links: - name: "Object recognition - API" url: /en/api/code-reference/zia-services/object-recognition/#ObjectRecognition --- # Object Recognition > **Note:** This SDK is currently in deprecation. Migrate to [JavaScript SDK](https://docs.catalyst.zoho.com/en/sdk/javascript/v1/zia-services/object-recognition/) now. [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 below is defined in the [component instance page.](https://docs.catalyst.zoho.com/en/sdk/nodejs/v2/zia-services/get-component-instance) The promise returned here is resolved to a JSON object. ```javascript let fs = require('fs'); let result = await zia.detectObject(fs.createReadStream('./sampimage.webp')) ; console.log(result); ``` A sample response that you will receive for each version is shown below: **Node JS** ``` { "objects":[ { "co_ordinates":[ "322", "125", "708", "1201" ], "object_type":"person", "confidence":"99.82" } ] } { "objects":[ { "co_ordinates":[ 322, 125, 708, 1201 ], "object_type":"person", "confidence":"99.82" } ] } ```