Table of Contents

Method FinalizeNet

Namespace
OpenCvSharp.Dnn
Assembly
OpenCvSharp.dll

FinalizeNet()

Finalizes the network (new DNN engine, OpenCV 5). The first forward() does this automatically; calling it early pays the one-time setup cost at a predictable point and surfaces configuration errors before inference.

public void FinalizeNet()