crowddetector: Fix problem with empty rois

Change-Id: I90c84d80003b27c868b6ee9d15110090b04acfc3