用于细粒度分割的Mask-RCNN算法
fine-grained-segmentation的Python项目详细描述
#细粒度分段库
Python库,用于分割图像中的服装项目,在python3和ONNX中实现。深度学习模型为图像中的每个对象实例生成边界框和分割掩码。它基于[Matterport Mask R-CNN](https://github.com/matterport/Mask_RCNN)
该库也可以在[Python Package Index](https://pypi.org/project/fine-grained-segmentation/)上找到
演示web应用程序位于https://fine-grained-segmentation.vinnypalumbo.com
##要求
Python3.5、ONNX runtime和中列出的其他常用软件包要求.txt。在
##安装
- 克隆此存储库
- 运行安装程序来安装库 `bash python3 setup.py install ` 如果安装依赖项失败,请运行 `bash pip3 install -r requirements.txt `
- 下载预先训练的重量(cnn.onnx先生)从[发布页](https://github.com/vinny-palumbo/fine_grained_segmentation/releases)
使用
以下是如何从命令行使用库: `bash fashion-segmentator--image=<path/to/image/file> ` 这将在当前目录中生成一个`result.png`文件
- 项目
标签: