CivArchive
    Segmentation - Florence2 & SAM2 - v1.0
    NSFW
    Preview 22660420

    Segmentation - Florence2 & SAM2
    Isolate Objects: Extract specific objects from an image, or Video such as products, furniture, or other items of interest.

    • Isolate Subjects: Separate people, animals, or other living beings from the background, perfect for portraits, selfies, or wildlife photography.

    • Isolate Both: Combine object and subject segmentation to create complex, layered compositions.

      *Prompt is a man and a pole *
      Step 1: Render 2 Frames for Element IDs

      Begin by rendering two frames to generate unique IDs for each element in your image. This step is crucial for isolating specific objects or subjects.

      Step 2: Assign Desired IDs to Florence2 Coordinates

      Once you have the element IDs, assign the desired ID to the Florence2 coordinates. For our example:

      • Enter 0,1 in the Florence2 coordinates to isolate both the man (ID: 0) and the pole (ID: 1).

      • For other coordinates, simply enter any ID you prefer to isolate specific objects or subjects.

        *Sometimes you need to use different models to achieve your desired outcome *

    Description

    FAQ

    Comments (4)

    CheesecakeJohnsonSep 19, 2024· 2 reactions
    CivitAI

    Really cool! Civitai should have a section just for workflows so assets like yours are easier to find straight up!

    Crimson_Intellect
    Author
    Sep 19, 2024· 1 reaction

    Thx, when you search the site use the search filter and choose workflow

    CheesecakeJohnsonSep 19, 2024· 1 reaction

    @Crimson_Intellect Thank's!

    raniatiesinMay 28, 2025

    I don't get it tho why generate two frames and what is ID?

    Workflows
    SD 1.5

    Details

    Downloads
    789
    Platform
    CivitAI
    Platform Status
    Available
    Created
    8/4/2024
    Updated
    5/13/2026
    Deleted
    -

    Files

    segmentationFlorence2_v10.zip

    Mirrors