matiasdelellis /
facerecognition
| 1 | <?php |
||||||
| 2 | script('facerecognition', 'facerecognition-admin'); |
||||||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||||||
| 3 | style('facerecognition', 'facerecognition'); |
||||||
|
0 ignored issues
–
show
The function
style was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
|
|||||||
| 4 | ?> |
||||||
| 5 | |||||||
| 6 | <form id="facerecognition"> |
||||||
| 7 | <div class="section"> |
||||||
| 8 | <h2> |
||||||
| 9 | <?php p($l->t('Face Recognition'));?> |
||||||
|
0 ignored issues
–
show
The function
p was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
|
|||||||
| 10 | <a target="_blank" rel="noreferrer noopener" class="icon-info" title="<?php p($l->t('Open Documentation'));?>" href="https://github.com/matiasdelellis/facerecognition/wiki"></a> |
||||||
| 11 | </h2> |
||||||
| 12 | <h3> |
||||||
| 13 | <?php p($l->t('Temporary files'));?> |
||||||
| 14 | </h3> |
||||||
| 15 | <p class="settings-hint"><?php p($l->t('During analysis, temporary files are used to ensure homogeneity between all images.'));?></p> |
||||||
| 16 | <p class="settings-hint"><?php p($l->t('Small images allow a quick analysis, but you can lose the smallest faces of your photos. Large images can improve the results, but the analysis will be slower.'));?> |
||||||
| 17 | <a target="_blank" rel="noreferrer noopener" class="icon-info" title="<?php p($l->t('Open Documentation'));?>" href="https://github.com/matiasdelellis/facerecognition/wiki/Settings#temporary-files"></a> |
||||||
| 18 | </p> |
||||||
| 19 | <p class="settings-ranged"> |
||||||
| 20 | <label for="image-area-range"><?php p($l->t('Smaller images'));?></label> |
||||||
| 21 | <span><input type="range" id="image-area-range" min="307200" max="<?php p($_['max-image-range']);?>" value="-1" step="1200" class="ui-slider" <?php if(!($_['is-configured'])):?>disabled<?php endif;?>></span> |
||||||
| 22 | <label for="image-area-range"><?php p($l->t('Larger images'));?></label> |
||||||
| 23 | <span id="image-area-value"class="span-highlighted">...</span> |
||||||
| 24 | <a id="restore-image-area" class="icon-align icon-history" style="display: none;" title="<?php p($l->t('Restore'));?>" href="#"></a> |
||||||
| 25 | <a id="save-image-area" class="icon-align icon-edit" style="display: none;" title="<?php p($l->t('Save'));?>" href="#"></a> |
||||||
| 26 | </p> |
||||||
| 27 | <br> |
||||||
| 28 | <h3> |
||||||
| 29 | <?php p($l->t('Clustering threshold'));?> |
||||||
| 30 | </h3> |
||||||
| 31 | <p class="settings-hint"><?php p($l->t('Persons are determined as groups of similar faces and to obtain them, all the faces found must be compared. When they are compared, a threshold is used to determine if they should be grouped.'));?></p> |
||||||
| 32 | <p class="settings-hint"><?php p($l->t('A small threshold will only group very similar faces, but initially you will have many groups to name. A larger threshold is more flexible to group the faces and obtaining fewer groups, but being able to confuse similar persons.'));?> |
||||||
| 33 | <a target="_blank" rel="noreferrer noopener" class="icon-info" title="<?php p($l->t('Open Documentation'));?>" href="https://github.com/matiasdelellis/facerecognition/wiki/Sensitivity"></a> |
||||||
| 34 | </p> |
||||||
| 35 | <p class="settings-ranged"> |
||||||
| 36 | <label for="sensitivity-range"><?php p($l->t('Small threshold'));?></label> |
||||||
| 37 | <span><input type="range" id="sensitivity-range" min="0.2" max="0.6" value="0.4" step="0.01" class="ui-slider" <?php if(!($_['is-configured'])):?>disabled<?php endif;?>></span> |
||||||
| 38 | <label for="sensitivity-range"><?php p($l->t('Higher threshold'));?></label> |
||||||
| 39 | <span id="sensitivity-value"class="span-highlighted">...</span> |
||||||
| 40 | <a id="restore-sensitivity" class="icon-align icon-history" style="display: none;" title="<?php p($l->t('Restore'));?>" href="#"></a> |
||||||
| 41 | <a id="save-sensitivity" class="icon-align icon-edit" style="display: none;" title="<?php p($l->t('Save'));?>" href="#"></a> |
||||||
| 42 | </p> |
||||||
| 43 | <br> |
||||||
| 44 | <h3> |
||||||
| 45 | <?php p($l->t('Minimum confidence'));?> |
||||||
| 46 | </h3> |
||||||
| 47 | <p class="settings-hint"><?php p($l->t('The minimum confidence determines how reliable must be a face detection to try to group it. Blurred or misaligned faces would have a confidence closer to 0.0, and the best images close to 1.0.'));?> |
||||||
| 48 | <a target="_blank" rel="noreferrer noopener" class="icon-info" title="<?php p($l->t('Open Documentation'));?>" href="https://github.com/matiasdelellis/facerecognition/wiki/Confidence"></a> |
||||||
| 49 | </p> |
||||||
| 50 | <p class="settings-ranged"> |
||||||
| 51 | <label for="min-confidence-range"><?php p($l->t('Lower minimum confidence'));?></label> |
||||||
| 52 | <span><input type="range" id="min-confidence-range" min="0.0" max="1.1" value="0.99" step="0.01" class="ui-slider" <?php if(!($_['is-configured'])):?>disabled<?php endif;?>></span> |
||||||
| 53 | <label for="min-confidence-range"><?php p($l->t('Higher minimum confidence'));?></label> |
||||||
| 54 | <span id="min-confidence-value"class="span-highlighted">...</span> |
||||||
| 55 | <a id="restore-min-confidence" class="icon-align icon-history" style="display: none;" title="<?php p($l->t('Restore'));?>" href="#"></a> |
||||||
| 56 | <a id="save-min-confidence" class="icon-align icon-edit" style="display: none;" title="<?php p($l->t('Save'));?>" href="#"></a> |
||||||
| 57 | </p> |
||||||
| 58 | <br> |
||||||
| 59 | <h3> |
||||||
| 60 | <?php p($l->t('Minimum of faces in cluster'));?> |
||||||
| 61 | </h3> |
||||||
| 62 | <p class="settings-hint"><?php p($l->t('The minimum number of faces that a cluster must have to display it to the user.'));?></p> |
||||||
| 63 | <p class="settings-hint"><?php p($l->t('These faces clusters will not be shown as a suggestion, but can always be renamed eventually in the side panel.'));?></p> |
||||||
| 64 | <p class="settings-ranged"> |
||||||
| 65 | <label for="min-no-faces"><?php p($l->t('Less faces'));?></label> |
||||||
| 66 | <span><input type="range" id="min-no-faces-range" min="1" max="20" value="5" step="1" class="ui-slider" <?php if(!($_['is-configured'])):?>disabled<?php endif;?>></span> |
||||||
| 67 | <label for="min-no-face"><?php p($l->t('More faces'));?></label> |
||||||
| 68 | <span id="min-no-faces-value"class="span-highlighted">...</span> |
||||||
| 69 | <a id="restore-min-no-faces" class="icon-align icon-history" style="display: none;" title="<?php p($l->t('Restore'));?>" href="#"></a> |
||||||
| 70 | <a id="save-min-no-faces" class="icon-align icon-edit" style="display: none;" title="<?php p($l->t('Save'));?>" href="#"></a> |
||||||
| 71 | </p> |
||||||
| 72 | <br> |
||||||
| 73 | <h3> |
||||||
| 74 | <?php p($l->t('Configuration information'));?> |
||||||
| 75 | <span class="status success<?php if(!($_['is-configured'])):?> error<?php endif;?>"></span> |
||||||
| 76 | </h3> |
||||||
| 77 | <p><?php p($l->t('Current model:'));?> <em><?php p($_['model-version']);?></em></p> |
||||||
| 78 | <p><?php p($l->t('Maximum memory assigned for image processing:'));?> <em><?php p($_['assigned-memory']);?></em></p> |
||||||
| 79 | <p><span><?php p($_['resume']); ?></span></p> |
||||||
| 80 | <br> |
||||||
| 81 | <h3> |
||||||
| 82 | <?php p($l->t('Current status'));?> |
||||||
| 83 | </h3> |
||||||
| 84 | <div> |
||||||
| 85 | <p id="progress-text"><?php p($l->t('Stopped'));?></p> |
||||||
| 86 | <progress id="progress-bar" value="0" max="100"></progress> |
||||||
| 87 | </div> |
||||||
| 88 | </div> |
||||||
| 89 | </form> |
||||||
| 90 |