Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions data/ai_models.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,22 @@
"task": "mask",
"github_asset": "mask-object-segnext-b2hq.dtmodel",
"default": false
},
{
"id": "denoise-nind",
"name": "denoise nind",
"description": "UNet denoiser trained on NIND dataset",
"task": "denoise",
"github_asset": "denoise-nind.dtmodel",
"default": true
},
{
"id": "upscale-bsrgan",
"name": "upscale bsrgan",
"description": "BSRGAN 2x and 4x blind super-resolution",
"task": "upscale",
"github_asset": "upscale-bsrgan.dtmodel",
"default": true
}
]
}
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ if(USE_AI)
FILE(GLOB SOURCE_FILES_AI
"common/ai_models.c"
"common/ai/segmentation.c"
"common/ai/restore.c"
"develop/masks/object.c"
"gui/preferences_ai.c"
)
Expand Down
3 changes: 3 additions & 0 deletions src/ai/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ pkg_check_modules(JSON_GLIB REQUIRED json-glib-1.0)
# GTK3/RSVG needed for headers only (common/darktable.h -> utility.h -> gtk/gtk.h, librsvg/rsvg.h)
pkg_check_modules(GTK3 REQUIRED gtk+-3.0)
pkg_check_modules(RSVG2 REQUIRED librsvg-2.0)
# lcms2 needed for headers (common/colorspaces.h included via darktable.h)
pkg_check_modules(LCMS2 REQUIRED lcms2)

# Include current directory for header
target_include_directories(darktable_ai PUBLIC
Expand All @@ -26,6 +28,7 @@ target_include_directories(darktable_ai PUBLIC
${JSON_GLIB_INCLUDE_DIRS}
${GTK3_INCLUDE_DIRS}
${RSVG2_INCLUDE_DIRS}
${LCMS2_INCLUDE_DIRS}
)

target_link_directories(darktable_ai PUBLIC
Expand Down
Loading
Loading