Commit 463e50f3 authored by A.I.P. Balasuriya's avatar A.I.P. Balasuriya

Recognize edit

parent 32e34842
......@@ -21,7 +21,7 @@ def draw_boundary(img, classifier, scaleFactor, minNeighbors, color, text, clf):
# Method to recognize the person
def recognize(img, clf, faceCascade):
color = {"blue": (255, 0, 0), "red": (0, 0, 255), "green": (0, 255, 0), "white": (255, 255, 255)}
color = {"red": (255, 0, 0), "red": (0, 0, 255), "green": (0, 255, 0), "white": (255, 255, 255)}
coords = draw_boundary(img, faceCascade, 1.1, 10, color["white"], "Face", clf)
return img
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment