Camera systems with artificial intelligence