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

Cannot create GenericMultipleBarcodeReader from ZXing.OpenCV.BarcodeReader #577

Open
blauertee opened this issue Jun 25, 2024 · 2 comments

Comments

@blauertee
Copy link

Is there any Possibility to do the following?

var Reader = new ZXing.OpenCV.BarcodeReader();
var MuReader = new ZXing.Multi.GenericMultipleBarcodeReader(Reader);

(I can cast the ZXing.OpenCV.BarcodeReader into Reader but then the Multi-Reader does not allow an OpenCV Mat as Argument anymore)

Thanks in Advance!

@micjahn
Copy link
Owner

micjahn commented Jul 8, 2024

You can use it this way:

var Reader = new ZXing.OpenCV.BarcodeReader();
Reader.DecodeMultiple(...)

@blauertee blauertee reopened this Jul 15, 2024
@blauertee
Copy link
Author

Thank's the solves the Problem. I thought that having a reader Interface which GenericMultipleBarcodeReader can take as an Argument might be cleaner and useful for other situations. It feals irritating that ZXing.OpenCV.BarcodeReader IS not a Reader. But feel free to close this if that's not any priority :)

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