Adding more than one Python-Postprocessor

In Progress

Comments

1 comment

  • Avatar
    Josef Joubert

    Hi, thank you for your question.

    First off, this EVS demo was made a while ago, and the AI Manager has been updated since then. I'm not sure it will still work properly, but it might. Check out our integration SDK repo for the latest compatible examples:
    https://github.com/scailable/sclbl-integration-sdk

    To have multiple postprocessors at the same time, you will have to check a couple of things. 

    1. Make sure each has a unique name in the CMakeLists.txt file, for example:
      add_custom_target(example-1 ALL
      and
      add_custom_target(example-2 ALL
      this will ensure that the binaries being built have separate names.
    2. Create separate entries in the `external_postprocessors.json` file in the postprocessors folder, for example:

    {    
    "externalPostprocessors": [
            {
                "Name":"Example-1",
                "Command":"/opt/networkoptix-metavms/mediaserver/bin/plugins/nxai_plugin/nxai_manager/postprocessors/example-1",
                "SocketPath":"/tmp/example-1.sock"
            },
            {
                "Name":"Example-2",
                "Command":"/opt/networkoptix-metavms/mediaserver/bin/plugins/nxai_plugin/nxai_manager/postprocessors/example-2",
                "SocketPath":"/tmp/example-2.sock"
            }
        ]
    }

    Make sure the "Name", "Command" and "SocketPath" are unique, otherwise it will not work.

    Make sure the "Command" is the same as the name you gave the example in the CMakeLists.txt

    0
    Comment actions Permalink

Please sign in to leave a comment.