1. In a camera system, a method of detecting objects in a maritime video stream comprising the steps of: acquiring with a video camera, a maritime video stream; providing said maritime video stream to a central processing unit that is integrated with said video camera, said central processing unit running a software application which is operative for receiving said maritime video stream, detecting a horizon within said maritime video stream to distinguish a water region from a sky region; modeling the water region and the sky region within the maritime video, wherein modeling of the sky region and the water region uses two separate regressions, and detecting objects that are not water and not sky within the maritime video stream.