If you just connected the Scanner, make sure to install the driver. Windows 11/10 would usually find it and list it under Settings > Devices > Printers and Scanners. Make sure its status is online ...
For example, the Photo Scan app is a very handy tool that you can use to get the job done. It is compatible with Windows 11 and Windows 10. Read: How to extract Text from Images with Snipping Tool ...