Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

Krita 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.

precise-mode

Background Removal

Filter which extracts colors belonging to foreground objects in a layer. You can find it at Filters › Other › Background Removal...

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.

installation

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

Models Download

You can find the location where to place models with the "Folder" button in the Background Removal Filter dialog.

background-removal-models

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

关于 About

Krita plugin which adds selection tools to mask objects with a single click, or by drawing a bounding box.

语言 Languages

C++87.1%
CMake4.2%
Python3.1%
Shell2.9%
PowerShell1.8%
HTML0.9%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
47
Total Commits
峰值: 14次/周
Less
More

核心贡献者 Contributors