图像处理

图片背景消除

November 26, 2024
background-removal, 图像处理, 背景消除

一、工具 rembg # https://github.com/danielgatis/rembg rembg i -m birefnet-massive 20241126-140049.jpg 49-max.png 默认使用u2net模型, 使用-m 可以指定模型运行 二、模型 # Model Name Download Link Source Link Description 描述 u2net Download Source A pre-trained model for general use cases. 用于通用用途的预训练模型。 u2netp Download Source A lightweight version of u2net model. u2net模型的轻量版。 u2net_human_seg Download Source A pre-trained model for human segmentation. 用于人类分割的预训练模型。 u2net_cloth_seg Download Source A pre-trained model for clothes parsing. 用于服装解析的预训练模型(上衣、下衣、全身)。 silueta Download Source A reduced size version of u2net (43MB). ...