The invention discloses a method for beautifying composition of an image based on main body adjustment. The method for beautifying the composition of the image based on main body adjustment comprises the following steps that firstly, main body area detection is conducted on the image, so that a main body detection image is obtained; secondly, morphologic processing and binarization are conducted on the main body detection image, so that a main body mask binary image is obtained; thirdly, a main body is removed from the image through the main body mask binary image, zooming is conducted on the main body according to the optimal main body ratio rule, and the size of the main body is adjusted; fourthly, a blank area, generated after the main body is removed, of the image is filled in through the image restoration algorithm based on a sample, so that a background image is obtained; fifthly, according to the rule of thirds in the image composition aesthetics, the zoomed main body is moved to the background image, so that the beautified image is obtained. The invention further discloses a system for beautifying the composition of the image based on main body adjustment. The method and system for beautifying the composition of the image based on main body adjustment achieve automatic beautification of the composition of the image and have the advantages of being high in operating speed, strong in feasibility and good in automatic beautification effect.