multipleObjects property
Indicates whether all detected objects in the image or frame should be returned by the detector. If set to false, the detector returns only the most prominent object detected. The default value is false
Implementation
final bool multipleObjects;