Browse docsmodels.path
On this page
API method

models.path

Returns the path from a source model produced by models.set, or looks up a legacy two-argument model name (default name: primary).

Syntax

Atlas Script
models.path(model_or_name?)

Parameters

model_or_name Optional
Source model returned by models.set, or a legacy model name accepted by models.path.

Return value

Returns the path from a source model produced by models.set, or looks up a legacy two-argument model name (default name: primary).

Remarks

Returns the path from a source model produced by models.set, or looks up a legacy two-argument model name (default name: primary). Passing the configured live detector returned by vision.model generally yields an empty string; keep the source model when its path is needed.

Examples

Usage pattern
// Replace model_or_name with values described above.
models.path(model_or_name);
Reference details are generated from the Atlas Script schema in this documentation source snapshot. Confirm release-specific behavior in the Atlas for Windows build you use.