Loading...
Loading...
Super-resolución de la foto del documento para mejorar calidad del face match cuando la foto es de baja resolución
npx skill4agent add davidcastagnetoa/skills esrgan_super_resolutionpip install realesrganRealESRGAN_x4plus.pthupsampler = RealESRGANer(scale=4, model_path='RealESRGAN_x4plus.pth', tile=0, tile_pad=10, pre_pad=0, half=True)output, _ = upsampler.enhance(face_crop, outscale=4)half=True