This paper proposes a framework to assess the influence of Offshore Wind Farms (OWFs) on maritime traffic flow based on raw Automatic Identification System (AIS) data collected before and after the installation of the offshore wind turbines. The framework includes modules for data acquisition, data filtering and statistical analysis. The statistical analysis characterises the influence of an OWF on maritime traffic in terms of minimum passing distances and lateral distribution of the ship trajectories near the OWF. The framework is applied to a specific route for which AIS data is available before and after an OWF installation. The impacts of the OWF on marine traffic are diverse and depend on the ship type categories. This paper quantitatively characterises an OWF's influence on a specific route that is probabilistically modelled, which is important for further studies on OWF site selection and maritime traffic risk assessment and management.