AGENT SKILL

object-counter

Count occurrences of an object in the image using computer vision algorithm.

License 许可
Apache-2.0
最近更新
2026-11-14
Stars
★ 0
Forks
1

01 前言 Front Matter

name
object-counter
description
Count occurrences of an object in the image using computer vision algorithm.

02 资源文件 1

03 SKILL.md 正文

Count number of objects in image

For obtaining high fidelity object counting results, it's recommended to set a higher threshold, such as 0.9, also we need to do Non-Maximum Suppression using --dedup_min_dist flag (a good default value is 3).

python3 scripts/count_objects.py \
    --tool count \
    --input_image <image file> \
    --object_image <object image file> \
    --threshold 0.9 \
    --dedup_min_dist 3

04 同仓库更多 Skills