Commit Graph

3 Commits (1357ca7a91b37165fd0ee1bfe7cc585a897ebb46)

Author SHA1 Message Date
Matias De lellis 7209c49105 Face Recognition: Fix query to not show individual clusters
It was working incorrectly since my last PR. Sorry.
Note that may seem useful to show them all, but it ends up being a
never-ending task that annoys the user.

On the other hand, I made two public functions to improve the
readability of the controller code.
2023-02-14 20:59:30 -03:00
Matias De lellis 3b29328377 Fix FaceRecognition integration doesn't work with postgresql database.
Following the discussion in #304, I tried this solution using the
strict mode of mariadb/mysql.

Split the Clusters and People queries to minimize the considerations
of both functions. Otherwise I had to add many nested ifs.

Also change to only show 15 clusters (as a small optimization) since
there is no point in showing everything, and it is better to show these
little by little.
2023-02-02 22:28:59 -03:00
Matias De lellis aeffe628f2 Integration with facerecognition 2022-12-08 13:07:14 -08:00