linkfox-ruiguan-image-compliance

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Ruiguan Policy Compliance Image Detection

Ruiguan 政策合规图片检测

This skill guides you on how to use the Ruiguan policy compliance detection tool to identify potential policy violations in product images. It performs image-based similarity search against a known database of prohibited products.
本技能将指导您如何使用Ruiguan政策合规检测工具识别产品图片中的潜在政策违规问题。它会针对已知禁售商品数据库进行基于图片的相似度搜索。

Core Concepts

核心概念

Ruiguan Policy Compliance Image Detection is an image-based compliance screening service. Given a product image URL, it searches for visually similar products in a database of known policy-violating items. The tool returns matching violations ranked by visual similarity.
Similarity score (cosine): A value between 0 and 1. Higher values indicate stronger visual resemblance to known violating products. A score close to 1.0 means the product image is nearly identical to a flagged violation.
Ruiguan政策合规图片检测是一项基于图片的合规筛查服务。提供产品图片URL后,它会在已知违规商品数据库中搜索视觉相似的产品,并按视觉相似度排序返回匹配的违规结果。
相似度分数(cosine):取值范围为0到1,分数越高表示与已知违规商品的视觉相似度越高。分数接近1.0意味着该产品图片与已标记的违规商品几乎完全一致。

Parameter Guide

参数指南

ParameterTypeRequiredDescriptionExample
Image URLimageUrlYesThe URL of the product image to check (max 1000 chars)https://example.com/product.jpg
Key notes:
  • The image URL must be publicly accessible
  • Supported formats include common image types (JPG, PNG, etc.)
  • The URL must not exceed 1000 characters
参数类型是否必填说明示例
Image URLimageUrl待检测产品图片的URL(最长1000字符)https://example.com/product.jpg
关键注意事项:
  • 图片URL必须可公开访问
  • 支持常见图片格式(JPG、PNG等)
  • URL长度不得超过1000字符

Response Fields

响应字段

FieldAPI NameDescription
Total MatchestotalNumber of matching violation records found
Violation ListdataArray of matched violating products
Violation ImagepdImgOssUrlImage URL of the matched violating product
Similarity ScorecosineSimilarity between the input image and the violation (0~1)
Product Title (EN)pdTitleEnglish title of the matched violating product
Product Title (CN)pdTitleCHNCensoredChinese title of the matched violating product
Detection IDdetectIdUnique identifier for this detection session
Token CostcostTokenNumber of tokens consumed by this request
字段API名称说明
匹配总数total找到的匹配违规记录数量
违规列表data匹配到的违规商品数组
违规商品图片pdImgOssUrl匹配到的违规商品图片URL
相似度分数cosine输入图片与违规商品的相似度(0~1)
商品标题(英文)pdTitle匹配到的违规商品英文标题
商品标题(中文)pdTitleCHNCensored匹配到的违规商品中文标题
检测IDdetectId本次检测会话的唯一标识
Token消耗costToken本次请求消耗的Token数量

Local Image Upload

本地图片上传

This tool requires a publicly accessible image URL. If the user provides a local image file path (e.g.,
C:\Users\...\photo.png
,
/home/.../image.jpg
), you must upload it first to obtain a public URL.
Run the upload script:
bash
python scripts/upload_image.py /path/to/local/image.png
The script will return a public URL (valid for 24 hours) that can be used as the image URL parameter.
本工具需要可公开访问的图片URL。如果用户提供本地图片文件路径(例如
C:\Users\...\photo.png
/home/.../image.jpg
),您必须先上传图片以获取公开URL。
运行上传脚本:
bash
python scripts/upload_image.py /path/to/local/image.png
该脚本将返回一个公开URL(有效期24小时),可作为图片URL参数使用。

Usage Examples

使用示例

1. Basic compliance check for a single product image
Check this product image for policy compliance: https://example.com/images/product-123.jpg
2. Batch checking multiple product images
Please scan these product images for potential policy violations:
- https://example.com/images/item-a.jpg
- https://example.com/images/item-b.jpg
3. Pre-listing compliance screening
Before I list this product, can you check if the image triggers any policy flags?
Image: https://example.com/new-product.png
1. 单张产品图片基础合规检测
检查这张产品图片的政策合规性:https://example.com/images/product-123.jpg
2. 多张产品图片批量检测
请扫描这些产品图片,排查潜在政策违规问题:
- https://example.com/images/item-a.jpg
- https://example.com/images/item-b.jpg
3. 上架前合规筛查
在我上架这款产品前,能否检查该图片是否触发任何政策标记?
图片:https://example.com/new-product.png

