A method for correcting an installation error of a wind vane of a wind turbine, comprising: obtaining an image, of blades of a wind turbine and an outer rotor of a generator; obtaining a contour of the blades of the wind turbine and a contour of the outer rotor of the generator, from the image of the blades of the wind turbine and the outer rotor of the generator; calculating a center line of the wind turbine, according to the contour of the outer rotor of the generator and a contour of two blades in the blades of the wind turbine; obtaining an intersection point between the center line of the wind turbine and the contour of the outer rotor of the generator, as a first intersection point; obtaining an orienting plane of the wind vane; determining whether the wind vane is aligned with the center line of the wind turbine, according to the center line of the wind turbine and the orienting plane of the wind vane; and in a case that the wind vane is not aligned with the center line of the wind turbine: calculating a deviation angle between the wind vane and the center line of the wind turbine, based on the orienting plane of the wind vane and the first intersection point, and correcting a direction of the wind vane, according to the deviation angle between the wind vane and the center line of the wind turbine; wherein calculating the center line of the wind turbine comprises: extending edge lines in the contour of the two blades of the wind turbine, to obtain an intersection point between the extended edge lines; and connecting the intersection point between the extended edge lines, and a center point of the contour of the outer rotor of the generator, to obtain the center line of the wind turbine. obtaining an image, of blades of a wind turbine and an outer rotor of a generator; obtaining a contour of the blades of the wind turbine and a contour of the outer rotor of the generator, from the image of the blades of the wind turbine and the outer rotor of the generator; calculating a center line of the wind turbine, according to the contour of the outer rotor of the generator and a contour of two blades in the blades of the wind turbine; obtaining an intersection point between the center line of the wind turbine and the contour of the outer rotor of the generator, as a first intersection point; obtaining an orienting plane of the wind vane; determining whether the wind vane is aligned with the center line of the wind turbine, according to the center line of the wind turbine and the orienting plane of the wind vane; and in a case that the wind vane is not aligned with the center line of the wind turbine: calculating a deviation angle between the wind vane and the center line of the wind turbine, based on the orienting plane of the wind vane and the first intersection point, and correcting a direction of the wind vane, according to the deviation angle between the wind vane and the center line of the wind turbine; wherein calculating the center line of the wind turbine comprises: extending edge lines in the contour of the two blades of the wind turbine, to obtain an intersection point between the extended edge lines; and connecting the intersection point between the extended edge lines, and a center point of the contour of the outer rotor of the generator, to obtain the center line of the wind turbine. calculating a deviation angle between the wind vane and the center line of the wind turbine, based on the orienting plane of the wind vane and the first intersection point, and correcting a direction of the wind vane, according to the deviation angle between the wind vane and the center line of the wind turbine; wherein calculating the center line of the wind turbine comprises: extending edge lines in the contour of the two blades of the wind turbine, to obtain an intersection point between the extended edge lines; and connecting the intersection point between the extended edge lines, and a center point of the contour of the outer rotor of the generator, to obtain the center line of the wind turbine. extending edge lines in the contour of the two blades of the wind turbine, to obtain an intersection point between the extended edge lines; and connecting the intersection point between the extended edge lines, and a center point of the contour of the outer rotor of the generator, to obtain the center line of the wind turbine.