Efficient video perception through AI