OCR in Shortcuts.app better than in Preview.app

I have a problem with shortcuts. I try to build a shortcut for recognizing some words and numbers in JPEG files. I noticed that if I select all the text in Preview app some words can be found that Shortcuts text extraction command cannot return.
do you know if his is normal? Is it possible to use preview extraction in shortcuts ? Thanks