ZoneMinder / mlapi

An easy to use/extend object recognition API you can locally install. Python+Flask. Also works with ZMES!
Other
58 stars 34 forks source link

Training known faces #13

Closed rajil closed 3 years ago

rajil commented 4 years ago

There seems to be no way to train known faces. The code 'modules/face_train.py' seems to exist, but an example on how to invoke this will be helpful.

pliablepixels commented 4 years ago

The face training process should be the same as what you use for local hooks in the ES (outlined in the ES hooks docs).

If you are referring to a situation where the ES is running on a server where the ES is not installed, then correct, there isn't a script to initiate training from CLI as that is part of the ES. However, if you do follow the face recognition doc linked above, mlapi will initiate training on first invocation.

Clearly, there is a lot of work pending to align mlapi with the ES local hooks.

pliablepixels commented 3 years ago

supported now.