Convert Apple Shortcut to Keyboard Maestro

Can someone please convert these two Apple shortcuts to Keyboard Maestro? I’m a complete beginner with Keybord Maestro.


Here is an example for the first one:

Shortcut Example.kmmacros (2.9 KB)

I wasn't clear on what the second one was doing.

For the second ‘problem’ I found.
https://forum.keyboardmaestro.com/t/ocr-selected-region-macro-km10/24627/3

I think I would do it a little differently:

This would automatically change any image in the clipboard into text, once you turn on the Enable flag, of course.