depthai-experiments icon indicating copy to clipboard operation
depthai-experiments copied to clipboard

Add Disparity Confidence Slider to Gen2 WLS Example

Open Luxonis-Brandon opened this issue 3 years ago • 0 comments

In Gen2 depthai_demo.py there is a disparity confidence slider (scales from 0 to 255). It allows one to "tune-in" between false-positive and false-negatives. Examples below for my ceiling in the background:

image image

This would be very interesting to play with in the WLS example: image

As you can see that my ceiling isn't quite captured with the standard disparity confidence threshold, but from the depthai_demo.py Gen1 example the ceiling actually can be mostly/accurately estimated.

And likely the disparity confidence being a bit too low for this environment is a bit of the cause of the flashiness of my ceiling shown below: https://youtu.be/IEqg0R2xA3g

Luxonis-Brandon avatar Mar 10 '21 23:03 Luxonis-Brandon