bp_skripty/list_users.py

16 lines
352 B
Python
Raw Normal View History

2023-05-28 19:00:11 +00:00
"""
License: Apache 2.0. See LICENSE file in root directory.
Copyright(c) 2020-2021 Intel Corporation. All Rights Reserved.
"""
import rsid_py
PORT='/dev/ttyACM0'
if __name__ == '__main__':
with rsid_py.FaceAuthenticator(PORT) as f:
#display list of enrolled users
users = f.query_user_ids()
print('Users: ', users)