Dash supports python's face_recognition?

Dash supports python’s face_recognition?

Hey @Swartedraak

You’ve labelled this Dashboards. Perhaps you may want to update it to the Dash label.

Not sure what your intended use is but a basic example works:

import dash
import dash_html_components as html

import base64
import face_recognition

app = dash.Dash()

image = face_recognition.load_image_file("image.jpg")
face_locations = face_recognition.face_locations(image)

encoded_image = base64.b64encode(open('image.jpg', 'rb').read())

app.layout = html.Div([
   html.H1("Facial Recognition"),
   html.P("I found {} face(s) in this photograph.".format(len(face_locations))),

if __name__ == '__main__':

@bcd Awesome!
Face recognition worked just fine! Thank you!
Now I want to discover how to get video.
Thanks a lot!

It can be very handy and has its applications.
Like with other choices, you need weight convenience/safety.
You should also weigh yourself if you are more confident with all sorts of third-party entities and collaborators (and the possible hackers / leakers etc.), if you want your image to be verified through facial recognition , pages that you visit, products that you purchase, etc. against your password. you should also test your hands.