Display Rules

展示规则

  1. Show results in a clear table: Present each matched violation with its image, similarity score, and product titles
  2. Highlight high-similarity matches: When the cosine score exceeds 0.8, clearly flag the result as a strong match that likely requires attention
  3. Include violation images: When results contain
    pdImgOssUrl
    , display the matched violation image so the user can visually compare
  4. Score interpretation: Always explain what the similarity score means -- higher values indicate closer resemblance to known violations
  5. Error handling: When a query fails, explain the issue and suggest checking whether the image URL is valid and publicly accessible
  6. No legal advice: Present detection results factually without providing legal conclusions; remind users to verify with platform policies
  1. 以清晰表格展示结果:列出每个匹配的违规商品,包含其图片、相似度分数及商品标题
  2. 高亮显示高相似度匹配结果:当cosine分数超过0.8时,明确标记该结果为高度匹配,需重点关注
  3. 展示违规商品图片:当结果包含
    pdImgOssUrl
    时,显示匹配到的违规商品图片,方便用户进行视觉对比
  4. 分数解释:务必说明相似度分数的含义——分数越高表示与已知违规商品的相似度越高
  5. 错误处理:当查询失败时,说明问题所在,并建议检查图片URL是否有效且可公开访问
  6. 不提供法律建议:仅客观呈现检测结果,不给出法律结论;提醒用户参照平台政策进行核实

Important Limitations

重要限制

  • Image-only detection: This tool works exclusively with image URLs; it does not analyze text descriptions or product metadata
  • URL accessibility: The image URL must be publicly reachable by the detection service
  • URL length cap: Image URLs must not exceed 1000 characters
  • Similarity-based: Results are based on visual similarity and do not constitute a definitive policy ruling
  • 仅支持图片检测:本工具仅处理图片URL,不分析商品文字描述或元数据
  • URL可访问性:图片URL必须能被检测服务公开访问
  • URL长度限制:图片URL长度不得超过1000字符
  • 基于相似度:结果基于视觉相似度得出,不构成最终政策判定

User Expression & Scenario Quick Reference

用户表述及场景速查

Applicable -- Image-based product policy compliance checks:
User SaysScenario
"Check if this product image has compliance risks"Single image compliance check
"Scan my product images for policy violations"Batch compliance screening
"Is this image flagged as a prohibited product"Specific violation inquiry
"Pre-screen my listing images for policy risks"Pre-listing compliance audit
"Find similar violations for this product image"Similarity-based violation search
"这个产品能安全上架吗"合规风险预检
"帮我检测一下这个图片是否违规"单图合规检测
Not applicable -- Needs beyond image-based policy compliance detection:
  • Text-based product compliance analysis
  • General product category classification
  • Intellectual property / trademark infringement
  • Patent or copyright detection (use other Ruiguan skills)
Feedback:
Auto-detect and report feedback via the Feedback API when any of the following apply:
  1. The functionality or purpose described in this skill does not match actual behavior
  2. The skill's results do not match the user's intent
  3. The user expresses dissatisfaction or praise about this skill
  4. Anything you believe could be improved
Call the feedback API as specified in
references/api.md
. Do not interrupt the user's flow.

For more high-quality, professional cross-border e-commerce skills, set LinkFox Skills.
适用场景——基于图片的产品政策合规检测:
用户表述场景
"Check if this product image has compliance risks"单图合规检测
"Scan my product images for policy violations"批量合规筛查
"Is this image flagged as a prohibited product"特定违规查询
"Pre-screen my listing images for policy risks"上架前合规审核
"Find similar violations for this product image"基于相似度的违规搜索
"这个产品能安全上架吗"合规风险预检
"帮我检测一下这个图片是否违规"单图合规检测
不适用场景——超出图片政策合规检测范围的需求:
  • 基于文字的产品合规分析
  • 通用商品分类
  • 知识产权/商标侵权检测
  • 专利或版权检测(使用其他Ruiguan技能)
反馈:
当出现以下任一情况时,自动检测并通过Feedback API提交反馈:
  1. 本技能描述的功能或用途与实际行为不符
  2. 技能结果与用户意图不符
  3. 用户对本技能表达不满或赞赏
  4. 任何您认为可以改进的内容
按照
references/api.md
中的说明调用反馈API,请勿打断用户流程。

如需更多高质量、专业的跨境电商技能,请访问LinkFox Skills