Hi there,
Having trouble getting OpenCV to do anything; I think I'm missing something obvious.
Server is Windows 2016, IIS10, PHP 7.2.
I've installed Python, NumPy and OpenCV:
E:\>python
Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
>>> print cv2.__version__
3.2.0
I've changed the "Named Person(s)" field to be a Dynamic Keywords List, and identified it's ID as 29.
I've created a folder and given the IIS anon user write access to it, as well as Everyone (for testing purposes because I'm desperate now)
I've set config.php to enable facial recognition:
# facial recognition config
$python_path = 'c:/python27';
$facial_recognition = true;
$facial_recognition_tag_field = 29;
$facial_recognition_face_recognizer_models_location = 'e:/faceRecogniserData';
Here's what's not working.
- Adding an annotation: I can highlight a face manually, select a keyword and save it, but it doesn't persist.
- Running the facial_recognition_trainer.php does absolutely nothing.
- I can manually set the Named Person(s) field by editing metadata but it doesn't seem to apply to the face(s) in the picture.
There appears to be nothing in the activity log; adding an annotation doesn't appear to register anything in the log even if I have debug logging set.
Anyone have any ideas what I'm doing wrong?
Thanks,
Matt