In the DeepSeek Harness (DSH) ecosystem, model inference capabilities are typically integrated through plugins. xby-detect-vehicle is an inference plugin for vehicle recognition in images. It completes detection tasks by calling an external API, avoiding the need to deploy heavy local models.
Plugin Positioning¶
This plugin is maintained by xby-skill and belongs to the model inference plugin category. Its core purpose is to receive image data, identify vehicle types (car, truck, bus, motorbike, tricycle, carplate), and return the corresponding detection boxes, confidence scores, and labels.
Core Features¶
The plugin provides the following capabilities:
set_xby_apikey: Set an API key in the chat. The operation is automatically persisted and remains valid after restarting the DSH process.detect_vehicle: Input an image file link and output vehicle detection results.detect_vehicle_for_data_base64: Input the BASE64 encoding of an image file and output vehicle detection results.detect_vehicle_for_data_file: Input the file path of an image file and output vehicle detection results.
Installation and Enablement¶
Install directly using the officially provided command:
dsh plugin --profile web add github:xby_skill/xby-detect-vehicle
Usage Prerequisites¶
This plugin depends on an external service. Complete the following steps before using it:
- Register an account on the XBY official website.
- Obtain the corresponding API key.
- Call
set_xby_apikeyin DSH to set the key.
Typical Usage¶
Select the appropriate detection function based on the image source:
- Image link: Use
detect_vehicleand input the HTTP/HTTPS link of the image. - Base64 encoding: Use
detect_vehicle_for_data_base64and input the Base64-encoded string. - Local file: Use
detect_vehicle_for_data_fileand input the absolute path of the image on the system.
Notes¶
- The detection feature depends on the XBY API. Ensure network connectivity and a valid API key.
- The API key set with
set_xby_apikeyapplies to the current DSH process, but it is automatically persisted and remains valid after a restart.
References¶
- Plugin directory: https://www.skillhub.cn/plugins/xby-skill/xby-detect-vehicle
- Source repository: https://github.com/xby-skill/xby-detect-vehicle