Toolverse
All skills

segment-anything-model

by davila7

Foundation model for image segmentation with zero-shot transfer. Use when you need to segment any object in images using points, boxes, or masks as prompts, or automatically generate all object masks in an image.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
davila7
Category
Security

About this skill

Foundation model for image segmentation with zero-shot transfer. Use when you need to segment any object in images using points, boxes, or masks as prompts, or automatically generate all object masks in an image.

How to use

  1. Zainstaluj Segment Anything Model z repozytorium GitHub poleceniem pip install git+https://github.com/facebookresearch/segment-anything.git. Opcjonalnie dodaj biblioteki pomocnicze: pip install opencv-python pycocotools matplotlib, lub jeśli wolisz pracować przez transformers, zainstaluj pip install transformers.

  2. Pobierz wstępnie wytrenowany model (checkpoint). Dostępne są trzy wersje: ViT-B dla szybkości, ViT-L dla równowagi, lub ViT-H dla najwyższej precyzji. Wybór zależy od Twoich wymagań wydajności i dokładności.

  3. Przygotuj obraz, który chcesz segmentować. SAM działa z dowolnymi formatami obrazów – zdjęciami naturalnymi, medycznymi, satelitarnymi czy innymi domenami specjalistycznymi.

  4. Wybierz sposób wskazania obiektów do segmentacji: użyj punktów (klikając na obiekty), narysuj ramkę wokół obiektu, lub podaj wcześniejszą maskę jako wskazówkę. Alternatywnie pozwól modelowi automatycznie wygenerować maski wszystkich obiektów na obrazie bez dodatkowych wskazówek.

  5. Uruchom model na przygotowanym obrazie i otrzymaj maski segmentacyjne dla wybranych lub wszystkich obiektów. Wyniki możesz wizualizować, eksportować do formatów COCO lub wykorzystać w kolejnych etapach przetwarzania.

  6. Jeśli planujesz wdrożenie na urządzeniach brzegowych lub w przeglądarce, wyeksportuj model do formatu ONNX, który zapewnia kompatybilność i optymalizację dla różnych platform.

Related skills

python-expert

by Shubhamsaboo

Senior Python developer expertise for writing clean, efficient, and well-documented code.\nUse when: writing Python code, optimizing Python scripts, reviewing Python code for best practices,\ndebugging Python issues, implementing type hints, or when user mentions Python, PEP 8,

Security
2777

architect-review

by sickn33

Master software architect specializing in modern architecture patterns, clean architecture, microservices, event-driven systems, and DDD. Reviews system designs and code changes for architectural integrity, scalability, and maintainability. Use PROACTIVELY for architectural

Security
2773

software-security

by project-codeguard

A software security skill that integrates with Project CodeGuard to help AI coding agents write secure code and prevent common vulnerabilities. Use this skill when writing, reviewing, or modifying code to ensure secure-by-default practices are followed.

Security
1678

feishu-docs

by openclaw

飞书文档(Docx)API技能。用于创建、读取、更新和删除飞书文档。支持Markdown/HTML内容转换、文档权限管理。

Security
1574

academic-researcher

by Shubhamsaboo

Academic research assistant for literature reviews, paper analysis, and scholarly writing.\nUse when: reviewing academic papers, conducting literature reviews, writing research summaries,\nanalyzing methodologies, formatting citations, or when user mentions academic research,

Security
1260

skill-writer

by pytorch

Guide users through creating Agent Skills for Claude Code. Use when the user wants to create, write, author, or design a new Skill, or needs help with SKILL.md files, frontmatter, or skill structure.

Security
15116