Panoramic Smart Camera for Fire Detection and Alarm