Магічний вибір (С сегментування будь-якого в браузері)
Виберіть будь-який об'єкт одним кликненням: модель Segment Anything працює на вашому пристрої і маску, потім ви вирізаєте її, видаляєте або зберігаєте маску.
Працює у вашому браузері. Ваші файли ніколи не залишають пристрій. Дізнатися, як це перевірити
…
Як користуватися
- 1Додати зображення
Виберіть фото з предметом, який ви хочете.
- 2Дозволити модель
Press Download the model and start (about 14 MB, once).
- 3Натисніть об'єкт
Відкрити Знак, тримати в задіяному режимі Додавати і натиснути всередині об'єкта.
- 4Виправлення вибору
Переключіться на видалення і натисніть області, які повинні бути виключені.
- 5Очищення
Виберіть маску, налаштуйте край і пір.
- 6Вибрати вихід
Прозорі вирізання, кольоровий фон, маска, виділення або видалення.
- 7Завантажити
Заховувати результат у повній величині або маску.
Про цей інструмент
Selecting an object precisely used to mean minutes of careful lasso work or a paid editor. Segment Anything, a model published by Meta AI in 2023, changed that: you click a point on an object and the model proposes a mask for it. This tool runs a compressed version, SlimSAM-77, directly in your browser. Click the product, person, animal or thing you want, add clicks to include more or exclude parts, and export a transparent cut-out, a black and white mask or a picture with the object removed.
How it works
The model has two parts. An image encoder looks at the whole picture once (scaled so its long side is 1,024 pixels) and produces a compact description of it. A small decoder then turns your clicks into a mask in a fraction of a second. Because the expensive step runs only once per picture, you can add and remove clicks quickly. Each click is a point with a label: green clicks say "this belongs to the object", red clicks say "this does not".
Choosing the right mask
A single click is ambiguous: clicking a shirt could mean the shirt or the whole person. The decoder returns three candidate masks, from a small part to the whole object, with a quality score for each. By default the tool uses the best-scoring one; the mask candidate setting lets you choose the smallest part, the middle or the whole object yourself.
Refining the edge
The model's mask is a probability. The edge threshold decides how much of the soft boundary is included: lower values include more of the fuzzy edge (hair, fur), higher values give a tighter cut. Feather softens the final edge so the cut-out blends well on a new background.
Outputs
Cut-out on transparency keeps the object and makes everything else transparent, ready for a PNG. Cut-out on a colour puts it on white or any colour, which many marketplaces want. The black and white mask is useful in other editors and for video compositing. Highlight shows the selection over a darkened picture, and remove makes the object transparent instead, leaving a hole you can fill with another tool.
The model and your privacy
The model files (about 14 MB, Apache-2.0 licence) are downloaded once from this site and cached. They run with ONNX Runtime on your processor, so no picture is uploaded and there is no account or limit. The first selection on a picture takes a few seconds while the encoder runs; later clicks are quick.
Tips
Click near the middle of the object, not on its edge. Add a red click on a background area that was wrongly included, or a green click on a part that was left out. For several separate objects, work on one at a time and export each.
Limits
Very thin structures, such as bicycle spokes, flyaway hair or fences, may not be captured fully. Glass and reflections are hard for any model. The compressed model is slightly less precise than the full research version.
Приклад із розв'язанням
Фотографа з міцною розмірністю 3000 х 2000 на столі: один зелений клик на мишку вибирає його з оцінкою 0,94, червоний клік видаляє тінь ручки, порог 55 і пір 1 дають чистий край, а відріз зберігається як прозора PNG.
Коротко
- Категорія: Зображення
- Працює в браузері, без реєстрації й завантаження.
- Введені вами дані залишаються на пристрої.
- Доступно англійською.
- Вміст востаннє перевірено:
- Офіційне джерело: Kirillov et al., Segment Anything (Meta AI, 2023), and SlimSAM compressed model
Поширені запитання
Що таке сегмент "Що-небудь"?
Модель від Meta AI, яка перетворює клик у маску об'єктів.
Як видалити частину вибору?
Перемістіть тип клика на видалити і натисніть не потрібне місце. Червоні точки вказують моделі, що виключити.
Чому він обрав всю людину замість сорочки?
Змінить кандидатуру маски на найменшу частину, або додавайте червоний клик на обличчя.
Скільки завантажено?
About 14 MB in total, downloaded once and cached by your browser.
Можна мені маску?
Виберіть чорно-білий вихід маски або скористайтеся кнопкою завантаження маски.
Моє фото завантажено?
Обидві частини моделі працюють на вашому пристрої.
