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

issue regarding face id and rectangular box for recognized face #31

Open
sai0905 opened this issue Jul 22, 2020 · 0 comments
Open

issue regarding face id and rectangular box for recognized face #31

sai0905 opened this issue Jul 22, 2020 · 0 comments

Comments

@sai0905
Copy link

sai0905 commented Jul 22, 2020

I have followed this for realtime face-recognition using flask. I am capturing the image from frontend and accessing it in backend for recognizing. It is not displaying the face id for the image captured. Please help me to solve this issue.

Code:
if flask.request.method == "POST":
image = request.files["image"]
npimg = np.fromfile(image, np.uint8)
file = cv2.imdecode(npimg, cv2.IMREAD_COLOR)

i have written the above code to get the image captured.

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

1 participant