Closed ultraGentle closed 2 years ago
Hi, thanks for the interest in this project. For your questions
oemer
assumes there exists some extent of skew in the input image, the deskew process is thus necessary. I've added a new flag --without-deskew
to deal with this error. By skipping the deskew step, the image you provided can be successfully transcribed. The result is as the appended file.
issue9.zip2, 3. There should be no differences by using different libraries or hardwares for extracting the features.
Thanks for adding the flag!
So, using --without-deskew
, there's no error, but the accuracy is surprisingly low.
(Just an observation; not complaining.)
When I get a chance, I'll experiment with
--without-deskew
but with different resolutions, to see if that helps. Additional thoughts
Just thinking out loud. Again, thanks!
Glad the change helps! Comments on your thoughts
Closing this issue as the original problem has been resolved.
Hello, and thanks for this project! I've been getting some successes, but I'm trying to understand why the failures occur.
I've attached an image that I thought should be perfect for oemer (piano staff, clean image), but I ran into an error:
oemer.exceptions.StafflineUnitSizeInconsistent: Unit sizes not consistent (th: 0.1): [0.0409582 0.03067699 0.04448853 0.04064915 0.04198626 0.03570326 0.27882942 0.04436703]
Here are my questions:
I'm trying to understand what I can do to minimize fatal errors and recognition errors.
Thanks for any suggestions!
Original PDF for reference: bachinv.pdf
JPG used for oemer: bachinv.jpg