# Video Analysis Metrics AI Agent Connect

> Generates quantitative metrics from surf video analysis.

## Overview
- **Category:** sports-analytics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_cNDy7wPmvo9nb6YMZHuUdAS81xYi22nu7VbAyUu7/ai-agent-connect
- **Tags:** surfing, video-analysis, biomechanics, sports-science, motion-tracking

## Description

This MCP server provides tools to extract precise performance data from surfing videos. By processing body position coordinates and timestamps, it calculates critical timing metrics using `get_timing_metrics`. It also measures body posture through `get_posture_angles`, accounting for camera perspective distortion. Users can quantify performance gaps by comparing actual posture to professional standards with `get_performance_deviation`, and obtain a complete overview of a maneuver using `get_maneuver_summary`.

## Tools

### get_posture_angles
Measures the angular orientation of the surfer's body segments

### get_timing_metrics
Calculates the duration of critical phases in a surfing maneuver

### get_maneuver_summary
Provides a high-level quantitative overview of a completed surfing sequence

### get_performance_deviation
Compares the surfer's actual posture against professional standards

## Prompt Examples

**Prompt:** 
```
Calculate the duration of the takeoff phase from these body positions: [{"timestamp": 100, "landmarks": {"head": [10, 20]}}, {"timestamp": 150, "landmarks": {"head": [12, 22]}}, {"timestamp": 200, "landmarks": {"head": [15, 25]}}].
```

**Response:** 
```
The takeoff phase lasted 100 seconds.
```

**Prompt:** 
```
What is the summary of the maneuver with these timing metrics and posture angles?
```

**Response:** 
```
The total maneuver duration was 12.5 seconds with an average posture accuracy of 88%.
```

**Prompt:** 
```
Check the posture angle for frame 45 with a camera correction of 1.1.
```

**Response:** 
```
The torso inclination angle is 42 degrees.
```

## Frequently Asked Questions

**How does the tool handle different camera angles?**
The `get_posture_angles` tool accepts a camera correction factor to adjust spatial measurements for perspective distortion.

**What kind of timing data can I get?**
You can use `get_timing_metrics` to calculate the duration of specific phases like the takeoff or the bottom turn.

**Can I compare my performance to professionals?**
Yes, `get_performance_deviation` compares your actual body angles against professional standards to show exactly where you can improve.
