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

How a live workflow run is paced and which frames it delivers. More...

#include <VisionWorkflow.hpp>

+ Collaboration diagram for MayaFlux::Yantra::Vision::LiveConfig:

Public Attributes

std::shared_ptr< Buffers::TextureBuffer > apply_to
 
double interval_seconds {}
 

Detailed Description

How a live workflow run is paced and which frames it delivers.

With interval_seconds above zero the run takes a frame every interval on the graphics clock; at zero the work sets the pace.

With apply_to set, the source is still what gets analyzed, but each analysis is applied to apply_to's frame of the same moment: crops, samples, annotation and tone come from that buffer instead of the analyzed frame. The buffer is read live, frame by frame, not once; when the work sets the pace its frame is copied in the tick the analyzed frame is taken.

Definition at line 45 of file VisionWorkflow.hpp.


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