Process Images with Python

Hi!
How would I go about using opencv in blenders compositing context.
Are there some resources about processing images with python in blender?

Thanks for your time.