this post was submitted on 29 Jul 2024
16 points (94.4% liked)

Python

6471 readers
5 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

πŸ“… Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
πŸ’“ Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 2 years ago
MODERATORS
 

cross-posted from: https://lemmy.ml/post/18540661

Hi,

I'm looking for a software similar to ZoneMinder
https://lemmy.ml/post/18530232

But it seem that ZoneMinder become slowly outdated, php etc..

I've found a couples of alternatives ( hard choice as the limitations of use are often buried deep )

It seem that openCV is really famous for AI Computer vision, So I would be surprise if there were no Python program to manage cameras like a ZoneMinder !?

Do you know any ?

Thanks.

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 4 months ago (1 children)

I would look into frigate - it uses openCV and is also written in Python. Very popular with Home Assistant users.

[–] hosaka 1 points 4 months ago

Also allows you to use hardware acceleration for inference. Quite a comprehensive set of tools actually, also the new revamped UI is on the horizon with version 0.14

[–] [email protected] 1 points 4 months ago

I'm guessing you might be trying to edit the software to do something else as well, in which case it might be possible to embed Python somehow or get it to call another program.

It seems like you want to do some kind of facial recognition. That feels a bit out of my league if I'm honest, but I can tell you the sort of thing I would probably try to do if I had to do that.

You'd want some footage from when someone's face was close to the camera, so you could try getting snapshots of when there was a lot of motion in the video, then save those to some folder as pictures.

Once you have those pictures, it sounds a lot easier to try to run some complicated facial recognition algorithm on them than just "using the right camera software".

Presumably the CCTV is controlled by some server, so I would get the server to then handle the facial recognition separately, either on a schedule or soon after the motion close to the camera. An underlying facial recognition software could hopefully be called as part of a shell script on the server.

If that's the problem you're trying to solve, I think I broke it down into a few subproblems, which might help. I might be a bit wrong though because I have no experience doing anything with CCTVs.

[–] onlinepersona 0 points 4 months ago* (last edited 4 months ago)

Is there a reason it must be Python? There are a few alternatives here

Anti Commercial-AI license