The invention relates to the technical field of image processing, in particular to a method for measuring an average size of complicated particles based on Canny boundary detection. The method comprises the following steps of 1, inputting an image of moving particles; 2, performing Gaussian smoothing noise removal; 3, when the image size is greater than an image size threshold value, shrinking the image; 4, performing Canny boundary scanning, and converting the image into a binary image; 5, calculating the particle edge density of the image, and determining an average shape parameter of the particles and a background space parameter of the image; and 6, calculating the average size of the detected particles and the number of detected particles. through adoption of the method, the average size and the number of the particles in the image can be detected quickly and accurately; and the method is very suitable to statistics and measurement of a plurality of complicated particles at real time on line and can be used for pre-partitioning acomplicated particle image.