Object counting
Count occurrences of an object in an image using computer vision algorithms. Use this skill whenever the user asks to count objects, find matches, or identify items in a scene using a template image.From its SKILL.md
npx -y skills add cxcscmu/SkillLearnBench --skill object-countingAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
0.8 KB, 133 tokens by cl100k_base, as published. Nobody here has run it
Object Counting
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).
Usage
Use the provided python script from the original object_counter skill:
python3 ~/.agents/skills/object_counter/scripts/count_objects.py \
--tool count \
--input_image <image file> \
--object_image <object image file> \
--threshold 0.9 \
--dedup_min_dist 3
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.