CoolFace
Apppublic

SD-online/Fooocus-Docker

sourceHugging Facegpl-3.0updated 3y agoView on Hugging Face
2likes
experiments_interrogate.py9 linesDownload Raw Back to Fooocus
1import cv22from extras.interrogate import default_interrogator as default_interrogator_photo3from extras.wd14tagger import default_interrogator as default_interrogator_anime4 5img = cv2.imread('./test_imgs/red_box.jpg')[:, :, ::-1].copy()6print(default_interrogator_photo(img))7img = cv2.imread('./test_imgs/miku.jpg')[:, :, ::-1].copy()8print(default_interrogator_anime(img))9