@jakaskerl
i have been trying to implement it for two days with depthai_sdk==1.15.0 and for some reason whenever i try to print replay.frames it always show that there is 0 frames but when i print replay.getstreams i get my color,left,right streams
therefore i tried to downgrade towards depthai_sdk==1.9.4 and i can find my frames, is this a problem with the newest version of the sdk?
if args.replay:
pipeline = tracker.get_pipeline()
replay = tracker.get_replay()
with dai.Device(pipeline) as device:
replay.createQueues(device)
tracker.set_Device(device)
tracker.get_Queues()
while replay.sendFrames():
print("HERE")
print(replay.disabledStreams)
print(replay.getStreams())
print(len(replay.frames))
rgbFrame = replay.frames['color_in']
frame, body = tracker.next_frame(rgbFrame)
print(frame,body)
if frame is None:
break
# Draw 2d skeleton
frame = renderer.draw(frame, body)
key = renderer.waitKey(delay=1)
if key == 27 or key == ord('q'):
break
i get this using the old version :
HERE
[]
['color', 'left', 'right']
3
and this with the newest one :
[]
['color', 'left', 'right']
0
UPDATE : i found out that starting from depthai_sdk==1.9.5 i get 0 frames and for before 1.9.5 i get 3 frames