Skip to content

use SAM(segment anything) to transfer detection label to segmentation 利用segment anything把目标检测标注转化为实例分割标注

License

Notifications You must be signed in to change notification settings

fzhsbc/detection-to-segmentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

detection-to-segmentation

use SAM(segment anything) to transfer detection label to segmentation 利用segment anything将coco格式的检测标签转换为分割标签 支持polygon和RLE两种分割标注模式。实际测试RLE效果更佳。

先安装SAM

pip install -r requirements.txt

pip install git+https://github.com/facebookresearch/segment-anything.git

使用方法

python test.py

TODO other dataset surpport, labeling tool。

About

use SAM(segment anything) to transfer detection label to segmentation 利用segment anything把目标检测标注转化为实例分割标注

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages