Skip to content

[SUGGESTION] For AI Camera imx500, restrict warning 'NOTE: Loading network firmware ...' #1353

@signag

Description

@signag

Hi,

thanks for the very instructive example code for the imx500 AI camera.

I have now integrated this into raspiCamSrv which makes AI features available in a web application and for streaming.

For AI Configuration, I am using a dialog where users can select a Task and then choose from a list of model files implementing that Task:

Image

For parsing the model files in a given folder, I am using the network_intrinsics property of the IMX500 class.

When this class is instantiated for a specific model file, an information is printed which informs about long network firmware upload times.
This note is created although at this time the neural network is not yet uploaded.

As a result, an unnecessary warning is shown in the journal for every network file being parsed:

Image

Preferred Solution

Would it be possible to use logging for this note? this would allow disabling logging output, if not required.

Alternatively, the message output could be moved to a location just before upload to the camera starts.

Alternative

Since raspiCamSrv is a web application, users won't see the message, anyway.

Instead of a message, raspiCamSrv shows an animation while the camera is starting, until the first frames are supplied by the camera:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions