Skip to content

Commit 613453a

Browse files
authored
Version 0.38.2 (#164)
1 parent ad88c98 commit 613453a

29 files changed

+547
-72
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ option(RSID_SECURE "Enable secure communication with device" OFF)
7373
option(RSID_TOOLS "Build additional tools" ON)
7474
option(RSID_PY "Build python wrapper" OFF)
7575

76+
7677
# install option
7778
option(RSID_INSTALL "Generate the install target and rsidConfig.cmake" OFF)
7879

include/RealSenseID/AuthenticateStatus.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ enum class RSID_API AuthenticateStatus
4747
Spoof_3D,
4848
Spoof_LR,
4949
Spoof_Disparity,
50-
Spoof_Surface
50+
Spoof_Surface,
51+
Spoof_Plane_Disparity
5152
};
5253

5354
/**

include/RealSenseID/DeviceController.h

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,21 @@ class RSID_API DeviceController
6969
Status QueryOtpVersion(uint8_t& version);
7070

7171
/**
72-
* Send ping packet to device
72+
* Send ping packet to device.
7373
* @return SerialStatus::Success if device responded with a valid ping response.
7474
*/
7575
Status Ping();
7676

77+
/**
78+
* Retrieve logs from the device.
79+
*
80+
* @param log String that will be filled with the device's log.
81+
* @return SerialStatus::Success on success.
82+
* @Note: Maximum log size is 128kB; therefore, this function allocates up to 128KB and can take approximately 12-14
83+
* seconds to complete.
84+
*/
85+
Status FetchLog(std::string& log);
86+
7787
private:
7888
RealSenseID::DeviceControllerImpl* _impl = nullptr;
7989
};

include/RealSenseID/EnrollStatus.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ enum class RSID_API EnrollStatus
4747
Spoof_3D,
4848
Spoof_LR,
4949
Spoof_Disparity,
50-
Spoof_Surface
50+
Spoof_Surface,
51+
Spoof_Plane_Disparity
5152
};
5253

5354
/**

include/RealSenseID/FaceprintsDefines.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,10 @@ struct ExtractedFaceprintsElement
6969
#ifdef __cplusplus
7070
ExtractedFaceprintsElement()
7171
{
72-
version = (int)RSID_FACEPRINTS_VERSION;
72+
version = RSID_FACEPRINTS_VERSION;
7373
featuresType = 0;
7474
flags = 0;
75+
::memset(featuresVector, 0, sizeof(featuresVector));
7576
}
7677

7778
ExtractedFaceprintsElement(const ExtractedFaceprintsElement& other)

include/RealSenseID/Version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#define RSID_VER_MAJOR 0
1111
#define RSID_VER_MINOR 38
12-
#define RSID_VER_PATCH 0
12+
#define RSID_VER_PATCH 2
1313

1414
#define RSID_VERSION (RSID_VER_MAJOR * 10000 + RSID_VER_MINOR * 100 + RSID_VER_PATCH)
1515

release_info.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"sw_version": 3800,
3-
"sw_version_str": "0.38.0",
4-
"fw_version": 607000306,
5-
"fw_version_str": "6.7.0.306",
6-
"release_url": "https://github.com/IntelRealSense/RealSenseID/releases/tag/v0.38.0",
7-
"release_notes_url": "https://github.com/IntelRealSense/RealSenseID/blob/v0.38.0/release_notes.txt"
8-
}
2+
"sw_version": 3802,
3+
"sw_version_str": "0.38.2",
4+
"fw_version": 609000301,
5+
"fw_version_str": "6.9.0.301",
6+
"release_url": "https://github.com/IntelRealSense/RealSenseID/releases/tag/v0.38.2",
7+
"release_notes_url": "https://github.com/IntelRealSense/RealSenseID/blob/v0.32.0/release_notes.txt"
8+
}

release_notes.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
Realsense ID version 0.38.2
2+
-----------------------------------
3+
* New firmware release - version 6.9.0.301
4+
* Improved TNR and TPR for Anti-Spoofing
5+
* Improved debuggability
6+
* Bug fixes
7+
* New host SW:
8+
* Get FW log feature
9+
* Added unpair option to viewer
10+
111
Realsense ID version 0.38.0
212
-----------------------------------
313
* New firmware release - version 6.7.0.306

samples/python/device_log.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
"""
2+
License: Apache 2.0. See LICENSE file in root directory.
3+
Copyright(c) 2020-2024 Intel Corporation. All Rights Reserved.
4+
"""
5+
6+
import rsid_py
7+
8+
PORT = 'COM4'
9+
10+
if __name__ == '__main__':
11+
with rsid_py.DeviceController(PORT) as d:
12+
log = d.fetch_log()
13+
with open("device.log", 'w') as f:
14+
f.write(log)
15+
print(f'Saved {len(log)} bytes to device.log')

0 commit comments

Comments
 (0)