Patent attributes
An optical image stabilizer includes a magnetic element, a moving platform, at least one first sensor and at least one second sensor. The magnetic element is fixed on a main body. The moving platform is movably disposed on the main body. The first and the second sensors are fixed on the moving platform. When the moving platform moves relatively to the main body, the first sensor senses a variation of a magnetic force applied to the first sensor by the magnetic element for calculating a displacement of the moving platform along a first direction, and the second sensor senses a variation of a magnetic force applied to the second sensor by the magnetic element for calculating a displacement of the moving platform along a second direction. The first direction is perpendicular to the second direction. In addition, an image capturing device having the optical image stabilizer is also provided.