# Revision history [back]

### Android: how to use detectMultiScale()

Hi and thanks for your help.

Sorry for the poor question.

I want to use detectMultiScale() to detect face features of picture of a face.

I understand that I have to use the detectMultiScale() method of CascadeClassifier class.

I do not understand how the method works:

 public void detectMultiScale(Mat image,MatOfRect objects)


Takes Mat image as an input I understand that.

Now how do I access the returned result????

I do not understand because I see "MatOfRect objects" as an input, not an output of the method.

Sorry again for the possibly silly question and thanks for your help!