算法简介 CodeFormer是一种基于AI技术深度学习的人脸复原模型,由南洋理工大学和商汤科技联合研究中心联合开发,它能够接收模糊或马赛克图像作为输入,并生成更清晰的原始图像。算法源码地址:https://github.com/sczhou/CodeFormer Face Restoration Face Color Enhancement and Restoration Face Inpainting 模型部署 如果想用C++进行模型推理部署,首先要把模型转换成onnx,转成onnx就可以使用onnxruntime c++库进行部署,或者使用OpenCV的DNN也可以。 1、可在以下地址下载模型:https://github.com/sczhou/CodeFormer/releases/tag/v0.1.0 2、下载CodeFormer源码,在工程目录下添加onnx转换python代码 import torch from basicsr.utils.registry import ARCH_REGISTRY if __name__ == '__main__': device...
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Get in touch with Class
Contact Class, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack