analyze_led
Sample LED and indicator frames to detect on, blinking, or off states, plus blink frequency in Hz, duty cycle, and perceived color from camera video.
Instructions
Sample high-speed frames of an LED or indicator to detect state (solid_on, blinking, off), blink frequency in Hz, duty cycle, and exact perceived color (red, green, blue, amber, etc.).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | Sampling frame rate in FPS (default 25.0, range 10 to 60) | |
| camera | No | Camera ID (default: primary camera) | |
| region | No | Optional named region covering the LED | |
| duration_s | No | Sampling window in seconds (default 1.5, range 0.5 to 5.0) |