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

CAPTCHA model in ONNX format #56

Merged
merged 11 commits into from
Mar 26, 2022
Merged

CAPTCHA model in ONNX format #56

merged 11 commits into from
Mar 26, 2022

Conversation

severinsimmler
Copy link
Contributor

@severinsimmler severinsimmler commented Mar 24, 2022

This PR adds the model to solve CAPTCHAs for the Bundesanzeiger in the ONNX format, removes TensorFlow as dependency and adds the more lightweight onnxruntime.

Fixes #55 and fixes #8.

(Also adds a poetry.lock which should speed up installation with Poetry)

Unfortunately, I can't say anything about the model's performance (if the export broke anything). At least the unit test I added works as expected and I tested a few queries to Bundesanzeiger where it worked like a charm.

@@ -30,6 +29,8 @@ de-dwd = {version = "^1.0.1", optional = true}
pypresseportal = {version= "^0.1", optional = true}
de-nina = {version= "^1.0.1", optional = true}
de-ladestationen = {version= "^1.0.4", optional = true}
onnxruntime = "^1.10.0"
numpy = "~1.21.0"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This project is not compatible with NumPy ^1.22.0 because it still supports Python 3.7. Once you decide to drop support for Python 3.7, you can also update NumPy.

@wirthual wirthual merged commit 859339d into bundesAPI:main Mar 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Model for CAPTCHAs in ONNX format Saved Model does not exist
2 participants