i have a Matlab code that i want convert in Python code.
if iframe == 1 faceDetector = vision.CascadeObjectDetector; faceRect = faceDetector