Identification of upper limb motion specifications via visual tracking for robot assisted exercising