Adding security with a smart camera