oa::FnImage::decodeFile
Stateless still-image codec boundaries. Decode uploads one normalized Float32 NCHW image through the active engine. Encode and saveFile are explicit synchronous host boundaries which complete and read back their semantic image input.
Function Documentation
Stateless still-image codec boundaries. Decode uploads one normalized Float32 NCHW image through the active engine. Encode and saveFile are explicit synchronous host boundaries which complete and read back their semantic image input.
Parameters
inPathconst oa::Path &—
inFormatImageFormatDefault: ImageFormat::Rgb
Returns
oa::Result<Image>The declared return value.