Well luckily it sounds like @Lambchops has everything figured out so I will stop contributing and we can all let him show us how its done!
Well, python script is better for research purposes (quick development) to test how to make it work.
C++ code is better for production. That will be a small birany code with minimal required to work properly. Also that C++ code will be included into final application. But we need experiments before release production.
So, both ways are useful.
But no one is functional right now for me.