Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3 support and added Markdown Document generator #3

Closed
wants to merge 5 commits into from

Conversation

Zurga
Copy link

@Zurga Zurga commented Sep 28, 2019

I did a 2to3 on the code in src and fixed bugs manually. I have not exhaustively checked for bugs, but opening a project, pdf, image and exporting it seems to work. The lack of tests make it hard to check whether I broke things or not.

In the utils/graphics.py I changed the PixBuffToImage method which was slow in Python3.

Could you create a branch to merge this request into if you want to accept it? I can then create a new pull request.

My earlier commits represent a fix I made to the exporter code that did not update the data_boxes OCR'd text when exporting. Now the exporter OCR's every box on every page again.

I also added a crude Markdown document generator that includes the images in a seperate directory, akin to the HTML document generator.

@gnomesysadmins
Copy link

Thank you for contributing to ocrfeeder!

ocrfeeder uses GitLab for code review. As such we have forwarded
your contribution to the GNOME official GitLab instance:

https://gitlab.gnome.org/GNOME/ocrfeeder/issues/12

GNOME's GitLab instance also supports GitHub as one of the possible
authentication method in case you'd like to follow up on the above
issue. You can login at the following URL:

https://gitlab.gnome.org/users/sign_in

If you are interested in sticking around within the GNOME community we
encourage you to read the following documents:

https://www.gnome.org/get-involved
and
https://wiki.gnome.org/Newcomers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants