use SAM(segment anything) to transfer detection label to segmentation 利用segment anything将coco格式的检测标签转换为分割标签 支持polygon和RLE两种分割标注模式。实际测试RLE效果更佳。
pip install -r requirements.txt
pip install git+https://github.com/facebookresearch/segment-anything.git
python test.py
TODO other dataset surpport, labeling tool。