基于dlib的抽烟检测

detector = dlib.get_frontal_face_detector()
    predictor = dlib.shape_predictor("./shape_predictor_68_face_landmarks.dat")

    
    cap = cv2.VideoCapture("smoke.avi")
    ret, image = cap.read()
    idxx

你可能感兴趣的:(opencv)