sr99622 / libonvif

Onvif library with GUI implementation and built in YOLOX
GNU Lesser General Public License v2.1
142 stars 38 forks source link

[Feature Request]Alert Notifications via Email/Telegram on Object Detection #80

Open mriamnobody opened 5 months ago

mriamnobody commented 5 months ago

Feature Description

It would be highly beneficial to include a feature where, upon the detection of predefined object classes (e.g., person), the user receives an alert notification. This notification should include the image/frame where the object was detected. Ideally, users should have the option to receive these alerts through email or Telegram.

Use Case

This feature would be particularly useful for surveillance and monitoring purposes, allowing users to be promptly informed about important detections without needing to continuously watch the video feed.

Proposed Implementation

Potential Benefits

This feature could significantly enhance the utility by integrating real-time alerting capabilities, making it a more powerful tool for surveillance and security.

mriamnobody commented 3 months ago

Hey @sr99622, I would like to draw your attention to this feature. This will be a great addon to the Libonvif tool. I see new version of the tool was released yesterday. I'll try and test it soon.

Thank you.

sr99622 commented 3 months ago

Yes, I agree that this would be a nice feature. After some light research, it seems like there are some python libraries that could do this, maybe even a WhatApp interface could work.

mriamnobody commented 3 months ago

At the moment, Libonvif is handling 90% of the tasks related to the specified feature. All that's needed now is a library to send alerts; one option is python-telegram.

mriamnobody commented 2 months ago

Hello @sr99622, I have created the said Alert Panel in GUI. I would grateful if you could please take a look. The logic to get the detected image is still work in progress. The ability to test out the telegram configuration active in it. I will make PRs