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

1.4.9 滑块匹配报错 #153

Open
enternal111 opened this issue Dec 1, 2023 · 0 comments
Open

1.4.9 滑块匹配报错 #153

enternal111 opened this issue Dec 1, 2023 · 0 comments

Comments

@enternal111
Copy link

Traceback (most recent call last):
File ".py", line 28, in
res = det.slide_match(target_bytes, background_bytes)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\ddddocr_init_.py", line 1699, in slide_match
target, target_x, target_y = self.get_target(target_bytes)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\ddddocr_init_.py", line 1676, in get_target
if p[-1] == 0:
~^^^^
TypeError: 'int' object is not subscriptable

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

No branches or pull requests

1 participant