@MichaelBerger hi,
Please do send the videos over / upload them to drive or something like that. My email: filip.jeretina@luxonis.com

I am thinking this could be a problem with data throughput - since the viewer has a timeout of 200ms between messages and if no new messages are received in this time, the viewport is cleared. This could explain the viewport going crazy behaviour. Then the app crashes because I think you found an edge case in the code (when there are no views in the viewport and we try to lay them out) … : )

Could you try lowering the camera fps to something like 5 fps just as a test to see if the issue dissappears?

@filipjeretina

I just sent you the first email. I will continue to send emails with the additional videos. they are to large to send all at once, but all the videos will be in the same email chain.

@filipjeretina ,

Running it at 5 FPS seems to prevent it from crashing. I attempted to replicate what I did earlier but I could not replicate the viewing window spam sadly.

Nice! @michaelsalerno thanks for trying it out.. Now - I think you should be able to push a few more FPS something like 10-15 perhaps… Hope this works for you. The same can be applied to the demo app, or better yet - if you are using a usb device, you could limit the USB speed to HIGH (USB2) in the device constructor.

@jakaskerl @filipjeretina ,

Is there a way to get real world measurements from the Depthai Viewing interface? I am curious to know if I would be able to directly get, or be able to calculate based on the information from the viewer. Please let me know if this is available.

    michaelsalerno
    I am not entirely sure what you are referring to in regards to real world measurements. Could you expand?
    You can see the depth measurement for a point when you hover over the depth image, if this is what you meant?

    @filipjeretina ,

    Thank you for your assistance for the previous question, it will be really helpful and useful.

    In regards to measurements, although the depth measurement is useful, I was curious if it was able to determine what the size of something is at depth, for instance, knowing that someone who is 6 meters away is 6 feet tall, rather than just 2 inches tall according to pixel values. Please let me know if this makes sense.