Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.nomadicml.com/llms.txt

Use this file to discover all available pages before exploring further.

Specialized motion and behavior detection powered by curated agent pipelines:
Agent examples
# General agent (edge-case detection)
client.analyze(
    "abc123",
    analysis_type=AnalysisType.GENERAL_AGENT,
)

# Lane change specialist
client.analyze(
    "abc123",
    analysis_type=AnalysisType.LANE_CHANGE,
)

# Batch agent run
client.analyze(
    ["abc123", "def456"],
    analysis_type=AnalysisType.LANE_CHANGE
)

# Batch agent run using a folder
client.analyze(
    folder="san_francisco_midday",
    analysis_type=AnalysisType.LANE_CHANGE
)
  • AnalysisType.GENERAL_AGENT: zero-shot edge-case hunting (General Edge Case)
  • AnalysisType.LANE_CHANGE: lane-change manoeuvre detection
  • AnalysisType.TURN: left/right turn behaviour
  • AnalysisType.RELATIVE_MOTION: relative motion between vehicles
  • AnalysisType.DRIVING_VIOLATIONS: speeding, stop, red-light, and related violations
Required Parameters:
ParameterTypeDescription
ids or folderstr | Sequence[str]Video ID(s) or folder name (use one, not both)
analysis_typeAnalysisTypeOne of AnalysisType.GENERAL_AGENT, AnalysisType.LANE_CHANGE, AnalysisType.TURN, AnalysisType.RELATIVE_MOTION, AnalysisType.DRIVING_VIOLATIONS
Optional Parameters:
ParameterTypeDefaultDescription
model_idstr"Nomadic-VL-XLarge"AI model to use
timeoutint2400Analysis timeout in seconds
wait_for_completionboolTrueWait for analysis to complete
concept_idsList[str]NoneConcept IDs for specialized detection
return_subsetboolFalseReturn subset of results
Returns: Dict with video_id, analysis_id, mode, status, and events.