motion triggered i guess. compute differences in succesive frames over a limit, aim, in that direction, shoot.
a better way: compute differences in succesive frames, approximate speed, aim in the direction of target + speed + direction, shoot.
i doubt a single avr can do all the processing.