using OpenCVForUnity.CoreModule; using OpenCVForUnity.UtilsModule; using System; using System.Collections.Generic; using System.Runtime.InteropServices; namespace OpenCVForUnity.MlModule { // C++: class Ml public class Ml { // C++: enum cv.ml.ErrorTypes public const int TEST_ERROR = 0; public const int TRAIN_ERROR = 1; // C++: enum cv.ml.SampleTypes public const int ROW_SAMPLE = 0; public const int COL_SAMPLE = 1; // C++: enum cv.ml.VariableTypes public const int VAR_NUMERICAL = 0; public const int VAR_ORDERED = 0; public const int VAR_CATEGORICAL = 1; } }