The detection of the pipe's damage is proposed in this paper. The area of the pipe is directly considered as the parameter of the undamaged detections to simulate damage in the pipe while corroding or others. The detection of the damage can be received by the numerical inversion based on quadratic optimization algorithm.