Technology enforcement is one of the important ways for improving traffic safety. Because of the trend of fewer children, the number of police-officers won’t be enough. Therefore, the traffic violations will often occur, and increase the car accidents. Most car accidents are caused by traffic violations, in severe cases, it will cause death. Based on above description, the study target of this paper is to develop a technology enforcement for this issue. We use YOLO(You Only Look Once) object detection technology for technology enforcement. When the detected vehicle meets the violation conditions, the number of violations will be recorded and counted for a period of time. In the future, it will be combined with license plate recognition to complete the violations of banning.