openakita/skills@baidu-yijian

Detects industrial product defects and generates quality inspection reports via Baidu Qianfan AppBuilder.

2.0k|274|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/openakita/openakita --skill openakita-skills-baidu-yijian
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openakita/skills@baidu-yijian
Source: https://github.com/openakita/openakita/tree/main/skills/baidu-yijian
Command: npx skills add https://github.com/openakita/openakita --skill openakita-skills-baidu-yijian

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Manual visual inspection of industrial products is slow and inconsistent. This Skill automates defect detection and quality report generation for industrial scenarios using Baidu Yijian's visual recognition capabilities across 20+ industries including retail, energy, mining, ports, chemical, and steel.

Core Features & Use Cases

  • Industrial Defect Detection: Analyze product images to identify defect types, locations, and severity levels, with support for surface, dimension, and assembly inspection modes.
  • Quality Inspection Reports: Generate detailed quality analysis reports including defect breakdowns, statistics, quality ratings, and improvement suggestions.
  • Use Case: A factory quality engineer photographs a production-line component and runs the detect command to receive an automated defect assessment, then generates a full inspection report for compliance records.

Quick Start

Set the APPBUILDER_TOKEN environment variable, then ask the assistant to run the baidu-yijian detect script on your product image to identify defects and their severity.

Frequently Asked Questions about openakita/skills@baidu-yijian

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect defects in industrial product images?

Run the yijian.py script with the detect command and pass the product image path via the --image flag. The script sends the image to Baidu Qianfan AppBuilder and returns defect type, location, severity, and a pass/fail judgment.

How to generate a quality inspection report from a product photo?

Use the report subcommand of yijian.py with the --image argument pointing to your inspection photo. The output includes an inspection overview, defect details, statistics, quality rating, and improvement suggestions.

What authentication does Baidu Yijian visual inspection require?

The skill requires the APPBUILDER_TOKEN environment variable to be set before running any commands. This token authenticates requests to the Baidu Qianfan AppBuilder service that performs the visual analysis.

What inspection types does industrial visual detection support?

The detect command supports three inspection types via the --type flag: surface, dimension, and assembly. If omitted, the script performs a general defect detection without a specific type constraint.

Why does the defect detection script fail to run?

The most common cause is a missing or invalid APPBUILDER_TOKEN environment variable, which prevents authentication with Baidu Qianfan AppBuilder. Also verify the image path passed to --image exists and is readable.