Author: Jason Stone
Workflow source: https://openart.ai/workflows/jason_stone/segment-anything-2-in-comfyui-for-pics-and-videossam2/XhbdrvNtWrj9fRtg0tAQ

This workflow provides two usages (optimized based on Kijai's example to make the nodes more efficient and clearer to understand), using SAM2 to achieve image and video segmentation.
Provides two methods to obtain forward coordinates, the two effects are different, I usually use Florence2.
Please watch Youtube and Bilibili videos before use, you will get everything you expected! ! ! This is worth your praise ( •̀ω •́ )y, which will greatly support me to continue to open source clear and useful workflows and extremely nutritious tutorials in the future! ! !
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 Cover and video dog: INS @wanderlust_samoyed