Method Classify
- Namespace
- OpenCvSharp.Dnn
- Assembly
- OpenCvSharp.dll
Classify(InputArray, out int, out float)
Given the @p input frame, create input blob, run net and return top-1 prediction.
public void Classify(InputArray frame, out int classId, out float conf)
Parameters
frameInputArrayThe input image.
classIdintTop-1 predicted class id.
conffloatTop-1 prediction confidence.