Fix distance based detection for cameras. Rebalance