FaceDetector API is only avalable in Google Chrome.
Use Google Chrome instead
Give a Try