The invention discloses a method for directional cross-border detection and mixing line detection in a video. The method includes the following steps of S1, inputting a monitoring video, S2, initializing the video, wherein the mixing line and an interesting region are set in the video, and the minimum filtering movement target area is selected according to the resolution ratio of the input video to be detected, S3, detecting the foreground, wherein movement targets are detected and tracked, and the movement target needing to be detected is filtered out, S4, carrying out mixing line detection or cross-border detection, wherein the cross-border detection comprises the two phenomena of intrusion detection and fleeing detection, S5, carrying out the S3 and the S4 repeatedly for every later new movement target. By means of the method for directional cross-border detection and mixing line detection in the video, the movement targets are filtered, targets which do not need to be detected such as birds and small animals are excluded, detection accuracy is improved, detections of leaving and the movement direction of the movement target can be achieved on the basis of mixing line detection and intrusion detection, detection is fully functional, and the method better meets actual application requirements.