I had the problem that the Recognize app was working a bit sluggish with the mixed approach of having buttons in the app administration and the instructions with occ commands. None of it was working well, and also not the combination of it.
I had it up and running once, the it somehow got stuck and did not recognize new faces. So i decided to âresetâ the app, remove all existing faces and clusters and start from scratch. This did not work at all. I ended up with a Recognize app that only recognized new photos and only added the new faces to the clusters. The old photos, around 130k, were not recognized anymore, not even after waiting a few weeks.
So I made a backup of all database tables with âoc_recognize_â, then truncated those and started all over. Also this did not work. But i found some recognize entries in the âocc_appconfigâ table of nextcloud itself with already filled in values for âclusterFaces.lastRunâ, âfaces.lastFileâ, âImagenet.lastFileâ, âmovienet.lastFileâ, âmusicnn.lastFileâ, landmarks.lastFile" and set them all to zero (0).
It seems that Recognize âremembersâ forever in the âoc_appconfigâ table where it last stopped and what it recognized already, making it impossible with app buttons or occ commands to start all over, since it clearly just continues with the newly uploaded pictures. In other words: there is NO (easy available) hard reset!
Once I tuncated all âoc_recognize*â tables and ADDITIONALLY deleted the last run Files from âoc_appconfigâ, Recognize finally started all over again and now (after 4 days!) has all the files to recognize in place and shows faces from old photos again.
This app might needs some serious overhaul and some better explanation parts, in my opinion
ps: If you try this, please make a backup of your existing database tables and values first! Good luck!