-
Notifications
You must be signed in to change notification settings - Fork 10
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
Runtime error #20
Comments
What is the error message printed by runtime error? |
i met the same error,the runtime error message was just empty |
Did you specify the config yaml file path? |
i just use the py_sample/run_sample & palm_data/ ,it's normal when i using example pic.the error raises when i use myself pic,not all pic but some of them. |
like this /Users/peng/boo/tmp/RobustPalmRoi/samples/palm_data/4121565314936_.pic.jpg |
@pytpeng Can you provide the palm picture which cause the error if convenient? |
' ' '
RuntimeError Traceback (most recent call last)
in
4 import io
5 with open('7.JPG', 'rb') as palm:
----> 6 roi_bytes = chain.process_image(palm)
7 roi = io.BytesIO(roi_bytes)
8 roi.show()
~/anaconda3/lib/python3.7/site-packages/robust_palm_roi-0.1.0-py3.7.egg/rpr.py in process_image(self, image)
62 self._lib.chain_process_bytes(self._chain, palm_data, len(palm_data),
63 roi_bytes, roi_bytes_max_size, roi_bytes_size, status)
---> 64 self._check_status(status)
65 return roi_bytes.raw[:roi_bytes_size.value]
66
~/anaconda3/lib/python3.7/site-packages/robust_palm_roi-0.1.0-py3.7.egg/rpr.py in _check_status(status)
68 def _check_status(status):
69 if status.raw[0] != 0:
---> 70 raise RuntimeError(status.raw[1:].decode())
RuntimeError:
' ' '
The text was updated successfully, but these errors were encountered: