read_class_gmm — Read a Gaussian Mixture Model from a file.
read_class_gmm reads a Gaussian Mixture Model (GMM) that has been stored with write_class_gmm. Since the training of an GMM can consume a relatively long time, the GMM is typically trained in an offline process and written to a file with write_class_gmm. In the online process the GMM is read with read_class_gmm and subsequently used for evaluation with evaluate_class_gmm or for classification with classify_class_gmm. The default HALCON file extension for the GMM classifier is 'ggc'.
File extension: .ggc
If the parameters are valid, the operator read_class_gmm returns the value 2 (H_MSG_TRUE). If necessary an exception is raised.
classify_class_gmm, evaluate_class_gmm, create_class_lut_gmm