DepthAI SDK v1.1.3
In this release, we added a couple of minor improvements:
- Added
poeQuality
init parameter for PipelineManager object - determines the PoE encoding quality. Decreasing this value can reduce the display latency and improve overall FPS output for OAK-1-POE or low-throughput networks (value range: 0-100) - Fixed queues closing and variables initialization, so that multiple inits / destroys with SDK objects is possible (e.g. creating 3 instances of PipelineManager will work correctly)
- Limited the maxDataSize parameter for input queues - for image inputs, set max data size to equal nn input size, whereas for config inputs (depth config, camera configs) it's set to 1KB. This helps in limiting the memory used on the device and allows more configurations to be run
- LRC (left-right check) is now configurable during the runtime using
PipelineManager.updateDepthConfig
, settinglrc
param toTrue
if you want to enable it - Introduced
encQuality
toPipelineManager.createEncoder
method that allows to specify the encoding quality (value range: 0-100) - Added
createWindows
init param toPreviewManager
(defaultTrue
) that determines if PreviewManager will show OpenCV preview windows. If you'd like to use other preview methods (e.g. send frames over a network or store them locally), you can set this param toFalse
and use thecallback
param to provide a processing function - Added subpixel support for PreviewDecoder so that
depth
output will contain a valid disparity output if subpixel mode is enabled in stereo depth node - Added
resizeLetterbox
toutils
that allows resizing the image to a specified size, but preserve its aspect ratio, adding black borders when necessary