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
}
]
}
7 changes: 7 additions & 0 deletions src/libs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,13 @@ if(CUPS_FOUND)
set(MODULES ${MODULES} print_settings)
endif(CUPS_FOUND)

# AI neural restore module
if(USE_AI)
add_library(neural_restore MODULE "neural_restore.c")
target_link_libraries(neural_restore TIFF::TIFF)
set(MODULES ${MODULES} neural_restore)
endif(USE_AI)

# Add libs references
foreach(module ${MODULES})
target_link_libraries(${module} lib_darktable)
Expand Down
Loading
Loading