Optical image stabilization or anti-shake works by moving the image to counteract the effects of handheld camera shake—some systems use a moving group of elements in the lens, others move the sensor itself, and some also set a higher ISO when motion is detected so the camera will select a higher shutter speed.
Read more