Doesn't work
Latest docker build. Get this in the face recognition settings:
Configuration information
Current model: Not installed
Maximum memory assigned for image processing: Not configured.
Seems that you still have to configure the assigned memory for image processing.
I have set MEMORY_LIMIT to 1G and it is also reported correctly by phpinfo.
phpinfo also correctly reports pdlib to be available.
face recognition app is 0.9.5
sudo -u www-data php occ app:enable facerecognition
Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 442368 bytes) in /var/www/html/3rdparty/composer/autoload_real.php on line 35
free -h total used free shared buff/cache available Mem: 7.4Gi 3.1Gi 218Mi 85Mi 4.1Gi 4.0Gi Swap: 1.0Gi 1.0Gi 12Mi
Ok, so one needs to set the MEMORY LIMIT and the model by hand:
sudo -u www-data PHP_MEMORY_LIMIT=1G php occ face:setup -M 1G sudo -u www-data PHP_MEMORY_LIMIT=1G php occ face:setup -m 3
Ok, so one needs to set the MEMORY LIMIT and the model by hand:
sudo -u www-data PHP_MEMORY_LIMIT=1G php occ face:setup -M 1G sudo -u www-data PHP_MEMORY_LIMIT=1G php occ face:setup -m 3
where to keep those settings? run in terminal or put it in docker-compose file?
thanks