fix: apply factor to max_recall_rating_class_rect left border

This commit is contained in:
283375 2023-09-13 02:13:20 +08:00
parent 4a9717b7ce
commit 92c4945037
Signed by: 283375
SSH Key Fingerprint: SHA256:UcX0qg6ZOSDOeieKPGokA5h7soykG61nz2uxuQgVLSk

View File

@ -217,7 +217,7 @@ class DeviceV2Rois:
self.hor_mid self.hor_mid
+ self.sizes.COVER_RIGHT_FROM_HOR_MID + self.sizes.COVER_RIGHT_FROM_HOR_MID
- self.sizes.COVER_WIDTH - self.sizes.COVER_WIDTH
- 25 - 25 * self.sizes.factor
) )
return self.construct_int_xywh_rect( return self.construct_int_xywh_rect(
x=x, x=x,