A shooting method, performed by a terminal, wherein the method comprises: receiving a first input performed by a user for selecting M face images; in response to the first input, controlling a rotatable target camera to rotate and collect an image; performing facial recognition in a rotation process of the target camera; and performing a plurality of shooting operations and outputting at least one target image that comprises M target persons, wherein each target person corresponds to one face image, and M is a positive integer greater than 1, wherein the receiving a first input performed by a user for selecting M face images comprises receiving I inputs performed by the user for the M face images, wherein at least one i th input is used to determine j face images, I is a positive integer, i is a positive integer not greater than I, and j is a positive integer greater than 1 and not greater than M, wherein the performing facial recognition in a rotation process of the target camera comprises: performing I rotation processes and in the ith rotation process of the target camera, performing, based on each face in the j face images, facial recognition on the image collected by the camera; and the performing at least one shooting operation and outputting at least one target image that comprises M target persons comprises: shooting one image once one target person matching one of the j face images is recognized, to obtain j images; and synthesizing the j images and outputting an ith target image that comprises j target persons. receiving a first input performed by a user for selecting M face images; in response to the first input, controlling a rotatable target camera to rotate and collect an image; performing facial recognition in a rotation process of the target camera; and performing a plurality of shooting operations and outputting at least one target image that comprises M target persons, wherein each target person corresponds to one face image, and M is a positive integer greater than 1, wherein the receiving a first input performed by a user for selecting M face images comprises receiving I inputs performed by the user for the M face images, wherein at least one i th input is used to determine j face images, I is a positive integer, i is a positive integer not greater than I, and j is a positive integer greater than 1 and not greater than M, wherein the performing facial recognition in a rotation process of the target camera comprises: performing I rotation processes and in the ith rotation process of the target camera, performing, based on each face in the j face images, facial recognition on the image collected by the camera; and the performing at least one shooting operation and outputting at least one target image that comprises M target persons comprises: shooting one image once one target person matching one of the j face images is recognized, to obtain j images; and synthesizing the j images and outputting an ith target image that comprises j target persons. performing I rotation processes and in the ith rotation process of the target camera, performing, based on each face in the j face images, facial recognition on the image collected by the camera; and the performing at least one shooting operation and outputting at least one target image that comprises M target persons comprises: shooting one image once one target person matching one of the j face images is recognized, to obtain j images; and synthesizing the j images and outputting an ith target image that comprises j target persons. shooting one image once one target person matching one of the j face images is recognized, to obtain j images; and synthesizing the j images and outputting an ith target image that comprises j target persons.