Maintaining high-quality welded connections is crucial in many industries. One of the challenges is assessing the mechanical properties of a joint during its production phase. Currently, in industrial practice, this occurs through NDT (non-destructive testing) conducted after the production process. This article proposes the use of a virtual sensor, which, based on temperature distributions observed on the joint surface during the welding process, allows for the determination of hardness distribution across the cross-section of a joint. Welding trials were conducted with temperature recording, hardness measurements were taken, and then, neural networks with different hyperparameters were tested and evaluated. As a basis for developing a virtual sensor, LSTM networks were utilized, which can be applied to time series prediction, as in the analyzed case of hardness value sequences across the cross-section of a welded joint. Through the analysis of the obtained results, it was determined that the developed virtual sensor can be applied to predict global temperature changes in the weld area, in terms of both its value and geometry changes, with the mean average error being less than 20 HV (mean for model ~35 HV). However, in its current form, predicting local hardness disturbances resulting from process instabilities and defects is not feasible.