Erik, thanks!
Another question, how can i sync the OAK-D frame with other sensor? What is the relation between getTimestamp() and the Unix Epoch Time, that is return from time.time()?
The document says getTimestamp() "Retrieves image timestamp related to dai::Clock::now()" which is not very clear to me.
I tried to print the value this way,
print(f'frame time:{inRgb.getTimestamp().total_seconds()} system time:{time.time()}')
I got,
frame time:34903.997688 system time:1646176426.1729233
It looks the the timestamp is since the machine reboot, is that right. So I can get the constant shift by
shift = time.time() - depthai.Clock.now().total_seconds()
Then add the shift to getTimestamp() to get the timestamp in the unix epoch time. Right?