The invention provides a
welding numerical
simulation heat source optimization efficient calculation method based on
computer vision, and belongs to the technical field of
welding numerical
simulation heat source models. S2, establishing a simplified finite
element model, and loading heat
source model simulation; s3, the maximum section of the
molten pool is intercepted and treated; s4, a
molten pool area and a boundary are extracted; s5, the
fusion width and the fusion depth of the simulated weld joint and the actual weld joint are obtained, whether convergence is met or an iteration upper limit is reached or not is judged, and if not, an improved
genetic algorithm is adopted to optimize heat source optimization parameters and iteration continues; and S6, after iteration is stopped, whether multi-layer and multi-pass
welding exists or not is judged, and whether optimization continues or not is determined. According to the method, the
molten pool image in the optimization process is provided in real time through multi-
software cooperative calculation, unified optimization of multi-layer and multi-pass welding is achieved, meanwhile, a simplified geometric technology and an improved
genetic algorithm are adopted, a weld joint
activation method is designated as a field variable association method, calculation time is shortened, and efficiency is improved.