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

◆ create_vision_workflow()

MAYAFLUX_API std::shared_ptr< Yantra::Vision::VisionWorkflow > MayaFlux::create_vision_workflow ( )

A vision workflow running on the engine's managers.

Its live runs stop when the returned workflow is destroyed. Include WorkflowIncludes.hpp to call it.

auto edges = vision->process_to_buffer({
.source = camera,
.query = { .intents = VisionIntent::DetectEdges },
.extract = VisionExtractMode::Edges,
.render = { .target_window = window },
});
std::weak_ptr< Core::Window > window
Definition Picker.cpp:23
std::shared_ptr< Yantra::Vision::VisionWorkflow > create_vision_workflow()
A vision workflow running on the engine's managers.
Definition Rigs.cpp:262

Definition at line 262 of file Rigs.cpp.

263{
264 return std::make_shared<Yantra::Vision::VisionWorkflow>(
266}
std::shared_ptr< Vruta::EventManager > get_event_manager()
Gets the event manager from the default engine.
Definition Chronie.cpp:27
std::shared_ptr< Buffers::BufferManager > get_buffer_manager()
Gets the buffer manager from the default engine.
Definition Graph.cpp:148
std::shared_ptr< IO::IOManager > get_io_manager()
Retrieves the global IOManager instance for file loading and buffer management.
Definition Depot.cpp:575
std::shared_ptr< Vruta::TaskScheduler > get_scheduler()
Gets the task scheduler from the default engine.
Definition Chronie.cpp:22

References get_buffer_manager(), get_event_manager(), get_io_manager(), and get_scheduler().

+ Here is the call graph for this function: