[facerec] adding string info to model's labels

same as #2705 but for master
I used the same approach as `features2d` does, see `modules/features2d/src/features2d_init.cpp`