MiDaSOptions

Options & Configuration · AiDotNet.Video.Options

Configuration options for the MiDaS depth estimation model.

Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → VideoHyperparameterOptions → MiDaSOptions

Constructors

Constructor Summary
MiDaSOptions() Initializes a new instance of the MiDaSOptions class carrying this model’s shipped defaults.

Properties

Property Summary
MiDaSVariant Variant { get; set; } Gets or sets the variant.

Methods

Method Summary
void Validate() Throws if a value this model requires has been left unset or is not positive.