AI algorithm for video enhancement