You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The text was updated successfully, but these errors were encountered: