Class ClassificationModel

java.lang.Object
org.opencv.dnn.Model
org.opencv.dnn.ClassificationModel

public class ClassificationModel
extends Model
This class represents high-level API for classification models. ClassificationModel allows to set params for preprocessing input image. ClassificationModel creates net from file with trained weights and config, sets preprocessing input, runs forward pass and return top-1 prediction.