From d5760b0e6f8fccdad8206fcc73f32a6165471172 Mon Sep 17 00:00:00 2001 From: Cx330 <1487537121@qq.com> Date: Sun, 11 May 2025 22:27:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=98=BF=E5=98=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e06a34d..06fc7c6 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,9 @@ rembg[`仓库`](https://github.com/danielgatis/rembg)地址 _, binary_image = cv2.threshold(image, 1, 255, cv2.THRESH_BINARY) ``` 将图像灰度值 > 1的像素变为255(白色),也就是将抠图后保留的部分完全设为白色。其他区域像素全为0(黑色)。 -### 结果展示 +## 结果展示 原图、抠图后的图片、二值化处理抠图后的图片的图片
-![binarization](/result/result_All.png#pic_center) \ No newline at end of file +![binarization](/result/result_All.png#pic_center) +## 致谢 +感谢作者[`Bill FANG`](https://blog.csdn.net/qq_20157013/article/details/140489588)的文章《采用Python的rembg库去除图片背景》
+感谢[`rembg`](https://github.com/danielgatis/rembg)项目的每一个成员。 \ No newline at end of file