Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to specify "entries" (or none of them) in configuration? #2

Open
anselanza opened this issue Jan 3, 2024 · 1 comment
Open

Comments

@anselanza
Copy link

I have a working setup where messages are being published and delivered via MQTT with no issues. I receive messages such as:

{
  "messageid" : "bd5c9e68-e6a2-4fc2-ba7a-c8aa957d8a15",
  "mdsversion" : "1.0",
  "@timestamp" : "2024-01-02T14:18:14.853Z",
  "place" : null,
  "sensor" : null,
  "analyticsModule" : null,
  "object" : {
    "id" : "18446744073709551615",
    "speed" : 0.0,
    "direction" : 0.0,
    "orientation" : 0.0,
    "inhale" : {
    },
    "bbox" : {
      "topleftx" : 68,
      "toplefty" : 244,
      "bottomrightx" : 143,
      "bottomrighty" : 321
    },
    "location" : {
      "lat" : 0.0,
      "lon" : 0.0,
      "alt" : 0.0
    },
    "coordinate" : {
      "x" : 0.0,
      "y" : 0.0,
      "z" : 0.0
    }
  },
  "event" : {
    "id" : "ea23f687-4984-406f-a8df-40ba1e02e95c",
    "type" : "entry"
  },
  "videoPath" : ""
}

The presence of the key "inhale" is all that I'm really interested in.

This is fine, but the deepstream-test5-app is throwing errors every frame where detection occurs, such as:

No entry for place0 in configuration file
No entry for sensor0 in configuration file
No entry for analytics0 in configuration file

My message config file is exactly as per the sample at https://github.com/pabsan-0/libnvds_mqtt_proto/blob/main/msgconv_config.txt but in any case even if I change (or completely remove) the contents of this file, I get exactly the same error messages.

Where are these "entries" meant to be defined? And how do I turn them off or just ignore them?

@pabsan-0
Copy link
Owner

pabsan-0 commented Jan 3, 2024

Hi!

I honestly do not remember much of this.

Can you try running a simpler pipeline such as the one I have in README.md? The packaged test apps could have some features that are colliding with your config.

PS: are you sure you're feeding the config file properly to the test app? Not sure why but I remember it was not 100% straightforward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants