This study aims to develop a smart system for detecting internal defects in dielectric materials using capacitive sensing and 2D simulation through COMSOL. The system consists of a pair of electrodes placed above and below a composite sample. Defects such as air pockets or voids alter the material's relative permittivity, which directly affects the measured capacitance. A virtual 2D model was created featuring a rectangular sample with electrodes and an internal defect. Changes in capacitance due to this defect were calculated and visualized using Python as a heat map to locate defect areas. Several case studies were conducted with variations in defect size and position, and their effects on the electric field distribution and total capacitance were analyzed. The results demonstrate the effectiveness of the proposed approach in transforming electrical signals into visual data, paving the way for low-cost, intelligent non-destructive testing tools based on signal processing and smart imaging.