refactored pull request

Hi Jimmy, see if the modifications are suitable:

http://alexlib.github.io/docs/

if yes, please apply and then we can regenerate the pull request to the openptv/openptv-python