Acly/krita-vision-tools
소개
한 번 클릭하거나 바운딩 박스를 그려 객체를 마스킹할 수 있는 선택 도구를 추가하는 Krita 플러그인입니다.
디자인 및 미디어측정된 스타 증가
- in 24h
- +1
- in 7 days
- -1
- in 15 days
- +5
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalKrita Vision Tools
Installation | Release Download | Building
Plugin for Krita which adds various tools and filters based on machine learning:
- Selection tools to mask objects in your image
- Background removal filter
- Alternative "Smart Patch" for filling/smoothing small areas
Select Segment from Point
Click on things to select them!
https://github.com/Acly/krita-ai-tools/assets/6485914/71fe2bb4-9b00-4eab-b6b7-4e9aa50d2511
Select Segment from Box
Draw a box around things to select them!
https://github.com/Acly/krita-ai-tools/assets/6485914/38d92925-3146-4489-a2ea-a1d3aa57c72c
Precise mode
Select "Precise" in Tool options to get better quality masks. Depending on hardware the operation can take several seconds. This model typically extracts all foreground objects in the area, rather than one specific object that is contained entirely in the box.
Background Removal
Filter which extracts colors belonging to foreground objects in a layer. You can find it at Filters › Other › Background Removal...
Installation
The current version of the plugin is built for Krita 5.2.13 and has been tested with Krita 5.2.14. Using it with other versions may lead to crashes.
You can download the latest version of the plugin from the releases page. Currently Windows and Linux are supported.
Plugin installation
Since version 2.0, the plugin can be installed as a Python extension.
In Krita, go to Tools › Scripts › Import Python Plugin from File...
and select the .zip file you downloaded.
Accept and restart Krita. The plugin should now be active, and the tools appear in the tool bar.
Show Krita Python Plugin manager
[!WARNING] If you have an older version (before 2.0) of the plugin installed, please remove it first. The easiest way is re-installing the latest version of Krita (you will keep your settings).
Alternative Models
The Plugin comes with a default ML model for each task. There are alternative models which can yield higher precision and better results, but usually at the cost of running slower and higher memory requirements.
Model files have the .gguf file extension.
Background Removal
You can find the location where to place models with the "Folder" button in the Background Removal Filter dialog.
Building
To build the plugin, it has to be part of the Krita source tree and build alongside. Refer to Building Krita from Source for setting up the environment.
After GIT checkout of the Krita sources, go to the root of the Krita repository, and clone this repository into the plugins folder:
cd krita/plugins
git clone --recurse-submodules https://github.com/Acly/krita-vision-tools.git
Next modify the CMakeLists.txt in the same folder (krita/plugins) by
appending the following line:
add_subdirectory( krita-vision-tools )
Now build and install Krita as usual according to official instructions, and the plugin will be built alongside.
Technology
- Inference implementation: vision.cpp
- Object detection: Segment Anything Model, MobileSAM
- Dichotomous segmentation: BiRefNet
- Inpainting: MI-GAN
관련 프로젝트 살펴보기
불러오는 중…