diff --git a/demo/mask_detection/mask_detection.py b/demo/mask_detection/mask_detection.py index 7ef6767cb5b62b69f1e962362d30c0a7a5eec895..3929def96469467e240cdb40c48d3ede079617d2 100644 --- a/demo/mask_detection/mask_detection.py +++ b/demo/mask_detection/mask_detection.py @@ -32,7 +32,7 @@ name = "./result/1-mask_detection.mp4" width = 1280 height = 720 fps = 30 -fourcc = cv2.VideoWriter_fourcc(*'mp4v') +fourcc = cv2.VideoWriter_fourcc(*'vp90') writer = cv2.VideoWriter(name, fourcc, fps, (width, height)) maskIndex = 0 diff --git a/demo/mask_detection/web/index.php b/demo/mask_detection/web/index.php index bd79f1c14c71e1af8d9ddfa0687192c1e46fc48e..ba323ce50c572fcb4f18776b6db9785c63a7af0a 100644 --- a/demo/mask_detection/web/index.php +++ b/demo/mask_detection/web/index.php @@ -1,5 +1,5 @@