evercam / ex_nvr

Video recording and computer vision for edge devices
https://evercam.github.io/ex_nvr/
GNU Affero General Public License v3.0
33 stars 6 forks source link

ExNVR and machine learning #130

Open gBillal opened 10 months ago

gBillal commented 10 months ago

Bring machine learning to ex-nvr, try a machine learning model (object detection, face detection, motion estimation, ...etc.) The final result may be as follows:

How to include ML in Elixir:

marcoherbst commented 10 months ago

My ask on this task is to do the absolute minimum amount of decision making in order to show an end-to-end working solution.

I believe a path to that would be to take inspiration from: https://culttt.com/2023/01/26/video-object-detection-elixir-nx-bumblebee

And replace the MP4 (or even don't !! ... let it run on recordings ??) Use his UI completely as is , in a new tab.

Of course this is only intended as a proof of concept and would not get into the main branch but it would still establish a lot of the basic ideas and get us familiar with the dependencies etc. etc. with, I hope, minimal effort or decision making required.

marcoherbst commented 5 months ago

My current thinking on this: Run the Evercam Big Model at low fps (1 per min?) to detect the presence or abscence of different types of equipment over the timeline.