this post was submitted on 07 Aug 2023
6 points (100.0% liked)

techsupport

2446 readers
1 users here now

The Lemmy community will help you with your tech problems and questions about anything here. Do not be shy, we will try to help you.

If something works or if you find a solution to your problem let us know it will be greatly apreciated.

Rules: instance rules + stay on topic

Partnered communities:

You Should Know

Reddit

Software gore

Recommendations

founded 1 year ago
MODERATORS
 

The reason I'm asking this is the company I work for develops an application which has a barcode reader functionality. The device we develop these softwares for has a very limited resolution camera (2MP). Now they want me to set a benchmark for the maximum length barcode pattern which is scannable. So what I'm trying to do is use an online barcode generator of CODE-128 and then feed various length strings to it. If I knew what pattern results in the most dense/unreadable barcode I'd be able to create different patterns using that.

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 3 points 1 year ago

It's been a long time since I looked at bar codes, but this link is to an old printer manual that has some useful information in its appendix: https://www.cognitivetpg.com//assets/downloads/105-008-02_Programming_Manual-HTML_revC2.pdf

[โ€“] [email protected] 1 points 1 year ago

Code 128 has three modes, which are described on wikipedia

try finding a sequence that makes it switch modes as often as possible, that'll make it harder for the software.