I'm a CS student and after the forced AI stuff in Windows I've decided to switch to Ubuntu. I do keep Win11 in dualboot just in case something is not...
If you get no joy with Document Scanner, it may be worth trying naps2 instead. It's a scanner app and I think it's in the repos. It has more features...