Skip to content

Commit

Permalink
fix angles
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Shevtsov committed Sep 28, 2023
1 parent be567e5 commit 44ea6c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit_tests/test_format_pdf_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def test_scan_orientation(self) -> None:
image = cv2.imread(path)
_, angle_predict = self.orientation_classifier.predict(image)
rotated, angle = scan_rotator.auto_rotate(image, angle_predict)
print(angle, angles[i])
self.assertTrue(abs(angle - angles[i]) < max_delta)

def test_header_footer_search(self) -> None:
Expand Down

0 comments on commit 44ea6c3

Please sign in to comment.