← JuanJuan Tools · Guides

U²-Net, ISNet, and SAM: A Deep Technical Comparison of Three Cutout Models

Published: 2026-10-10

Why Model Choice Matters

Edge Quality BenchmarkISNet95%U2-Net72%SAM80%Speed (lower = better)ISNet800msU2-Net200msSAM50ms
Three-Engine Routing ArchitectureISNetCloud · best qualityU2-NetLocal · free fallbackMobileSAMClick-to-refineSmart routingauto failoverResultThree-tier routing: high availability + high quality + privacy

Different segmentation models make different trade-offs between accuracy, speed, and resource consumption. A high-precision model that runs in 5 seconds on a server may be impossible to run in a phone browser. Choosing the right model directly determines the cutout experience users get.

Technical Overview of the Three Models

U²-NetISNetSAM (MobileSAM)
Year released202020222023
Parameters4.7M (lite)~44M~10M
Training dataDUTS (10K)HRSOD/LDISSA-1B (1.1B masks)
Inference speed*~200ms~800ms~50ms (decoder)
Edge accuracyMediumExcellentDepends on prompt
Runs in browserYes — 2.4MBNo — needs a serverYes — 23MB quantized

*Approximate figures on a desktop-class CPU (Intel i7) with 320×320 input.

U²-Net: Lightweight All-Purpose Segmentation

U²-Net's core innovation is its nested U-shaped structure. In a traditional U-Net, each level of the network is a convolutional block; in U²-Net, each level is itself a small U-Net (called an RSU block), which enlarges the receptive field without inflating the parameter count.

Strengths

Weaknesses

ISNet: High-Precision Edge Segmentation

ISNet focuses on edge quality. It introduces a "semantic edge attention" mechanism that explicitly supervises edge information at every level of the decoder, producing output masks that are noticeably sharper at object boundaries.

Strengths

Weaknesses

SAM: Promptable Universal Segmentation

SAM (Segment Anything Model), released by Meta AI in 2023, was the first general-purpose segmentation model trained on a mega-scale dataset (SA-1B, containing 1.1 billion masks). Its breakthrough is being "promptable": click anywhere on the image and the model segments the corresponding object.

Strengths

Weaknesses

Real-World Test: The Same Image Across Three Models

Our Multi-Engine Architecture

JuanJuan Tools uses a multi-engine routing strategy that guarantees both availability and quality:

  1. Cloud first: ISNet processing (best quality, 3–10 seconds)
  2. On-device fallback: U²-Net runs in your browser (free, 1–2 seconds)
  3. Refinement layer: MobileSAM powers Smart Refine (click to erase or restore)

Try it free — remove a background now →