This code is a wrapper for easily using oneocr.dll, which is included in the Windows 11 Snipping Tool, in C#.
Please refer to https://github.com/b1tg/win11-oneocr by b1tg for the original C++ code.
SimpleOneOcr is an explanation of how to use it. You can input an image file or a directory containing image files.
Usage: [arguments...] [options...] [-h|--help] [--version]
Arguments:
[0] <string>
Options:
--save-result-image (Optional)
--debug (Optional)