My stuff

  • My Workflows

  • Liked Workflows

  • Following Workflows

Go to OpenArt main site
Upload workflow

Segment Anything 2 in ComfyUI for Pics and Videos(基于SAM2实现图片以及视频分割)

5.0

0 reviews
14
3.7K
1.1K
1
Description

这套工作流总共提供两种用法(基于Kijai的example进行优化,让节点更加高效,更加清晰易懂), 使用SAM2实现图片以及视频分割。

提提供两种获取正向坐标的方法,两种效果不一样,我一般使用Florence2。

封面与视频狗狗:INS@wanderlust_samoyed

一只在全国各地旅游的快乐萨摩耶( •̀ω •́ )y,喜欢萨摩耶的可以关注啊!

重点!重点!重点!:

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


Youtube:Jason Stone

https://youtu.be/QbBS1HT_i0s

Bilbili:JasonSt0ne

https://www.bilibili.com/video/BV1fPvQeRErY


SAM2在线Demo:https://sam2.metademolab.com/demo


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. Cover and video dog: INS@wanderlust_samoyed A happy Samoyed traveling all over the country ( •̀ω •́ )y. If you like Samoyeds, feel free to follow!

The point! The point! The point! :

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. It significantly supports my efforts to continue open-sourcing clear and practical workflows, as well as creating deeply informative tutorials in the future!


Youtube:Jason Stone

https://youtu.be/QbBS1HT_i0s

Bilbili:JasonSt0ne

https://www.bilibili.com/video/BV1fPvQeRErY


SAM2 onlie Demo:https://sam2.metademolab.com/demo

Discussion

(No comments yet)

Loading...

Author

8
10.8K
234
38.5K

No reviews yet

  • - latest (5 months ago)

Primitive Nodes (23)

DF_Get_image_size (2)

DF_Image_scale_to_side (2)

DownloadAndLoadFlorence2Model (2)

DownloadAndLoadSAM2Model (2)

Fast Groups Bypasser (rgthree) (1)

Florence2Run (2)

Florence2toCoordinates (2)

Note (8)

Sam2Segmentation (2)

Custom Nodes (27)

ComfyUI

  • - InvertMask (2)

  • - JoinImageWithAlpha (2)

  • - PreviewImage (5)

  • - LoadImage (1)

  • - MaskToImage (1)

ComfyUI Easy Use

  • - easy positive (2)

  • - MaskPreview+ (2)

  • - ImpactSwitch (2)

  • - VHS_VideoCombine (2)

  • - VHS_LoadVideo (1)

  • - SplineEditor (2)

  • - GetImageRangeFromBatch (1)

Checkpoints (0)

LoRAs (0)