Accurate quantification of cracks is crucial in evaluating building conditions. However, current non-contact measurement technologies encounter challenges in measuring crack widths, particularly in hard-to-reach areas. This paper presents a novel portable parallel laser line-camera system that is specifically designed for automatic and precise measurement of crack widths from different angles and over long distances. The system is composed of a digital camera, parallel line laser diodes, and rigid positioning arms, forming a triangulation-based configuration. A newly developed image processing algorithm is at the core of this innovation, allowing for the extraction of accurate pixel scale information from laser strips, thus overcoming the challenge of pixel distortion in non-perpendicular photography. The U-Net algorithm is utilized to efficiently identify crack regions, followed by the Canny algorithm for meticulous extraction of crack features. By utilizing the pixel scale data obtained from the laser strips, the actual width of cracks can be accurately determined. The system's efficacy and precision have been validated through laboratory and field tests. This automatic, precise, and portable solution significantly advances the field of on-site crack measurement, offering substantial potential for practical applications in building condition assessments.