Constructor BackgroundDetection
- Namespace
- LMKit.Segmentation
- Assembly
- LM-Kit.NET.dll
BackgroundDetection(LM)
Initializes a new instance of the BackgroundDetection class.
public BackgroundDetection(LM model)
Parameters
modelLMThe model used for image segmentation. Must support background removal.
Exceptions
- ArgumentNullException
Thrown if
modelis null.- InvalidModelException
Thrown if the specified model does not support image segmentation.