A Robot Arm Motion Generation Based on Learning of Objects Shape and Human Motion