Terahertz radiation has emerged as a prominent solution for imaging and detection beyond visible and infrared. Active terahertz imaging is a widely used technology in this context especially for security applications and screening. Such systems are built around an illuminating source, a detecting module and a beam shaping system to match the detectors geometry. The overall system performance is largely dependent on an optimized choice of these modules. In this work, an active sub-terahertz scanning system working at 100 GHz frequency is proposed to detect concealed objects in parcels and mail. The system is optimized based on an adapted design of the beam shaper and a preprocessing correction of the images to ensure uniformity of response and cleanness. The proposed system demonstrated through experimentation improved resolution with a uniform response along its detection area.