Benchmark — 191 images, 8 categories (MAE, lower is better)
category
lucida-v5
inspyrenet
ideogram*
rmbg-2.0
camouflage
0.0273
0.0582
0.1179
0.1405
transparent
0.0376
0.0725
0.0343
0.0741
text / logos
0.0126
0.0181
0.0123
0.0173
illustration
0.0095
0.0242
0.0215
0.0125
complex
0.0666
0.0110
0.1046
0.0241
thin
0.0350
0.0166
0.0521
0.0180
hair
0.0087
0.0069
0.0112
0.0045
* ideogram = fal.ai commercial API, used as the quality reference. Full table & methodology on GitHub.
Examples
Camouflage — body paint in magnolia petals: Lucida finds the subject; the best open competitor keeps the whole image.Glass — real alpha in the lens/vessel areas, ahead of the commercial reference on this image.Text & logos — lettering with soft drop shadow preserved.Illustration — clean line-art edges, ahead of every model measured.
Use it in three lines
from transformers import AutoModelForImageSegmentation
model = AutoModelForImageSegmentation.from_pretrained(
"egeorcun/lucida", trust_remote_code=True)
MIT license. Fine-tuned from BiRefNet_HR. If Lucida is useful to you, a ⭐ on GitHub helps a lot.