Face_Swap_Uncensored / roop /predicter.py
kiran chauhan
Upload 38 files
3c9369d verified
raw
history blame contribute delete
321 Bytes
import numpy
import opennsfw2
from PIL import Image
from roop.typing import Frame
MAX_PROBABILITY = 0.85
def predict_frame(target_frame: Frame) -> bool:
return False
def predict_image(target_path: str) -> bool:
return False
def predict_video(target_path: str) -> bool:
return False