aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo de la Hogue2022-09-28 17:26:28 +0200
committerThéo de la Hogue2022-09-28 17:26:28 +0200
commit8634cbf28592564599e22b2468bd166c7e8a9419 (patch)
tree9d30f6fea9ab46ed13256bb8b3179cdb9f7e0041
parent15d734139b8cb74cdeb5d069b7ee416b3791ea78 (diff)
downloadargaze-8634cbf28592564599e22b2468bd166c7e8a9419.zip
argaze-8634cbf28592564599e22b2468bd166c7e8a9419.tar.gz
argaze-8634cbf28592564599e22b2468bd166c7e8a9419.tar.bz2
argaze-8634cbf28592564599e22b2468bd166c7e8a9419.tar.xz
Updating fps formula for millisecond.
-rw-r--r--src/argaze/utils/tobii_stream_aruco_aoi_display.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argaze/utils/tobii_stream_aruco_aoi_display.py b/src/argaze/utils/tobii_stream_aruco_aoi_display.py
index d619faa..5529052 100644
--- a/src/argaze/utils/tobii_stream_aruco_aoi_display.py
+++ b/src/argaze/utils/tobii_stream_aruco_aoi_display.py
@@ -241,7 +241,7 @@ def main():
# Update fps each 10 loops
if loop_counter >= 10:
- fps = loop_counter / elapsed_time
+ fps = 1e3 * loop_counter / elapsed_time
loop_chrono.restart()
# Draw focus area