Replies: 1 comment 1 reply
-
Very interesting subject. I did some smallish and isolated experiments with seeking coding help from LLMs, so I was curious to see what your "full picture" chat was able to reveal. I have not read every word in the full chat-log but most of them. My thoughts:
In general, sure but there are two things that I care about quite a bit: 1) runtime performance, so adding some cpu heavy preprocessing step that helps with e.g. 1% of cases while increasing the runtime 20% for all is probably not going to happen and 2) keeping the dependencies of the library itself to a minimum.
No, I'm not going to add a mandatory dependency to OpenCV. What might be on the table is an optional / configurable dependency. But even for that I'd need to be convinced that this actually improves the detection rate significantly. And if some specific algorithm is able to achieve that, I might be inclined to simply implement that from scratch. That said, it is rather trivial to do any OpenCV based preprocessing before calling
I would suggest you pick one specific issue that limits your application the most, describe it here and maybe I have some pointers that would allow you to go back to your LLM of choice and maybe come up with some specific and measurable improvement. And then we can see how we can move on from there. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I started a chat with deepseek of how to improve the decoding performance of zxing.
Deepseek summarizes this as follows:
Proposed Enhancements for Improved Barcode Decoding (Low-Contrast/Distorted Codes)
Context:
This thread summarizes potential improvements to zxing-cpp’s decoding performance for challenging scenarios (low contrast, distortion, noise), inspired by commercial SDKs like ScanDit/Cognex. The ideas emerged from an AI-assisted analysis of the library’s current limitations.
Key Suggestions:
Request for Feedback:
Attached is the copy of the chat.
Does that make any sense or is it complete nonsense ?
zxing-improvement.zip
Beta Was this translation helpful? Give feedback.
All reactions