【求助帖】想要做一个物品抠图,支持点击商品图、涂抹、自动抠图的开源模型,哪个抠图开源模型效果比较好呢? #753
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: HswOAuth/llm_course#753
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
以Segment Anything Model (SAM)作为基础: 利用SAM的点击(point prompt)功能实现快速的初步抠图。
结合Rembg进行自动化处理: 对于一些背景简单的商品图,可以先尝试用Rembg进行自动化背景去除,作为快速预处理的选项。
开发涂抹精修功能: 对于SAM无法完美抠图的部分,或者需要更精细调整的边缘,可以结合一些图像处理算法(如Graph Cut、GrabCut等)或者微调SAM模型,甚至集成DeepLabV3+等分割模型进行局部精修。
对于SAM无法完美抠图的部分,精细调整的边缘,如何结合 DeepLabV3+ 的局部精修呢,有没有使用案例可以参考呢
可以参考这两个项目:
https://github.com/facebookresearch/detectron2/tree/main/projects/PointRend
https://github.com/zhanggang001/RefineMask
这个两个项目 是可以直接用模型、还是需要微调呢。直接用模型的话 效果比SAM 分割的更好吗?