I hope your partner's project goes great.
Well, if it doesn't, I'll be in the dog house. ;-)
OpenCV python script
At this time this is not possible. Python scripting is something we are working on, but is not yet available.
@dusx yes, I have done this, libraries are not needed to do the maths, but on the end we can only draw with Euler.