MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Kinesis::Vision::VisionResult Struct Reference

Result of executing a VisionSequence on one frame. More...

#include <VisionExecutor.hpp>

+ Collaboration diagram for MayaFlux::Kinesis::Vision::VisionResult:

Public Member Functions

std::span< const float > as_span () const noexcept
 Zero-copy float span into pixel_image storage.
 

Public Attributes

std::shared_ptr< Core::VKImagedebug_contours
 
std::shared_ptr< Core::VKImagedebug_labels
 
uint32_t h { 0 }
 
Kakshya::DataVariant pixel_image { std::vector<float> {} }
 
std::vector< SnapshotEntrysnapshots
 
StructuredOutput structured { std::monostate {} }
 
uint32_t w { 0 }
 

Detailed Description

Result of executing a VisionSequence on one frame.

pixel_image holds the final normalised float pixel buffer as a DataVariant (active alternative: vector<float>). Empty when the terminal step produces only structured output.

Callers access pixel data via: EigenAccess(result.pixel_image).view<Eigen::VectorXf>() – zero-copy Eigen map std::get<std::vector<float>>(result.pixel_image) – direct vector access

w and h are the dimensions of pixel_image. Both are 0 when pixel_image is empty.

Definition at line 58 of file VisionExecutor.hpp.


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