glmv-grounding

Extract normalized grounding coordinates and visualizations from images and videos.

458|40|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/zai-org/GLM-skills --skill glmv-grounding
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: glmv-grounding
Source: https://github.com/zai-org/GLM-skills/tree/main/skills/glmv-grounding
Command: npx skills add https://github.com/zai-org/GLM-skills --skill glmv-grounding

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, Pillow, opencv-python, numpy, matplotlib, decord, and includes scripts (resource) components.

What problem does it solve?

Extracts prompt-specified target locations from images and videos and converts model outputs into reliable, normalized coordinates and visual overlays so users can automatically localize, annotate, and inspect visual targets without manual pixel math.

Core Features & Use Cases

  • Parse GLM-V grounding outputs into standard formats (2D bounding boxes, 2D points, polygons, 3D boxes, and video tracking JSON) normalized to the 0–1000 coordinate range.
  • Visualize results on images and videos with configurable labeling, colors, and thickness, and reverse-normalize coordinates to pixel space for downstream use.
  • Support video object tracking extraction and per-second MOT visualization, with URL safety checks and environment-based API configuration for production workflows.
  • Use Case: Automatically find and label all instances of "people wearing red jackets" in a surveillance clip, return normalized coordinates per second, and produce an annotated video for review.

Quick Start

Run the grounding CLI with an image URL and a concise prompt to receive normalized 0-1000 coordinates and optional visualizations.

Frequently Asked Questions about glmv-grounding

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract bounding boxes and coordinates for specific objects in images?

To extract bounding boxes for specific objects in images, this Skill parses GLM-V grounding outputs into standard formats like 2D boxes, 2D points, and polygons normalized to a 0-1000 coordinate range. It provides parsing, validation, and Python-based visualization utilities for object detection extraction.

How do I track and visualize an object across multiple video frames?

To track and visualize an object across multiple video frames, this Skill supports video object tracking extraction and per-second MOT visualization. It parses video tracking JSON and generates annotated video outputs with configurable labeling, colors, and thickness for review.

Do I need a specific API key to run visual grounding tasks?

Yes, you need a ZHIPU_API_KEY to run visual grounding tasks. This Skill requires GLM-V API access via this environment-based configuration to process user-specified targets and return normalized coordinates.

Can I overlay bounding boxes and labels directly onto my images and videos?

Yes, you can overlay bounding boxes and labels directly onto images and videos. This Skill provides Python-based visualization utilities to draw results with configurable labeling, colors, and thickness, and reverse-normalizes coordinates to pixel space for downstream use.

What is the coordinate format returned by GLM-V for object detection?

The coordinate format returned by GLM-V for object detection is normalized to a 0-1000 range. This Skill parses these standard formats, including 2D boxes, 3D boxes, and polygons, and can reverse-normalize them to pixel space for downstream use.