作者:Jason Stone

工作流来源:https://openart.ai/workflows/jason_stone/segment-anything-2-in-comfyui-for-pics-and-videossam2/XhbdrvNtWrj9fRtg0tAQ


这套工作流总共提供两种用法(基于Kijai的example进行优化,让节点更加高效,更加清晰易懂), 使用SAM2实现图片以及视频分割。
提提供两种获取正向坐标的方法,两种效果不一样,我一般使用Florence2。

使用前请看Youtube以及Bilibili视频,你会得到一切你意料之外的收获!!!这值得你帮我点赞( •̀ω •́ )y,这对我将来继续开源清晰有用的工作流以及极富营养的教程有很大支持!!!

This workflow offers two usage methods in total (optimized based on Kijai's example to make the nodes more efficient and clearer). It utilizes SAM2 for image and video segmentation. It provides two methods for obtaining forward coordinates, each with different effects. I typically use Florence2.

Please watch the YouTube and Bilibili videos before using this tool. You will gain insights beyond your expectations! Your thumbs-up is greatly appreciated ( •̀ω •́ )y.

Youtube: Jason Stone
https://youtu.be/QbBS1HT_i0s
Bilbili: JasonSt0ne
https://www.bilibili.com/video/BV1fPvQeRErY
SAM2 onlie Demo: https://sam2.metademolab.com/demo


封面与视频狗狗:INS@wanderlust_samoyed