Document Layout Analysis Python