Local realtime person detection for RTSP cameras

it comes from the mqtt /events topic

Iā€™m now using the image entity instead. It works well:

service: notify.home_telegram
data:
  title: Visitors arrived.
  message: |
    Event Details
  data:
    photo:
      - url: >-
          {{ 'http://192.168.XX.XX:8123' +
          state_attr('image.livingroom_person', 'entity_picture') }}
        caption: |
          Person in the living room.
enabled: true

Thanks for posting. I too played with the image entity, but never got that to work. Mine setup uses https so maybe thatā€™s my hangup. The notifications pulling a frame from the mjpeg work ok for now. I have other things to fix first!

I have a big (or little) problem with the new way the .13 release scans.
It picks out waaaaaaaaaaay more things than .12 did in my cameras. Notifications are up like tenfold.
Things like the timestamp being two different cars:

image
I have one of the bottom of the 5 being 73% car!
Anyone have any advice on the best way to filter this stuff out?
Could I do it by number of pixels? Percentage of confidence? Something else?
Reading the docs to see, but really wondering what others have experienced and what worked best.

Thanks

Mask static objects like time display

For notifications I simply have condition that requires above xx%. Since it is a condition of Automation it can be adjusted based on time of day or other factors.

Zones. Create zone of hot areas when possible and notify or donā€™t notify for that area

Thanks for the reply.
The time is actually already masked, but for motionā€¦so I guess motion was seen somewhere else and it can still detect there.

Great idea about the condition requiring over a certain percentage. Iā€™ll have to try that.

I played with zones a year or so ago and didnā€™t see much benefit. Iā€™ll have to revisit and rethink.

Thanks

Hi,

I have a camera with these settings:

image
image

when i look at the stream i see the jsmpeg with lower resolution without any delay, but the mse and the webrtc have 2-3sec jump, any ideas on what I can do to fix that?

this is my config

go2rtc:
streams:
#camera1_main:
camera1:
- rtsp://user:/videoMain
camera1_sub:
- rtsp://user:/videoSub
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/camera1
input_args: preset-rtsp-restream
roles:
- record

- path: rtsp://127.0.0.1:8554/camera1_sub
  input_args: preset-rtsp-restream
  roles:
   - detect
output_args:
  record: preset-record-generic

live:
stream_name: camera1

detect:
enabled: True
width: 1280
height: 720
fps: 5

$179 for the eval kit. 26 TOPS vs the 2 or 4 of a Coral.

I canā€™t find the context for your message, but am intrigued. Which eval kit are you talking about?

Oh, I hit reply to someone mentioning the Hailo.ai product. They have an m.2 eval kit. Order Hailo-8 Starter Kit | Hailo AI Processing Technology

Anyone using usb google coral on xcp-ng?

I donā€™t know how to passthrough to my virtual machine?

Can anyone help me?

It might be interesting to check also the Hailo HAT for Raspberry PIs: Raspberry Pi Selects Hailo for Raspberry Pi 5 

Hi,

Iā€™m struggling with reolink 810a camera.
It seems that I canā€™t get the main stream, the video quality seems the sub stream also for UI and recording.

with VLC I see the right statistics and video quality, but when I look at the frigate UI the resolution of the video is lower

Any suggestions is really appreciated

image

camera:
  - rtsp://user:[email protected]:554/h264Preview_01_main
camera_sub:
  - rtsp://user:[email protected]:554/h264Preview_01_sub

camera:
  enabled: true

  ffmpeg:
    inputs:
      - path: rtsp://127.0.0.1:8554/camera
        input_args: preset-rtsp-restream
        roles:
          - record

      - path: rtsp://127.0.0.1:8554/camera_sub
        input_args: preset-rtsp-restream
        roles:
          - detect
    output_args:
      record: preset-record-generic

  live:
    stream_name: camera

  detect:
    enabled: true
    width: 640
    height: 360
    fps: 5

Anyone on version 0.14 know how to export recordings where there were no detections? Like say I want to grab something from 200 to 205 four days ago.
Is that no longer possible? I know you could do it in 0.13.2

From the main dashboard: Select Camera ā†’ History Button ā†’ Choose day in Calendar ā†’ Export ā†’ Choose on timeline or custom time

1 Like

I have the 810WA (Wireless Version). Shouldnā€™t the main feed be h265?

camera:
  - rtsp://user:[email protected]:554/h265Preview_01_main

Thanks for that. Iā€™ll try it out

on some reolink cameras if you lower the resolution it will use h264

Ah, I completely missed that he wasnā€™t using 4k on the main feed.

Has anyone using Frigate 0.14 noticed this behavior?

Occasionally, the clips at the top of the mail view are missing, even though the review page shows a list of alerts and detections