feat: Improved deskew to focus on horizontal lines

- Modified deskew function to better detect staff lines
- Added morphological operations to enhance horizontal lines
- Used probabilistic Hough transform for more precise line detection
- Added .png to gitignore
This commit is contained in:
Esa Kataja
2024-12-03 20:53:17 +02:00
parent 0709f93226
commit 9bacbb0dcf
3 changed files with 152 additions and 144 deletions
+1
View File
@@ -5,5 +5,6 @@ description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"click>=8.1.7",
"pydantic>=2.10.3",
]