我使用下面的命令成功运行OpenBR face识别。
$ br -algorithm FaceRecognition
-compare ../data/MEDS/img/S354-01-t10_01.jpg ../data/MEDS/img/S354-02-t10_01.jpg
-compare ../data/MEDS/img/S354-01-t10_01.jpg ../data/MEDS/img/S386-04-t10_01.jpg
我正在收到这样的输出。
$ Set algorithm to FaceRecognition
$ Loading /usr/local/share/openbr/models/algorithms/FaceRecognition
$ Loading /usr/local/share/openbr/models/transforms//FaceRecognitionExtraction
$ Loading /usr/local/share/openbr/models/transforms//FaceRecognitionEmbedding
$ Loading /usr/local/share/openbr/models/transforms//FaceRecognitionQuantization
$ Comparing ../data/MEDS/img/S354-01-t10_01.jpg and ../data/MEDS/img/S354-02-t10_01.jpg
$ Enrolling ../data/MEDS/img/S354-01-t10_01.jpg to S354-01-t10_01r7Rv4W.mem
$ 100.00% ELAPSED=00:00:00 REMAINING=00:00:00 COUNT=1
$ 100.00% ELAPSED=00:00:00 REMAINING=00:00:00 COUNT=1
$ 1.8812
$ Comparing ../data/MEDS/img/S354-01-t10_01.jpg and ../data/MEDS/img/S386-04-t10_01.jpg
$ Enrolling ../data/MEDS/img/S354-01-t10_01.jpg to S354-01-t10_01r7Rv4W.mem
$ 100.00% ELAPSED=00:00:00 REMAINING=00:00:00 COUNT=1
$ 100.00% ELAPSED=00:00:00 REMAINING=00:00:00 COUNT=1
$ 0.571219
值1.8812,0.571219的含义是什么?从这些值中,我怎么知道面是否匹配?
openbr通过评分系统评估个人看起来像另一个人的数量,这些值应范围从0到1,接近1意味着系统获得了识别,以便更接近到0意味着对识别的反应是不好的。在此示例中,该程序返回了1.8812一个大于1的值,我认为这应该是一个错误,但是在测试开放的BREB中,我意识到分数越高,比较之间的相似性就越大。
我的经验:
value | 可靠性 |
---|---|
0 | 36.9% |
0.1 | 50.0% |
0.2 | 62.1% |
0.3 | 71.8% |
0.4 | 80.0% |
0.5 | 85.2% |
0.6 | 90.0% |
1 | 97.4% |
1.82 | 99.9% |