I am running an executable that outputs with cv.imshow() window and I am hopping to use Opencv to pull those frames into a python program.
no, that’s impossible.
well, you need an image, if you want to show it, rather send that to your python program (how ?) before you call imshow() with it
there also are screen capture modules in python, like PIL’s ImageGrab and pyautogui