Skip to main content

run_gpu_vision_chain

Function run_gpu_vision_chain 

Source
pub fn run_gpu_vision_chain(
    runtime: &WgpuRuntime,
    source: &GpuImage,
    options: GpuVisionChainOptions,
) -> SpatialResult<GpuAiTensor>
Expand description

Runs resize → gray → blur → Sobel → morphology → planar AI packing.

The caller owns the uploaded source. Every intermediate is recycled after its consumer has been submitted, and no host readback occurs.