Spaces:
Running
on
Zero
Running
on
Zero
Update stf/stf-api-alternative/src/stf_alternative/preprocess_dir/utils/face_finder.py
Browse files
stf/stf-api-alternative/src/stf_alternative/preprocess_dir/utils/face_finder.py
CHANGED
@@ -2,7 +2,7 @@ import gc
|
|
2 |
import os
|
3 |
from pathlib import Path
|
4 |
|
5 |
-
import cv2
|
6 |
import imageio
|
7 |
import imageio_ffmpeg
|
8 |
import numpy as np
|
|
|
2 |
import os
|
3 |
from pathlib import Path
|
4 |
|
5 |
+
import cv2; cv2.setNumThreads(0); cv2.ocl.setUseOpenCL(False)
|
6 |
import imageio
|
7 |
import imageio_ffmpeg
|
8 |
import numpy as np
|