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.
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.