Local Binary Pattern Source Code Python