coupleswapper_gui.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:FaceSwapper 作者: QuantumLiu 项目源码 文件源码
def save_compare(self):
        '''
        ?????
        '''
        self.compare=np.concatenate([self.img_ori,self.img_swapped],1)
        cv2.imshow('Compare',self.compare)
        output_path,_=QFileDialog.getSaveFileName(self,'??????','./','Image Files(*.png *.jpg *.bmp)')
        if not output_path:
            self.statu_text.append('????,?????')
            return
        self.swapper.save(output_path,self.compare)
        self.statu_text.append('?????????'+output_path)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号