IntelRealSense / RealSenseID

Intel® RealSense™ ID SDK
https://intelrealsense.com/facial-authentication/
Apache License 2.0
98 stars 56 forks source link

Python [NonSecureSession] Close session #124

Closed sndkonstantin closed 3 years ago

sndkonstantin commented 3 years ago

Hello! I want to use a python play with F450 RealSense. (base) PS C:\testpy> python enroll.py [2021-09-01 18:26:28.299] [debug] [WindowsSerial] Opening serial port COM9 [2021-09-01 18:26:28.300] [error] [FaceAuthenticatorImpl] Failed to open serial port. GetLastError: 2 [2021-09-01 18:26:28.300] [debug] [NonSecureSession] Close session Traceback (most recent call last): File "enroll.py", line 25, in with rsid_py.FaceAuthenticator(PORT) as f: RuntimeError: Error (base) PS C:\testpy>

sndkonstantin commented 3 years ago

Use a proper COM to avoid it ))) Try COM1,COM2,COM3......