diff --git a/src/backend/model/threading/MetadataLoader.ts b/src/backend/model/threading/MetadataLoader.ts index 76fdf253..ab794f1f 100644 --- a/src/backend/model/threading/MetadataLoader.ts +++ b/src/backend/model/threading/MetadataLoader.ts @@ -290,8 +290,8 @@ export class MetadataLoader { continue; } // convert center base box to corner based box - box.left = Math.max(0, box.left - box.width / 2); - box.top = Math.max(0, box.top - box.height / 2); + box.left = Math.round(Math.max(0, box.left - box.width / 2)); + box.top = Math.round(Math.max(0, box.top - box.height / 2)); faces.push({name, box}); } }