Skip to content

feat(yolo-tracker): Add video_player_detection tool for v0.9.5#111

Merged
rogermt merged 1 commit intomainfrom
feature/v0.9.5-video-player-detection
Feb 23, 2026
Merged

feat(yolo-tracker): Add video_player_detection tool for v0.9.5#111
rogermt merged 1 commit intomainfrom
feature/v0.9.5-video-player-detection

Conversation

@rogermt
Copy link
Owner

@rogermt rogermt commented Feb 23, 2026

Summary

Add video-capable tool that returns JSON frame-level results using YOLO streaming inference.

Changes

  • Add video_player_detection tool to manifest.json with input_types: ["video"]
  • Implement _tool_video_player_detection() with streaming inference (stream=True)
  • Add contract tests for manifest schema (9 tests)
  • Add unit tests for tool implementation (7 tests)

Output Format

{
  "frames": [{"frame_index": N, "detections": {"xyxy": [...], "confidence": [...], "class_id": [...]}}],
  "summary": {"total_frames": N, "total_detections": M}
}

Testing

  • All 74 contract tests pass
  • Ruff linting passed
  • Pre-commit hooks passed

Related

Part of v0.9.5 release - enables video job support for plugins.

Add video-capable tool that returns JSON frame-level results using YOLO streaming inference.

- Add video_player_detection tool to manifest.json with input_types: ["video"]
- Implement _tool_video_player_detection() with streaming inference (stream=True)
- Add contract tests for manifest schema (9 tests)
- Add unit tests for tool implementation (7 tests)

Output format:
{
  "frames": [{"frame_index": N, "detections": {...}}],
  "summary": {"total_frames": N, "total_detections": M}
}
@rogermt rogermt added the enhancement New feature or request label Feb 23, 2026
@rogermt rogermt merged commit e188a72 into main Feb 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant