Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can i add name of recognized person in frame? #2

Open
vrushang25 opened this issue May 24, 2018 · 1 comment
Open

how can i add name of recognized person in frame? #2

vrushang25 opened this issue May 24, 2018 · 1 comment

Comments

@vrushang25
Copy link

i tried lot but i want to know how to add cv2.puttext() function for face recognition?what is accuracy of this model?

Thank you :)

@Servo97
Copy link

Servo97 commented Jun 20, 2018

when you get the first point of the haar cascade rectangle, with reference to the first point get its coordinates, initialize the starting point of the puttext() function by providing the org parameter equal to the coordinates of the upper left point of the haar cascade rectangle. then whatever text you provide, it will appear at the upper left side of the rectangle.
If you want to place the text diagonally or vertically, refer the link:
https://stackoverflow.com/questions/25956954/using-puttext-diagonally-using-opencv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants