Skip to main content

RealSenseID(TM)

Project description

Intel® RealSense™ ID Python SDK

Intel RealSense ID is your trusted facial authentication on-device solution.

Intel RealSense ID combines an active depth sensor with a specialized neural network designed to deliver an intuitive, secure and accurate facial authentication solution that adapts over time. This solution offers user privacy and is activated by user awareness. Built-in anti spoofing technology protects against attacks using photographs, videos or masks.

Intel RealSense ID is a natural solution simplifying secure entry for everyone, everywhere. Supports children to tall adults and designed for Smart Locks, Access Control, PoS, ATMs, and Kiosks.

Developer kits containing the necessary hardware to use this library are available for purchase at store.intelrealsense.com. See information about the Intel RealSense ID technology at https://www.intelrealsense.com/facial-authentication/

For high-level architecture, see Intel RealSense ID F450 / F455 Architecture Diagram.

Note: Device = Intel RealSense ID F450 / F455

Installation

You should install the version that matches the firmware version currently running on the device. Please refer to the RealSenseID releases page: https://github.com/IntelRealSense/RealSenseID/releases

pip install realsenseid==<version>

Code samples

For a full listing of samples, please refer to: https://github.com/IntelRealSense/RealSenseID/tree/master/samples/python

Authentication:

import rsid_py

PORT='COM9'

def on_result(result, user_id):
    print('on_result', result)    
    if result == rsid_py.AuthenticateStatus.Success:
        print('Authenticated user:', user_id)

def on_faces(faces, timestamp):    
    print(f'detected {len(faces)} face(s)')
    for f in faces:
        print(f'\tface {f.x},{f.y} {f.w}x{f.h}')    

if __name__ == '__main__':
    with rsid_py.FaceAuthenticator(PORT) as f:
        f.authenticate(on_faces=on_faces, on_result=on_result)

User Enrollment:

import rsid_py

PORT='COM9'

def on_result(result):
    print('on_result', result)    

def on_progress(p):    
    print(f'on_progress {p}')

def on_hint(h):    
    print(f'on_hint {h}')

def on_faces(faces, timestamp):    
    print(f'detected {len(faces)} face(s)')
    for f in faces:
        print(f'\tface {f.x},{f.y} {f.w}x{f.h}')    


if __name__ == '__main__':
    with rsid_py.FaceAuthenticator(PORT) as f:
        user_id = input("User id to enroll: ")
        f.enroll(user_id=user_id, on_hint=on_hint, on_progress=on_progress, on_faces=on_faces, on_result=on_result)

        #display list of enrolled users
        users = f.query_user_ids()
        print('Users: ', users)

Legal

Copyright © 2018-2024 Intel Corporation

LEGAL NOTICE: Your use of this software and any required dependent software (the “Software Package”) is subject to the terms and conditions of the Apache 2.0 License for the Software Package, which may also include notices, disclaimers, or license terms for third party or open source software included in or with the Software Package, and your use indicates your acceptance of all such terms. Please refer to the “third-party-programs.txt” or other similarly-named text file included with the Software Package for additional details.

Intel is committed to the respect of human rights and avoiding complicity in human rights abuses, a policy reflected in the Intel Global Human Rights Principles. Accordingly, by accessing the Intel material on this platform you agree that you will not use the material in a product or application that causes or contributes to a violation of an internationally recognized human right.

Intel, the Intel logo, and other Intel marks are trademarks of Intel Corporation or its subsidiaries. Other names and brands may be claimed as the property of others.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

realsenseid-0.38.2-cp313-cp313-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.13 Windows x86-64

realsenseid-0.38.2-cp313-cp313-manylinux_2_28_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.13 manylinux: glibc 2.28+ x86-64

realsenseid-0.38.2-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12 Windows x86-64

realsenseid-0.38.2-cp312-cp312-manylinux_2_28_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.28+ x86-64

realsenseid-0.38.2-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11 Windows x86-64

realsenseid-0.38.2-cp311-cp311-manylinux_2_28_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.28+ x86-64

realsenseid-0.38.2-cp310-cp310-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.10 Windows x86-64

realsenseid-0.38.2-cp310-cp310-manylinux_2_28_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.28+ x86-64

File details

Details for the file realsenseid-0.38.2-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: realsenseid-0.38.2-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for realsenseid-0.38.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ed70f93512c02af30f5939744863ee74261d623a1f057d0dbab0bceb7e0cd41c
MD5 4e6371e02d52e96a888b7856b833fcb5
BLAKE2b-256 ae57b21ef85d19d19bec40cadc7987e29948295b4eb0d0fdc13c62156244414e

See more details on using hashes here.

File details

Details for the file realsenseid-0.38.2-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: realsenseid-0.38.2-cp313-cp313-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: CPython 3.13, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for realsenseid-0.38.2-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b49066d6cc631c4ab647cb99a09c376c410ffa7126ecf9a0a113d9dcb961fdeb
MD5 9f297a7b1d56503e79cfa5ac224d3f33
BLAKE2b-256 15cfa1b1517d2ebd766e30ebad19d4f6e45952f71c257b410ee4ceea478b0754

See more details on using hashes here.

File details

Details for the file realsenseid-0.38.2-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: realsenseid-0.38.2-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for realsenseid-0.38.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 afa8a4ecae5a2487d6a8c71e76ed11553b0c471ff1db42d5b8e6e5f991067244
MD5 430c360a414443b5d7be396d091a8d56
BLAKE2b-256 e40bd8b646d4cd5af95088a3de36d010e2dfc7c6f42a66e3b4c664864ecadc51

See more details on using hashes here.

File details

Details for the file realsenseid-0.38.2-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: realsenseid-0.38.2-cp312-cp312-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: CPython 3.12, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for realsenseid-0.38.2-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 75aa47c6cafb0b6343e139303d5c1e92be4d20a29bf1f9f12c457a2b339f8008
MD5 97c0db3c553cf533c92bd3d52e6669d3
BLAKE2b-256 5ec37da3ed0b23b58e7e8e3fa8eadc43777f5e639a1f0b4ffc09cb36e2115f31

See more details on using hashes here.

File details

Details for the file realsenseid-0.38.2-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: realsenseid-0.38.2-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for realsenseid-0.38.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d0c12acc4ceb54da95bbd718ffe7fccd3a1276fd7e5d41ca7935501feaa96b16
MD5 1708ee2bdf2537d628fc63449c364fc0
BLAKE2b-256 693e3aa30cbbc07087aa6b32c1aa56b04e5ff1970257f7b3a41019e11d26ebc5

See more details on using hashes here.

File details

Details for the file realsenseid-0.38.2-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: realsenseid-0.38.2-cp311-cp311-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: CPython 3.11, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for realsenseid-0.38.2-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0bf58801cb1558bdcc5f126335dead7376c31ae59a6309aefefb70dfe7b08788
MD5 96fb4934c4aa5fa09fe2cd6968ab58f8
BLAKE2b-256 280c4d2980de585a4998252f05dfa135b20fe664c237b95d82a8684f58cccdc9

See more details on using hashes here.

File details

Details for the file realsenseid-0.38.2-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: realsenseid-0.38.2-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for realsenseid-0.38.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 57b8eb67239090bb9dbaa1192fa3d9e194610160ff5563039dc298fc12516f45
MD5 cafb9fcacca588870a4e72dab639c68e
BLAKE2b-256 46149f42d1c24a35700feffea76577f5131a33214cac71d144d31b1653af2520

See more details on using hashes here.

File details

Details for the file realsenseid-0.38.2-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: realsenseid-0.38.2-cp310-cp310-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: CPython 3.10, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for realsenseid-0.38.2-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 61b11c6a12f6e5a15068d394fa6d0236f74afa6883114c300788e02ed1995337
MD5 e8d26e1dda2fb2beae475338880e21ee
BLAKE2b-256 4a8fc5629a1c21705f179650147b133acbf5206c444c066653cc67a56f98d3a5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page