Porosity is one of the most critical defects in additive manufacturing (AM). Although porosity formation significantly influenced by melt pool depth (MPD), MPD estimation and control during AM difficult to realize. In this study, a real-time system was developed reduce metal-directed energy deposition (DED). First, width, length, height, profile slope were measured using an infrared camera line...