Skip to content

Noisy calibration logs #6

@itsderek23

Description

@itsderek23

When running the calibration script, DepthAI generates a lot of log messages that don't impact the user.

In this example, I'm running calibration for a single polygon position. This generates 79 log lines (to be clear, it's not 79 per-polygon as a number of these are ran at start/stop). Error messages that the user needs to know can easily get lost. For example, in the output, the error message on line 55 is very important:

[ERROR] Missing valid image sets for 13 polygons. Re-run calibration with the
'-p 0 1 2 3 4 5 6 7 8 9 10 11 12' argument to re-capture images for these polygons.

...but an additional 24 log lines are emitted by DepthAI as the pipeline is shutdown, making the error message hard to find.

Is there a way to adjust the log level of the DepthAI pipeline?

/cc @Luxonis-Brandon

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions