this is always the intranet dilemma.
if your scanners support http & CORS (pretty common), then a web application makes sense. you could also supply a simple application that provided this feature that was installed locally.
if you decide desktop, then probably you want to also look at MAUI and possibly desktop Blazor. Guessing what the preferred windows desktop development environment 5 years out is tough. MAUI seems to have good support as cross platform, but its XMAL roots show. It is limited in layout, and xml is not the most friendly markup language. I would have never guessed, but I think Blazor which uses HTML/CSS may be the desktop winner for corporate applications.
Myself, unless its mobile, I always prefer web. the web client and camera/printer/scanner features are always improving.