withoutBG Open-Weight Model vs u2net

37 examples, 37 with ground truth. Lower is better. Use the view controls on each row to switch between transparency, chroma key, and alpha matte on all outputs.

MetricwithoutBG Open-Weight Modelu2net
MGE (Edge Quality)0.070630.08658
MAE (Overall Accuracy)0.064320.09592
Connectivity0.064060.09659
Original photo: autumn bouquet vase
Ground Truth alpha matte: autumn bouquet vase
Alpha matte
withoutBG Open-Weight Model alpha matte: autumn bouquet vase
Alpha matte
u2net alpha matte: autumn bouquet vase
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.11187
MAE
0.02393
Conn.
0.02366
u2net
MGE
0.14817
MAE
0.08168
Conn.
0.07480
Original photo: balcony flower planter bokeh
Ground Truth alpha matte: balcony flower planter bokeh
Alpha matte
withoutBG Open-Weight Model alpha matte: balcony flower planter bokeh
Alpha matte
u2net alpha matte: balcony flower planter bokeh
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.07491
MAE
0.20595
Conn.
0.20605
u2net
MGE
0.06877
MAE
0.22670
Conn.
0.22636
Original photo: balcony plant bokeh
Ground Truth alpha matte: balcony plant bokeh
Alpha matte
withoutBG Open-Weight Model alpha matte: balcony plant bokeh
Alpha matte
u2net alpha matte: balcony plant bokeh
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.07847
MAE
0.01629
Conn.
0.01623
u2net
MGE
0.09186
MAE
0.03166
Conn.
0.03260
Original photo: bearded man portrait
Ground Truth alpha matte: bearded man portrait
Alpha matte
withoutBG Open-Weight Model alpha matte: bearded man portrait
Alpha matte
u2net alpha matte: bearded man portrait
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.01863
MAE
0.00476
Conn.
0.00413
u2net
MGE
0.03869
MAE
0.01973
Conn.
0.01905
Original photo: bike handlebar near beach
Ground Truth alpha matte: bike handlebar near beach
Alpha matte
withoutBG Open-Weight Model alpha matte: bike handlebar near beach
Alpha matte
u2net alpha matte: bike handlebar near beach
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.04704
MAE
0.00841
Conn.
0.00826
u2net
MGE
0.06671
MAE
0.01464
Conn.
0.01372
Original photo: blowing dandelion seeds
Ground Truth alpha matte: blowing dandelion seeds
Alpha matte
withoutBG Open-Weight Model alpha matte: blowing dandelion seeds
Alpha matte
u2net alpha matte: blowing dandelion seeds
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.04385
MAE
0.01141
Conn.
0.01000
u2net
MGE
0.06582
MAE
0.03665
Conn.
0.03550
Original photo: campfire flames night
Ground Truth alpha matte: campfire flames night
Alpha matte
withoutBG Open-Weight Model alpha matte: campfire flames night
Alpha matte
u2net alpha matte: campfire flames night
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.03629
MAE
0.01250
Conn.
0.01173
u2net
MGE
0.04791
MAE
0.03034
Conn.
0.02973
Original photo: cargo ebike park tracks
Ground Truth alpha matte: cargo ebike park tracks
Alpha matte
withoutBG Open-Weight Model alpha matte: cargo ebike park tracks
Alpha matte
u2net alpha matte: cargo ebike park tracks
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.12069
MAE
0.01999
Conn.
0.01970
u2net
MGE
0.17918
MAE
0.06845
Conn.
0.06826
Original photo: compound leaf raindrops
Ground Truth alpha matte: compound leaf raindrops
Alpha matte
withoutBG Open-Weight Model alpha matte: compound leaf raindrops
Alpha matte
u2net alpha matte: compound leaf raindrops
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.04500
MAE
0.00749
Conn.
0.00713
u2net
MGE
0.07237
MAE
0.13475
Conn.
0.13908
Original photo: confetti sunset portrait
Ground Truth alpha matte: confetti sunset portrait
Alpha matte
withoutBG Open-Weight Model alpha matte: confetti sunset portrait
Alpha matte
u2net alpha matte: confetti sunset portrait
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.02821
MAE
0.00834
Conn.
0.00806
u2net
MGE
0.04635
MAE
0.02696
Conn.
0.02612
Original photo: cyclist motion blur field
Ground Truth alpha matte: cyclist motion blur field
Alpha matte
withoutBG Open-Weight Model alpha matte: cyclist motion blur field
Alpha matte
u2net alpha matte: cyclist motion blur field
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.06872
MAE
0.01673
Conn.
0.01649
u2net
MGE
0.07853
MAE
0.05804
Conn.
0.05806
Original photo: dried flowers clay vase
Ground Truth alpha matte: dried flowers clay vase
Alpha matte
withoutBG Open-Weight Model alpha matte: dried flowers clay vase
Alpha matte
u2net alpha matte: dried flowers clay vase
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.06195
MAE
0.01177
Conn.
0.01189
u2net
MGE
0.09396
MAE
0.02581
Conn.
0.02504
Original photo: elderly man running blur
Ground Truth alpha matte: elderly man running blur
Alpha matte
withoutBG Open-Weight Model alpha matte: elderly man running blur
Alpha matte
u2net alpha matte: elderly man running blur
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.02073
MAE
0.00482
Conn.
0.00464
u2net
MGE
0.02439
MAE
0.00664
Conn.
0.00580
Original photo: grass seed stem bokeh
Ground Truth alpha matte: grass seed stem bokeh
Alpha matte
withoutBG Open-Weight Model alpha matte: grass seed stem bokeh
Alpha matte
u2net alpha matte: grass seed stem bokeh
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.06311
MAE
0.01859
Conn.
0.01844
u2net
MGE
0.07351
MAE
0.03236
Conn.
0.03230
Original photo: hanging plant window
Ground Truth alpha matte: hanging plant window
Alpha matte
withoutBG Open-Weight Model alpha matte: hanging plant window
Alpha matte
u2net alpha matte: hanging plant window
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.11979
MAE
0.02627
Conn.
0.02612
u2net
MGE
0.17534
MAE
0.08887
Conn.
0.08183
Original photo: messy bun cityscape
Ground Truth alpha matte: messy bun cityscape
Alpha matte
withoutBG Open-Weight Model alpha matte: messy bun cityscape
Alpha matte
u2net alpha matte: messy bun cityscape
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.02311
MAE
0.00796
Conn.
0.00769
u2net
MGE
0.04106
MAE
0.02709
Conn.
0.02729
Original photo: messy hair bearded portrait
Ground Truth alpha matte: messy hair bearded portrait
Alpha matte
withoutBG Open-Weight Model alpha matte: messy hair bearded portrait
Alpha matte
u2net alpha matte: messy hair bearded portrait
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.01507
MAE
0.00650
Conn.
0.00573
u2net
MGE
0.03037
MAE
0.02389
Conn.
0.02320
Original photo: orange berries branch
Ground Truth alpha matte: orange berries branch
Alpha matte
withoutBG Open-Weight Model alpha matte: orange berries branch
Alpha matte
u2net alpha matte: orange berries branch
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.09111
MAE
0.01771
Conn.
0.01754
u2net
MGE
0.15361
MAE
0.29991
Conn.
0.30067
Original photo: red flower balcony bokeh
Ground Truth alpha matte: red flower balcony bokeh
Alpha matte
withoutBG Open-Weight Model alpha matte: red flower balcony bokeh
Alpha matte
u2net alpha matte: red flower balcony bokeh
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.05274
MAE
0.02840
Conn.
0.02826
u2net
MGE
0.08811
MAE
0.08399
Conn.
0.08391
Original photo: rocky coast bush foreground
Ground Truth alpha matte: rocky coast bush foreground
Alpha matte
withoutBG Open-Weight Model alpha matte: rocky coast bush foreground
Alpha matte
u2net alpha matte: rocky coast bush foreground
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.37456
MAE
0.49888
Conn.
0.49455
u2net
MGE
0.36906
MAE
0.49662
Conn.
0.49381
Original photo: small fishing boat bw
Ground Truth alpha matte: small fishing boat bw
Alpha matte
withoutBG Open-Weight Model alpha matte: small fishing boat bw
Alpha matte
u2net alpha matte: small fishing boat bw
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.05988
MAE
0.01390
Conn.
0.01386
u2net
MGE
0.08350
MAE
0.03646
Conn.
0.03522
Original photo: smiling man seaside sunset
Ground Truth alpha matte: smiling man seaside sunset
Alpha matte
withoutBG Open-Weight Model alpha matte: smiling man seaside sunset
Alpha matte
u2net alpha matte: smiling man seaside sunset
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.01330
MAE
0.00272
Conn.
0.00254
u2net
MGE
0.02279
MAE
0.01494
Conn.
0.01388
Original photo: smiling woman seaside
Ground Truth alpha matte: smiling woman seaside
Alpha matte
withoutBG Open-Weight Model alpha matte: smiling woman seaside
Alpha matte
u2net alpha matte: smiling woman seaside
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.02282
MAE
0.00565
Conn.
0.00489
u2net
MGE
0.03563
MAE
0.01357
Conn.
0.01171
Original photo: spoked bike wheel
Ground Truth alpha matte: spoked bike wheel
Alpha matte
withoutBG Open-Weight Model alpha matte: spoked bike wheel
Alpha matte
u2net alpha matte: spoked bike wheel
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.07366
MAE
0.01213
Conn.
0.01216
u2net
MGE
0.11694
MAE
0.14235
Conn.
0.14190
Original photo: sprinter motion blur
Ground Truth alpha matte: sprinter motion blur
Alpha matte
withoutBG Open-Weight Model alpha matte: sprinter motion blur
Alpha matte
u2net alpha matte: sprinter motion blur
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.03789
MAE
0.02922
Conn.
0.03011
u2net
MGE
0.04061
MAE
0.04257
Conn.
0.04324
Original photo: street dancer studio pose
Ground Truth alpha matte: street dancer studio pose
Alpha matte
withoutBG Open-Weight Model alpha matte: street dancer studio pose
Alpha matte
u2net alpha matte: street dancer studio pose
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.02475
MAE
0.00395
Conn.
0.00373
u2net
MGE
0.03951
MAE
0.00866
Conn.
0.00741
Original photo: street portrait man
Ground Truth alpha matte: street portrait man
Alpha matte
withoutBG Open-Weight Model alpha matte: street portrait man
Alpha matte
u2net alpha matte: street portrait man
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.01271
MAE
0.00301
Conn.
0.00277
u2net
MGE
0.02356
MAE
0.00781
Conn.
0.00698
Original photo: sunset field portrait
Ground Truth alpha matte: sunset field portrait
Alpha matte
withoutBG Open-Weight Model alpha matte: sunset field portrait
Alpha matte
u2net alpha matte: sunset field portrait
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.02503
MAE
0.00752
Conn.
0.00688
u2net
MGE
0.03873
MAE
0.02657
Conn.
0.02619
Original photo: tabby cat portrait
Ground Truth alpha matte: tabby cat portrait
Alpha matte
withoutBG Open-Weight Model alpha matte: tabby cat portrait
Alpha matte
u2net alpha matte: tabby cat portrait
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.03017
MAE
0.00736
Conn.
0.00695
u2net
MGE
0.05847
MAE
0.03169
Conn.
0.02987
Original photo: terrier dog mugshot
Ground Truth alpha matte: terrier dog mugshot
Alpha matte
withoutBG Open-Weight Model alpha matte: terrier dog mugshot
Alpha matte
u2net alpha matte: terrier dog mugshot
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.04226
MAE
0.01824
Conn.
0.01716
u2net
MGE
0.08435
MAE
0.10608
Conn.
0.10761
Original photo: trigonometry notes whiteboard
Ground Truth alpha matte: trigonometry notes whiteboard
Alpha matte
withoutBG Open-Weight Model alpha matte: trigonometry notes whiteboard
Alpha matte
u2net alpha matte: trigonometry notes whiteboard
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.28577
MAE
0.93281
Conn.
0.93738
u2net
MGE
0.07771
MAE
0.50717
Conn.
0.55527
Original photo: two bikes field
Ground Truth alpha matte: two bikes field
Alpha matte
withoutBG Open-Weight Model alpha matte: two bikes field
Alpha matte
u2net alpha matte: two bikes field
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.11198
MAE
0.02944
Conn.
0.02949
u2net
MGE
0.12928
MAE
0.05263
Conn.
0.05262
Original photo: two gravel bikes park
Ground Truth alpha matte: two gravel bikes park
Alpha matte
withoutBG Open-Weight Model alpha matte: two gravel bikes park
Alpha matte
u2net alpha matte: two gravel bikes park
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.17475
MAE
0.02962
Conn.
0.02905
u2net
MGE
0.23941
MAE
0.11418
Conn.
0.11428
Original photo: white chess pieces tournament
Ground Truth alpha matte: white chess pieces tournament
Alpha matte
withoutBG Open-Weight Model alpha matte: white chess pieces tournament
Alpha matte
u2net alpha matte: white chess pieces tournament
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.11440
MAE
0.29795
Conn.
0.29837
u2net
MGE
0.09599
MAE
0.28013
Conn.
0.28259
Original photo: windblown curly hair backpack
Ground Truth alpha matte: windblown curly hair backpack
Alpha matte
withoutBG Open-Weight Model alpha matte: windblown curly hair backpack
Alpha matte
u2net alpha matte: windblown curly hair backpack
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.03113
MAE
0.00814
Conn.
0.00763
u2net
MGE
0.05608
MAE
0.07193
Conn.
0.07367
Original photo: windblown curly portrait
Ground Truth alpha matte: windblown curly portrait
Alpha matte
withoutBG Open-Weight Model alpha matte: windblown curly portrait
Alpha matte
u2net alpha matte: windblown curly portrait
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.03992
MAE
0.01483
Conn.
0.01451
u2net
MGE
0.07628
MAE
0.24791
Conn.
0.24912
Original photo: woman street portrait glasses
Ground Truth alpha matte: woman street portrait glasses
Alpha matte
withoutBG Open-Weight Model alpha matte: woman street portrait glasses
Alpha matte
u2net alpha matte: woman street portrait glasses
Alpha matte
Original
Ground Truth
withoutBG Open-Weight Model
MGE
0.01719
MAE
0.00674
Conn.
0.00642
u2net
MGE
0.03078
MAE
0.02948
Conn.
0.02515

Methodology

  • Alpha mattes are grayscale masks encoding per-pixel foreground probability. They capture fine edge detail (hair, fur, semi-transparent regions) that binary masks discard.
  • Metrics are computed by comparing predicted mattes against a ground-truth reference: MGE measures edge sharpness, MAE measures pixel-level accuracy, and Connectivity penalises fragmented foreground regions. All three are lower-is-better.
  • Scores are shown as ? when no ground-truth matte is available for that image. See the alpha matting evaluation benchmark for details on the evaluation methodology.