APB embeds intelligent behavior optimization into a maritime smart camera with a pan-tilt mount to create an autonomous camera system that can detect, classify, and track ships, as well as determine if inspection is necessary to ensure safe navigation.