code of video text detect