FastSam-S

    Generate high quality segmentation mask on device.

    The Fast Segment Anything Model (FastSAM) is a novel, real-time CNN-based solution for the Segment Anything task. This task is designed to segment any object within an image based on various possible user interaction prompts. The model performs competitively despite significantly reduced computation, making it a practical choice for a variety of vision tasks.

    TorchScriptTFLite
    6.44ms
    Inference Time
    6-74MB
    Memory Usage
    288NPU
    Layers

    Technical Details

    Model checkpoint:fastsam-s.pt
    Inference latency:RealTime
    Input resolution:640x640
    Number of parameters:11.8M
    Model size:45.1 MB

    Applicable Scenarios

    • Camera
    • Photo Editing

    Supported Mobile Form Factors

    • Phone
    • Tablet

    Licenses

    Source Model:AGPL-3.0
    Deployable Model:AGPL-3.0

    Supported Mobile Devices

    • Google Pixel 3
    • Google Pixel 3a
    • Google Pixel 3a XL
    • Google Pixel 4
    • Google Pixel 4a
    • Google Pixel 5a 5G
    • Samsung Galaxy S21
    • Samsung Galaxy S21 Ultra
    • Samsung Galaxy S21+
    • Samsung Galaxy S22 5G
    • Samsung Galaxy S22 Ultra 5G
    • Samsung Galaxy S22+ 5G
    • Samsung Galaxy S23
    • Samsung Galaxy S23 Ultra
    • Samsung Galaxy S23+
    • Samsung Galaxy S24
    • Samsung Galaxy S24 Ultra
    • Samsung Galaxy S24+
    • Samsung Galaxy Tab S8
    • Xiaomi 12
    • Xiaomi 12 Pro

    Supported Mobile Chipsets

    • Snapdragon® 8 Gen 1 Mobile
    • Snapdragon® 8 Gen 2 Mobile
    • Snapdragon® 8 Gen 3 Mobile
    • Snapdragon® 888 Mobile