imgcapt with motion func add