MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Yantra::VisionAnalyzerConfig Struct Reference

Settings of VisionAnalyzer, stored whole in the operation's facets. More...

#include <VisionAnalyzer.hpp>

Inheritance diagram for MayaFlux::Yantra::VisionAnalyzerConfig:
Collaboration diagram for MayaFlux::Yantra::VisionAnalyzerConfig:

Public Member Functions

Kinesis::Vision::VisionQuery effective_query () const
 query with its intents taken from method.
Public Member Functions inherited from MayaFlux::Yantra::OperationConfig
template<typename Op>
void apply_to (Op &operation) const
 Apply retained concrete settings to an operation through its parent contract.
template<typename T>
const T * get () const
 The struct of this type, or nullptr when absent.
 OperationConfig ()=default
template<typename Config>
requires (!std::same_as<std::remove_cvref_t<Config>, OperationConfig> && std::derived_from<std::remove_cvref_t<Config>, OperationConfig>)
 OperationConfig (Config &&config)
 Retain a concrete config whole when placed in a parent-config collection.
 OperationConfig (const OperationConfig &)=default
 OperationConfig (OperationConfig &&) noexcept=default
OperationConfig & operator= (const OperationConfig &)=default
OperationConfig & operator= (OperationConfig &&) noexcept=default
template<typename T>
void set (T value)
 Stores a struct under its type identity.

Public Attributes

Kinesis::Vision::VisionAnalysisContext context
 Filtering applied to the subject tracks and keypoints.
size_t frame_index { 0 }
 Layer of a texture container the operation path analyzes.
Kinesis::Vision::VisionIntent method { Kinesis::Vision::VisionIntent::NONE }
 Intents to satisfy.
Kinesis::Vision::VisionQuery query
 Per-intent parameters.
Public Attributes inherited from MayaFlux::Yantra::AnalyzerConfig
bool classification_enabled { false }
 Whether to classify energy or value levels.
AnalysisGranularity granularity { AnalysisGranularity::RAW_VALUES }
 Level at which the analyzer processes input.
uint32_t hop_size { 128 }
 Distance between successive windows in samples.
uint32_t window_size { 256 }
 Analysis window length in samples.

Detailed Description

Settings of VisionAnalyzer, stored whole in the operation's facets.

method is the set of VisionIntents to satisfy and is what a grammar selects by. It overrides query.intents; the rest of query holds each intent's parameters. Intents without a backing VisionOp (Classify, EstimateDepth, DetectAnomaly, Register) resolve to nothing and add nothing to the analysis.

Definition at line 42 of file VisionAnalyzer.hpp.


The documentation for this struct was generated from the following file: