1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

Revert "fix encoding non-ascii characters in detected face names"

This commit is contained in:
Patrik J. Braun 2021-12-30 18:38:09 +01:00 committed by GitHub
parent 8e90610ea3
commit af52919721
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -278,7 +278,7 @@ export class MetadataLoader {
} else if (regionRoot.Area && regionRoot.Name && regionRoot.Type) { } else if (regionRoot.Area && regionRoot.Name && regionRoot.Type) {
const regionBox = regionRoot.Area.value; const regionBox = regionRoot.Area.value;
name = decodeURIComponent(escape(regionRoot.Name.value)); name = regionRoot.Name.value;
type = regionRoot.Type.value; type = regionRoot.Type.value;
box = createFaceBox(regionBox.w.value, box = createFaceBox(regionBox.w.value,
regionBox.h.value, regionBox.h.value,