21
submitted 1 year ago* (last edited 1 year ago) by Kalcifer@lemmy.world to c/selfhosted@lemmy.world

I was thinking of setting up a home surveilance system using Frigate, and integrating it with Home Assistant. I'd probably have somewhere on the order of 10-15 1080p 30fps cameras. I'm not sure what components I should get for the server, as I am unsure of the actual processing requirements.

EDIT 1: For some extra information, I did find that Frigate has a recommended hardware page.

you are viewing a single comment's thread
view the rest of the comments
[-] m1st3r2@butts.international 5 points 1 year ago

Would you say that 15FPS is a good framerate for surveilance? Or could one get away with even less to lessen the resource requirements?

If doing CPU-based motion analysis, you could use a lower quality stream (if available from the cameras to avoid transcoding load) for motion detection, then use that to trigger recording on a higher quality stream.

[-] trankillity@lemmy.world 3 points 1 year ago

This is exactly what I do. Record at 15FPS, event detection at 5FPS (at quarter resolution too).

[-] Kalcifer@lemmy.world 1 points 1 year ago

you could use a lower quality stream (...) for motion detection, then use that to trigger recording on a higher quality stream.

Brilliant idea! Thank you for the suggestion!

If doing CPU-based motion analysis

Whyd do you specifically mention CPU-based motion analysis? Does this idea not work with the Google Coral TPU, for example?

[-] m1st3r2@butts.international 1 points 1 year ago

I'm using ZoneMinder on my end with more rudimentary motion detection, hence CPU detection. (My current hardware is pre-IOMMU on the mobo, so no pci passthrough for me...)

That said, if you have hardware that can handle X (via CPU, GPU, TPU, etc), then you gotta decide how you want to spend that. Whether resources are spent more in analysis fps or evaluating higher detail frames is up to what you need.

this post was submitted on 05 Jul 2023
21 points (92.0% liked)

Selfhosted

40359 readers
213 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS