顔検出のやつでこういうの見つけたんだけど
https://huggingface.co/Bingsu/adetailer

import cv2
from PIL import Image

img = "Pythonのお勉強 Part72 ->画像>2枚 ;
output = model(img)
pred = output[0].plot()
pred = cv2.cvtColor(pred, cv2.COLOR_BGR2RGB)
pred = Image.fromarray(pred)
pred

これをどういじれば赤枠内をモザイク処理させることができる?