Microsoft Lens is described as 'trims, enhances, and makes pictures of whiteboards and docs readable. You can use Office Lens to convert images to PDF, Word and PowerPoint files, and you can even save images to OneNote or OneDrive' and is a Document Scanner in the Photos & Graphics category. There are more than 50 alternatives to Microsoft Lens for a variety of platforms, including Android, iPhone, iPad, Android Tablet and Windows. The best alternative is Pocket Scanner. It's not free, so if you're looking for a free alternative, you could try GImageReader or Google Lens. Other great apps like Microsoft Lens are OpenScan (Free, Open Source), Open Note Scanner (Free, Open Source), ABBYY Screenshot Reader (Paid) and Crow Translate (Free, Open Source).
TextSniper is a super useful app to quickly capture unselectable text. Use it to capture and recognize text from presentations, trainings, screencasts,images, pictures, webpages, video tutorials, photos, PDFs etc. Literally from anywhere on your mac's screen.