
<SYSTEM_TASK:>
Given the following text problem statement, write Python code to implement the functionality described below in problem statement
<END_TASK>
<USER_TASK:>
Problem:
face detector using haar cascade

<ASSISTANT_TASK:>
Python Code::
import cv2
import numpy as np
face_cascade = cv2.CascadeClassifier('haarcascade_frontalface_default.xml')
faces = face_cascade.detectMultiScale(image, 1.3, 5)
for (x,y, w, h) in faces:
	start_point , end_point = (x, y), (x+w, y+h)
	cv2.rectangle(image, pt1 = start_point, pt2 = end_point, color = (255,0, 0), thickness = 2)
cv2.imshow('img', image)

<END_TASK>
