Near-wall modelling is one of the most challenging aspects of CFD computations. . A compromise between accuracy and speed to solution is usually obtained through the use of wall functions, especially in RANS computations. This approach can be generally considered as robust, however the derivation of wall functions from attached flow boundary layers can mislead to non-physical results in presence of specific flow topologies, e.g. recirculation, or whenever a detailed boundary layer representation is required (e.g. aeroacoustics studies). In this work, a preliminary attempt to create an alternative data-driven wall function is performed, exploiting artificial neural networks (ANNs). The learner that is derived from the multi-layer perceptron ANN, is here used to obtain two-dimensional, turbulent production and dissipation values near the walls. Training examples of the dataset have been initially collected either from LES simulations of significant 2D test cases or have been found in open databases. Assessments on the morphology and the ANN training can be found in the paper. The data-driven wall function is here applied to k-epsilon simulations of a 2D periodic hill with different computational grids and to a modified compressor cascade NACA aerofoil with sinusoidal leading edge. A comparison between ANN enhanced simulations, available data and standard modelization is here performed and reported.