In the object volume measurement experiment, measuring cup water measurement method is one of the commonly used methods.This article set the volume of a rectangular pyramid measurement as an example, combined with laser principles and the CCD sensor imaging technology, puts forward a kind of fast automatic measurement.The test system uses CCD sensing, using the principle of laser ranging and the disk integral method, and through the DSP main control circuit to achieve the target of the cloud point acquisition and coordinate calculation, to achieve the object volume measurement.