confidence value in face recognition opencv3.1.0
i used opencv face recognition .But when i take confidence value TypeError: 'int' object is not iterable error in my code.How should i take conf value in opencv python 3.1.0??