Egomotion dynamic masks

From XuShuwenn/RedAct · View interactive version

Egomotion dynamic masks is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Estimate camera egomotion and detect dynamic objects from sampled video frames, then export motion labels and CSR-encoded masks with validation.

How to use this skill

Skill file

Egomotion and Dynamic-Object Masks

This skill provides a reusable workflow to analyze camera motion (egomotion) and detect dynamic objects from a video at a specified sampling rate. It also defines robust output formats and validation checks for a motion-label JSON and a CSR-encoded mask archive.

When to Use

Activate this skill when asked to:

Core Workflow

1) Inspect video metadata and sampling

2) Egomotion estimation (pairwise between consecutive sampled frames)

3) Motion label classification per interval

4) Temporal smoothing and interval merging

5) Dynamic object mask generation (per sampled frame)

6) CSR encoding of binary masks

7) Write outputs

Verification

Perform these checks before finalizing:

Common Pitfalls

Success Criteria

Optional Script Usage

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.