Implemented a smart camera