--- title: "LandingAI Widget" slug: "landingai-widget" updated: 2024-04-11T14:46:17Z published: 2024-04-11T14:46:17Z canonical: "support.tulip.co/landingai-widget" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.tulip.co/llms.txt > Use this file to discover all available pages before exploring further. # LandingAI Unit Test To download the app, visit: [Library](https://tulip.co/library/apps/landingai-unit-test/) *Use LandingAI's LandingLens to perform rapid object detection.* [Video for "VID_Landing_AI_Widget_2023_1920x1080.mp4"](https://tulip.widen.net/view/video/glhvhysvl5/VID_Landing_AI_Widget_2023_1920x1080.mp4?u=dtggv3) ### Purpose This Widget allows you to access Vision / machine learning models that you've created within LandingLens. With this widget, you can take a picture in Tulip and send it to your LandingLens endpoint, returning a count of objects found by the AI model. ### Setup In order to use this widget you will need an account with [https://landing.ai/](https://landing.ai/) . For full documentation on how their platform works, please refer to their [support documentation](https://support.landing.ai/) 1. Create a new project. ![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28128%29.png) 1. Select an object detection project. ![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28129%29.png) 2. Upload your training images, you only need 10. Then label the images identifying the objects. ![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28130%29.png) Once enough images are labeled, you will be able to train the model. 1. After training the model you can deploy it and create an endpoint. ![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28131%29.png) 2. If you select "API Command" you will be able to view the endpoint ![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28132%29.png) Copy the API key and secret. ### How it works The application and widget itself is easy to use. The widget has a few props that come prepopulated. ![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28133%29.png) **Image** - This is the image that you will send to LandingLens from Tulip **Count** - This variable is written to by the widget and represents the number of objects detected by the model **Endpoint** - This is copy/pasted from your project **API Key & Secret** - These are copy/pasted from your deployed project If all of these props are filled in, the widget will send a request to LandingAI's API and return an image with the objects highlighted ![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28134%29.png) **Widget** **Widgets** are the elements that make up a specific **App Step.** Widgets can display information to users, collect user input, or trigger app logic. *Common widgets include: Interactive Tables, Number inputs, Machine attribute widgets, and more.* **Tulip Vision** **Vision** is a simple no-code tool to use cameras for visual inspection, process adherence, equipment, personnel, and material tracking on the shop floor.