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
std::shared_ptr< Yantra::Vision::VisionWorkflow > create_vision_workflow()
A vision workflow running on the engine's managers.
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.
std::shared_ptr< Buffers::BufferManager > get_buffer_manager()
Gets the buffer manager from the default engine.
std::shared_ptr< IO::IOManager > get_io_manager()
Retrieves the global IOManager instance for file loading and buffer management.
std::shared_ptr< Vruta::TaskScheduler > get_scheduler()
Gets the task scheduler from the default engine.
References get_buffer_manager(), get_event_manager(), get_io_manager(), and get_scheduler().