MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ execute() [1/2]

void MayaFlux::Yantra::Vision::VisionMatrix::execute ( const std::shared_ptr< Core::VKImage > &  image)

Analyze image and keep it with its analysis until the next call.

analysis() and frame() return what this call produced. Extract from them through extractor(); mask() reads this call's labels through analyzer()->get_executor().

Definition at line 65 of file VisionMatrix.cpp.

66{
67 if (image)
68 count_call();
69 m_frame = image;
70 m_extraction.reset();
71 m_analysis = image ? analyzer()->analyze_vision(image) : Kinesis::Vision::VisionAnalysis {};
72}
IO::ImageData image
Definition Decoder.cpp:47
Kinesis::Vision::VisionAnalysis m_analysis
std::shared_ptr< Core::VKImage > m_extraction
std::shared_ptr< VisionAnalyzer > analyzer()
The matrix's "analyze" operation.
std::shared_ptr< Core::VKImage > m_frame

References analyzer(), count_call(), image, m_analysis, m_extraction, and m_frame.

Referenced by execute().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: