Weak-lensing study in VOICE survey - I. Shear measurement