hows distinct melting points: white chocolate with MAG peaks at 29.53 °C, 32.46 °C and 37.08 °C, while dark chocolate with SE peaks at 29.79 °C and 31.78 °C. Texture analysis indicates that white chocolate with 2% SE is harder than with 2% MAG, correlating with their respective melting points. AI image recognition effectively identifies shape variations and defects, achieving recognition rates over 90% for ideal shapes and flagging incomplete extrusions and structural issues. These findings highlight 3D printing’s potential in chocolate manufacturing for precise customization and quality