Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
public virtual bool Train( Mat trainData, Mat responses, Mat varIdx = null, Mat sampleIdx = null, CvSVMParams param = null )
Parameters
- trainData
- Type: OpenCvSharp.CPlusPlusMat
[Missing <param name="trainData"/> documentation for "M:OpenCvSharp.CPlusPlus.CvSVM.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvSVMParams)"]
- responses
- Type: OpenCvSharp.CPlusPlusMat
[Missing <param name="responses"/> documentation for "M:OpenCvSharp.CPlusPlus.CvSVM.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvSVMParams)"]
- varIdx (Optional)
- Type: OpenCvSharp.CPlusPlusMat
[Missing <param name="varIdx"/> documentation for "M:OpenCvSharp.CPlusPlus.CvSVM.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvSVMParams)"]
- sampleIdx (Optional)
- Type: OpenCvSharp.CPlusPlusMat
[Missing <param name="sampleIdx"/> documentation for "M:OpenCvSharp.CPlusPlus.CvSVM.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvSVMParams)"]
- param (Optional)
- Type: OpenCvSharp.CPlusPlusCvSVMParams
[Missing <param name="param"/> documentation for "M:OpenCvSharp.CPlusPlus.CvSVM.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvSVMParams)"]
Return Value
Type: Boolean[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.CvSVM.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvSVMParams)"]