|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| Kinesis::Vision::VisionAnalysis MayaFlux::Yantra::VisionAnalyzer::analyze_vision | ( | const std::shared_ptr< Kakshya::SignalSourceContainer > & | source, |
| size_t | index = 0 |
||
| ) |
Real entry point: resolve the configured query against source, run it, run the GPU analysis.
Same shape as analyze_energy(data)/analyze_statistics(data): only the data is a call argument. To change what a later call does, call set_query()/set_context() first, the same way a caller changes EnergyAnalyzer's behaviour with set_method() before the next analyze_energy(), not by passing it alongside data.
| source | Image-bearing container (VideoStreamContainer, WindowContainer, or TextureContainer; the same set VisionProcessor accepts). Anything else yields an empty VisionAnalysis. |
| index | Layer/frame index, used only for a TextureContainer's to_image(index); ignored for the other two, which have no multi-index concept and always give their current frame. |
Definition at line 425 of file VisionAnalyzer.cpp.
References analyze_resolved(), image, index, and resolve_image().
Referenced by run_operation().
Here is the call graph for this function:
Here is the caller graph for this function: