github roflcoopter/viseron v1.4.0b1
1.4.0.b1 - Zones!

latest releases: v3.0.0b11, v3.0.0b10, v3.0.0b9...
pre-release4 years ago

Changes and new Features

  • Zones are here! Functionality is somewhat limited atm but i need some testers on this as its quite a big refactor.
    You can now configure zones for each camera and specify labels to track per zone.
    This is not reflected in the documentation just yet, but here is an example:

    cameras:
      - name: name
        host: ip
        port: port
        path: /Streaming/Channels/101/
        zones:
          - name: zone1
            points:
              - x: 0
                y: 500
              - x: 1920
                y: 500
              - x: 1920
                y: 1080
              - x: 0
                y: 1080
            labels:
              - label: person
                confidence: 0.9
          - name: zone2
            points:
              - x: 0
                y: 0
              - x: 500
                y: 0
              - x: 500
                y: 500
              - x: 0
                y: 500
            labels:
              - label: cat
                confidence: 0.5

    A polygon will be drawn on the image using each point. Atleast 3 points have to be supplied.
    If you are using Home Assistant Viseron will publish an image to the camera entity over MQTT
    with zones and objects drawn upon it.
    The drawing and publishing takes some processing power so in the coming beta releases this will be configurable.

    A few new binary sensors will also be created, one for each zone and one for each label in the zone.
    The zone binary sensor will turn on when atleast one tracked object is in the zone.
    The label binary sensor will turn on when atleast one matching object is in the zone.

Docker images are available on Docker Hub
roflcoopter/viseron:dev
roflcoopter/viseron-cuda:dev
roflcoopter/viseron-vaapi:dev
roflcoopter/viseron-rpi:dev

Don't miss a new viseron release

NewReleases is sending notifications on new releases.