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

cimbar_recv cannot extract pic from cimbar_send #76

Open
lhx0217 opened this issue Aug 13, 2023 · 2 comments
Open

cimbar_recv cannot extract pic from cimbar_send #76

lhx0217 opened this issue Aug 13, 2023 · 2 comments

Comments

@lhx0217
Copy link

lhx0217 commented Aug 13, 2023

cf3b15b929fdfcdee39d0c6c035ba3c am i doing something wrong? ![0395956D](https://github.com/sz3/libcimbar/assets/111284535/31ebe65b-4a11-44dd-b8ce-e25d70356663) I use one of the outputfigs for recv test, but cimbar_recv extract nothing. 8c644d3258f3a5195e7de111e409d71 int bytes = dec.decode_fountain(img, sink, shouldPreprocess); bytes is always 0.
@lhx0217
Copy link
Author

lhx0217 commented Aug 13, 2023

Test without camera is ok.

@sz3
Copy link
Owner

sz3 commented Aug 15, 2023

Usually to troubleshoot, I save a few frames (e.g. cv::imwrite(img, "/tmp/foo.png")) and look at them individually to figure out if there's an obvious reason why they aren't decoding.

One possibility is that the color decode is failing. The algorithm for that part of the decode is not very good (I'm working on improving it now...)

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

2 participants