In this paper, an innovative way of calculating the Gurson–Tvergaard–Needleman parameter has been developed for AA 6063. AA 6063 is an aluminum alloy comprising the alloying ingredients magnesium and silicon. The Aluminum Association maintains the standard that governs its composition. It has strong mechanical properties and may be heat treated and welded. Image processing technique has been used to calculate the damage constant for the AA 6063. The image of the sample has been taken under a microscope of undeformed and fractured material. Then the images are analyzed using the Open CV tool in a python open-source environment. The initial and final void fraction of the sheet has been calculated. Damage models, particularly the Gurson–Tvergaard–Needleman (GTN) model, are widely used in numerical simulation of material deformations. Each damage model has some constants which must be identified for each material. The direct identification methods are costly and time-consuming. A combination of experimental, numerical simulation and optimization have been used to determine the constants in the current work. Numerical simulation of the dynamic test was performed utilizing the constants obtained from quasi-static experiments. The results showed a high precision in predicting the specimen's profile in the dynamic testing.