--- title: "LandingAI Widget" slug: "landingai-widget" updated: 2025-01-13T14:45:28Z published: 2025-01-13T14:45:28Z 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 单元测试 To download the app, visit: [Library](https://tulip.co/library/apps/landingai-unit-test/) *使用 LandingAI 的 LandingLens 快速检测物体。* ### 用途 该小工具允许您访问在 LandingLens 中创建的视觉/机器学习模型。 使用该小工具,您可以在 Tulip 中拍照并将其发送到 LandingLens 端点,然后返回人工智能模型发现的物体计数。 ### 设置 要使用此部件,您需要在[https://landing.ai/](https://landing.ai/){target="_blank"} 注册一个账户。 有关其平台工作原理的完整文档,请参阅其[支持文档{target=](https://support.landing.ai/)"_blank"}。 1. 创建一个新项目。 ![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28128%29.png) 1. 选择对象检测项目。![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28129%29.png) 2. 上传训练图像,只需 10 张。 然后在图像上标注物体。![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28130%29.png){height="" width="""} 一旦标注了足够多的图像,就可以训练模型了。 1. 训练完模型后,就可以部署模型并创建端点。![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28131%29.png){height="" width="""} 2. 如果选择 "API 命令",就能查看端点![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28132%29.png) 复制 API 密钥和秘密。 ### 如何运行 应用程序和 widget 本身很容易使用。小工具有几个预填充的道具。 ![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28133%29.png){height="" width="""} **图片**--这是您将从**TulipCount**发送到 LandingLens 的图片--该变量由 widget 写入,代表**模型**检测到的对象数量端点--这是从您的项目中复制/粘贴的API**密钥和秘密**--这是从您部署的项目中复制/粘贴的。 如果填写了所有这些道具,小工具就会向 LandingAI 的 API 发送请求,并返回一张突出显示对象的图片 ![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28134%29.png)