This commit is contained in:
Colombo committed 2020-01-22 13:41:05 +04:00
1 parent 0c93b89e87
commit 60804ca3ba
3 files changed
+20 -15

No files matched your search

+2
View File
@@ -156,6 +156,8 @@ class ExtractSubprocessor(Subprocessor):
landmarks_extractor,
rects_extractor,
):
h, w, ch = image.shape
if data.rects_rotation == 0:
rotated_image = image
elif data.rects_rotation == 90: