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
model
LMThe model used for image segmentation. Must support background removal.
Exceptions
- ArgumentNullException
Thrown if
model
is null.- InvalidModelException
Thrown if the specified model does not support image segmentation.