Segment Anything 2 in ComfyUI for Pics and Videos(基于SAM2实现图片以及视频分割)
5.0
0 reviewsDescription
这套工作流总共提供两种用法(基于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...
Reviews
No reviews yet
Versions (1)
- latest (5 months ago)
Node Details
Primitive Nodes (23)
DF_Get_image_size
DF_Image_scale_to_side
DownloadAndLoadFlorence2Model
DownloadAndLoadSAM2Model
Fast Groups Bypasser (rgthree)
Florence2Run
Florence2toCoordinates
Note
Sam2Segmentation
Custom Nodes (27)
ComfyUI
- InvertMask
- JoinImageWithAlpha
- PreviewImage
- LoadImage
- MaskToImage
- easy positive
- MaskPreview+
- ImpactSwitch
- VHS_VideoCombine
- VHS_LoadVideo
- SplineEditor
- GetImageRangeFromBatch
- ShowText|pysssss
Model Details
Checkpoints (0)
LoRAs (0)