AI Masking on Darktable

I posted a guide this detailed instructions how to setup and use AI object masking in Darktable 5.5.0.

Please, check it here Testing AI Object Masks in darktable nightly builds

2 Likes

Thanks @Pascal_Obry. My plan was to only use the something like the exposure module to carry over the mask.

Any updates on the denoising part?
One can download the models and install them from the darktable-ai repo but I assume there’s still more work to be done to enable it?
Masking has been great and I’ve enjoyed all the time I saved because of it by playing games so I appreciate it🙂

1 Like

AI denoise as well as upscale implementation is in progress.

1 Like

Thanks! that looks promising. Maybe in a week we’ll get to play with it with the nightly.

Marvelous work.

I got it ‘working’ but extending the selection (to also cover the houses) does not seem to work. Only a cross appears, but no brush appears

I’m using a M1 macbook air

Use positive and negative clicks to extend object or remove some parts from it.

This also happened to me. It is not until I click to apply that I get the message that no object has been detected

@anry Question, will it also be possible to import and vectorize a rastermaks using a lua script?

There’s a module for that. Lua scripts do not work with IOP modules.

I don’t full get what you are saying… Do you mean that it is not possible?

Not possible with Lua script. Use external raster masks module instead.

2 Likes

Thanks… for my perspective, I would be awesome if the path of external raster masks module could be said and then the vectorize button could be pressed.

Used the AI mask sam2.1 option in settings. Did a reasonable job in creating the mask. Beak and tailfeathers it struggled with, I’m sure that will improve. Adjusted the mask for beak and tail feathers by hand. Good for now.

5 Likes