In the development of DeepSeek Harness (DSH), visual analysis of images is a common requirement. When detecting head or person targets in an image, the xby-head-person-detection plugin provides a direct solution. It is responsible for receiving a single image and outputting target detection boxes, confidence scores, and corresponding labels.

This is a DSH plugin maintained by xby-skill, with a focus on head and person detection and recognition.

Installation

Use the officially provided command to complete the installation:

dsh plugin --profile web add github:xby_skill/xby-head-person-detection

Configuration and Usage

Get the API Key

This plugin depends on an external API service. Before using it, you need to obtain a key from the Xiaobenyang official website.

Visit the Xiaobenyang official website to register and obtain an API key. After obtaining it, enter the following command in the chat to set the key (the plugin will persist it automatically, so it remains valid after restarts):

set_xby_apikey <你的密钥>

Core Features

The plugin mainly provides the following four features:

  1. set_xby_apikey: Set the API key.
  2. head_person_detection: Detect heads and persons in an image file link.
  3. head_person_detection_for_data_base64: Detect heads and persons in BASE64-encoded image data.
  4. head_person_detection_for_data_file: Detect heads and persons in a local file path.

Typical Usage

You need to provide the URL link of the image file:

head_person_detection <图片文件链接>

2. Input BASE64 Encoding

You need to provide the BASE64-encoded string of the image file:

head_person_detection_for_data_base64 <BASE64编码字符串>

3. Input a Local File Path

You need to provide the absolute path of the image file:

head_person_detection_for_data_file <图片文件路径>

Notes

  • Prerequisites: You must first obtain and configure an API key from the Xiaobenyang official website; otherwise, the detection features will not be available.
  • Input Dependency: The plugin mainly relies on images as the input source and supports three formats: file links, BASE64 encoding, or local file paths.
  • License: This plugin is released under the MIT license.

For more information about the plugin source code, catalog page, or issue feedback, please visit the GitHub repository or the DSH plugin catalog page.