This is simple application that is designed to integrate DeepDanbooru (image tag estimation system) and XnView (image viewer). You can also use it to assign categories (tags) with XnView via JSON files (without using DeepDanbooru).
- Install Microsoft Visual C++ Redistributable
- Install Microsoft C++ Build Tools3
- Install Python
- Reboot PC
- Run XnView.Markirator.exe and install DeepDanbooru ("Settings" -> "Tags Evaluation" -> "Install DeepDanbooru"). Wait until the installation is complete (it may take a time).
- Setup XnView settings
- Evaluate tags
After successful execution of this action, a new JSON file (text file with information about processed images) will appear in the EvaluatedTags folder in the application directory.
- Import tags to XnView
Select JSON file from previous step and start import tags.
The import
command requires a JSON file with the following data structure:
[
{
"FilePath": "D:\\Images\\Catalog\\image1.jpg",
"Tags": ["tag1", "tag2", "tag3"]
},
{
"FilePath": "D:\\Images\\Catalog\\image2.jpg",
"Tags": ["tag2", "tag5"]
}
]
You only need this information if you want to set the tags manually without using DeepDanbooru.