Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ML integration #1

Open
nbartos opened this issue Dec 10, 2021 · 2 comments
Open

ML integration #1

nbartos opened this issue Dec 10, 2021 · 2 comments

Comments

@nbartos
Copy link

nbartos commented Dec 10, 2021

From what I can tell @alexyao2015, your container structure is the best long-term supportable way to run ZM and ES, the only issue is that it doesn't include ML. Based on https://github.com/zoneminder-containers/zoneminder-base/blob/main/README.md, it looks like you have a plan for this. Would you happen to have anything in WIP? If not, would you happen to have some notes about what you have planned? I may have some time in the next few weeks I could devote to helping out.

I'm new to ZM, and I'm not sure what the best way to handle this would be. There seem to be various implementations. Would it make sense to use https://github.com/themoosman/mlapi as a separate container and have eventserver-base allow configuration to connect to it? Or is it better to have a new container based on eventserver-base which adds the necessary bits and we'd just end up with a single container running everything?

Any guidance on this would be very much appreciated. Thanks!

@alexyao2015
Copy link
Member

Hi thanks for the message. I have put a pretty substantial amount of time figuring this all out given the extreme lack of documentation around getting what I did here working. It was my initial plan to get this all up with mlapi, however I simply haven't had the time or interest to continue to invest time into this. Additionally, I have since found frigate and plan to move to that.

If you would like to help contribute to this project, that would be excellent. My initial thoughts on this back when pliablepixels was working on this was noted in the zoneminder readme. Since then, it appears that it has been shifted over to zoneminder and varying forks have cropped up. I haven't been in the loop with that very much. It seemed like back then, the official mlapi needed to be on the same machine as the eventserver, so it would need to be based on this container.

My personal opinion with containers is if it's required with each instance of the app, bundle it. If it's not and only one instance is required (e.g. MySQL), separate it.

@nbartos
Copy link
Author

nbartos commented Dec 11, 2021

I have also looked at frigate, which looked very promising as a general project. The only problem I see with it is the apparent lack of an Android app. I am looking for mobile notifications based on persons being detected, and the ability to look at past footage. It looks like integrating with home assistant may give the notification piece, however it looks like the home assistant app doesn't have the ability to look at past video, just the event notifications. Do you plan to have mobile integration with frigate? If I can make frigate support those 2 things, I'd probably end up using it too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants