Comments (4)
In general, the framerate might depend on how many streams you open, if you're in Debug or Release etc..
If you try the StreamRecorder app, when you extract the recorded data via recorder_console
, the code will call the check_framerates
function from utils.py
and you should see the framerate printed out.
Perhaps you could just check which value you get there.
from hololens2forcv.
Hi @fbogo ,
Thanks for the suggestion. I ran the StreamRecorder
app and check_framerates
prints out:
Average Depth AHaT delta: 460.476ms, fps: 2.172
I have been running the SensorVisualiztion
sample program in Release configuration, with only AHaT stream open and all frame processing disabled.
After running the StreamRecorder
I modified the SensorVisualiztion
app to use the the same time conversion function from StreamRecorder
app - RelativeTicksToAbsoluteTicks()
in the TimeConverter
class and got the deltas between the frames from 130 to 200 milliseconds and is consistent with system time called when the frame arrives.
I also checked that DisableEyeSelection()
does get called in the SensorVisualization
app, so the framerate must be the highest possible.
I'm trying to synchronize the depth frames with other devices, which is why I need the timestamps during runtime. Is there something I'm missing?
Why is it that I'm only getting a max of 5-7 fps, with no frame processing performed?
Thanks.
from hololens2forcv.
Hmm looks like I cannot repro (I'm getting almost 45fps).
Just to check, what's the framerate you get from recorder_console
for hand/head tracking? (should get printed together with AHAT framerate).
When you run SensorVisualization
, is the visualization of AHAT clearly at such a low framerate?
from hololens2forcv.
I ran the StreamRecorder app again just to be sure. I don't know if there was some issue with the build the last week (I am pretty sure I was running in Release mode), but I couldn't get more than 2fps.
Today I got values from 25fps to 29fps for the AHAT stream and hand/head tracking was consistently ~59 fps
This is the best one so far:
Average Depth AHaT delta: 34.231ms, fps: 29.213
Average hand/head delta: 16.752ms, fps: 59.693
In Release mode, printing out Debug logs causes the framerate to slow down to 1 to 2 fps.
In the StreamRecorder App, in Release - I stored the deltas between frames and checked it after 100 frames and there it seems to be getting close to 45 fps every time.
The AHAT visualization is sometimes visibly low (especially in Debug config).
So. right now it looks like I am getting a high enough framerate that we can use.
Thank you so much for your help! :)
from hololens2forcv.
Related Issues (20)
- Getting pixels per mm of Depth Camera
- variable sampling frequency of rgb and depth cameras in StreamRecorder application
- CameraWithCVAndCalibration runtime error: Unable to activate Microsoft Store app HOT 3
- Can I get spatial mapping directly from the Research Mode?
- PV camera frame's origin HOT 1
- Interpreting depth camera data
- Samples cannt install after the system is updated HOT 1
- Explanation about vectors in StreamRecorder
- sample code StreamRecorder can compile on unity?
- Low resolution on PV stream HOT 1
- Long Throw mode resolution
- Undistort frames from LF camera
- Any ways to extract the TSDF volume?
- A question about getting the 3D coordinates in world space coordinates system according to a pv image point HOT 1
- HOLOLENS 2 RESEARCH MODE COORDINATE SYSTEM AND ROTOTRANSLATIONS BETWEEN SENSORS
- Low-signal depth mode in the Windows 11 update
- problem with git lfs
- Internal Error when Deploying Sensor Visualization(twinapi.core.dll)
- MediaFrameReader, no FrameArrived callback
- What does head_hand_eye.csv file contains?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hololens2forcv.