Hi,
I am running the example code found here: https://github.com/luxonis/depthai-python/blob/b1504d6e37e78c1a4dbc00d2fbb34dd9b47266c9/examples/depth_preview.py#L1
To get it to work, I changed the q.get() line to q.tryGet() and enclosed the following code in an if statement to check for valid data. Then, I added a call to device.startPipeline() and bypassed the call to depth.getMaxDisparity(). Here is the commit with the changes: https://github.com/collinbrake/depthai-python/commit/a55de98dffe6f6f2bd6dd6fc49d4d3ae4e3e5b9a
q.get()
q.tryGet()
device.startPipeline()
depth.getMaxDisparity()
Does anyone know why this was necessary, in particular why the call to getMaxDisparity() did not work?
getMaxDisparity()
Thanks! Collin
Collin We're checking internally with the team if we can reproduce. Just to double-check, did you run install_requirements.py first?
Thanks, Karolina
Luxonis-Karolina Thanks, that fixed it.