I have a rig running frigate that runs all the cameras for a local business. The openvino detectors are suddenly acting up and I’m not sure why just yet. They are slow, even when there’s nothing to figure out. They just seem busy all the fucking time.

I’m troubleshooting this after hours and aside from a piece of string art being blown around a bit by the heating vents, absolutely nothing is moving. The detectors have no fucking idea what it is which does amuse me on some level but there’s another layer of absurdity to this.

This is starlight shop that used to be a funeral home. The computer is trying to detect things and seemingly overwhelmed by the attempt even where there is no motion for it to detect objects in. It sees nothing but it doesn’t trust it.

The computer is trying to comprehend ghosts.

I should do cocaine about it.

sudo dnf install cocaine

  • just_another_person@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    12 hours ago

    So just…turn them off.

    If you didn’t know, detection runs all the time for anything of this sort unless you have what we call “predetection filters”.

    If you don’t have predetection on video, EVERYTHING gets evaluated. So you pare down what is to be detected by certain, faster events.

    Motion detection is probably the most basic because it’s done very quickly in software, and almost certainly by ffmpeg, costing very little in system resources.

    If your machine is struggling with however many feeds you have, do this:

    1. Reduce the frame rate each camera sends to the minimum acceptable level
    2. Set image compression to the minimum acceptable level, and whatever your hardware is fastest at (read: not RAW anything)
    3. Set a motion filter to only run model detection AFTER motion detection

    That should sort you out.

    • muusemuuse@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      12 hours ago

      So in earlier troubleshooting I set detectors to false and they ran anyway. The detectors were running fine until last week effortlessly. I was evaluating their stability for a future feature.

      • just_another_person@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        12 hours ago

        What else is using resources if you stop Frigate for 15m. Give me a general picture of the system resources and CPU as well. It’s Intel, obviously, but what’s the whole system look like?