BlobCountingObjectsProcessingProcessFrame Method |
Namespace: Accord.Vision.Motion
Exception | Condition |
---|---|
InvalidImagePropertiesException | Motion frame is not 8 bpp image, but it must be so. |
UnsupportedImageFormatException | Video frame must be 8 bpp grayscale image or 24/32 bpp color image. |
Processes provided motion frame and counts number of separate objects, which size satisfies MinObjectsWidth and MinObjectsHeight properties. In the case if HighlightMotionRegions property is set to , the found object are also highlighted on the original video frame.