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

Merge pull request #402 from bpatrik/revert-344-fix/face-detection-name-encoding

Revert "fix encoding non-ascii characters in detected face names"
This commit is contained in:
Patrik J. Braun 2021-12-30 18:46:51 +01:00 committed by GitHub
commit 29b20df9ff
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) {
const regionBox = regionRoot.Area.value;
name = decodeURIComponent(escape(regionRoot.Name.value));
name = regionRoot.Name.value;
type = regionRoot.Type.value;
box = createFaceBox(regionBox.w.value,
regionBox.h.value,