Camera placement using particle swarm optimization in visual surveillance applications