This is an attempt to get the CODESYS OpenCV Raspberry Package running on the current (or newer) Images of Raspbian.
As CODESYS opencv package for Raspberry PI was designed for older Raspbian versions, there are dependencies in the opencv Package, that cannot easily resolved on the newest Raspbian versions.
I tried something and found out that it might work like this:
This example shows, how to add python scripts in CODESYS as external files and execute them in your CODESYS application. In a similar way, you can execute virtually every other external program from your PLC application, which opens you a wide range of new possibilities.