With the aim of measuring the thickness of loose rock zone around roadway by use of digital panoramic borehole camera technique,a crack detection system of loose rock zone around roadway was developed with program language Visual Basic 6.0 and digital image processing technique,and a digital panoramic borehole camera system for the thickness measurement of loose rock zone around roadway was established.This system has been applied successfully in industrial field.