mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-07-05 00:49:57 +02:00
more code formatting
This commit is contained in:
parent
713b90e084
commit
1a95bca22d
24 changed files with 1408 additions and 1319 deletions
|
@ -3,9 +3,11 @@ from pathlib import Path
|
|||
from eynollah.eynollah.utils.pil_cv2 import check_dpi
|
||||
from tests.base import main
|
||||
|
||||
|
||||
def test_dpi():
|
||||
fpath = str(Path(__file__).parent.joinpath('resources', 'kant_aufklaerung_1784_0020.tif'))
|
||||
assert 230 == check_dpi(cv2.imread(fpath))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main(__file__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue