As the study of internal corrosion of pipeline need a large number of experiments as well as long time, so there is a need for new computational technique to expand the spectrum of the results and to save time. The present work represents a new non-destructive evaluation (NDE) technique for detecting the internal corrosion inside pipeline by evaluating the dielectric properties of steel pipe at room temperature by using electrical capacitance sensor (ECS), then predict the effect of pipeline environment temperature (${\theta}$) on the corrosion rates by designing an efficient artificial neural network (ANN) architecture. ECS consists of number of electrodes mounted on the outer surface of pipeline, the sensor shape, electrode configuration, and the number of electrodes that comprise three key elements of two dimensional capacitance sensors are illustrated. The variation in the dielectric signatures was employed to design electrical capacitance sensor (ECS) with high sensitivity to detect such defects. The rules of 24-electrode sensor parameters such as capacitance, capacitance change, and change rate of capacitance are discussed by ANSYS and MATLAB, which are combined to simulate sensor characteristic. A feed-forward neural network (FFNN) structure are applied, trained and tested to predict the finite element (FE) results of corrosion rates under room temperature, and then used the trained FFNN to predict corrosion rates at different temperature using MATLAB neural network toolbox. The FE results are in excellent agreement with an FFNN results, thus validating the accuracy and reliability of the proposed technique and leads to better understanding of the corrosion mechanism under different pipeline environmental temperature.