issue88-Use the background removal method to solve the ground problem. #155
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
原始minimal_demo.py代码并未使用背景移除工具,而是直接将输入的图片交给模型生成3dshape,结果显示:无地面的图片经过模型生成后会出现地面。
我将代码修改为将输入的图片进行背景移除后再交给模型生成3dshape,结果显示:无地面的图片经过模型生成后不会出现地面。
而源码中的背景移除工具rembg在对我所使用的样例demo3.png进行背景去除后得到的结果质量不高,故换为开源的RMBG2.0模型进行背景移除。