Technical Information

TBR-Targeted Barcode Reader

inlite’s targeted barcode reader (tbr) delivers the highest recognition rate and/or speed for customer specific sets of images in addition to several of the shelf specialized algorithms, inlite can rapidly and cost effectively address unique customers' barcode recognition requirements tbr code tbr code identifies an algorithm to read barcodes on a page use of tbr code is optional the default algorithm, if the tbr code is not set , reads most of the real life barcodes tbr code – is a numeric value that identifies the tbr reader the codes are 0 – default code if set, it forces the use of the default algorithm 100 199 – internally predefined codes (some of the codes are reserved for future use) 400 499 – tbr targeted barcode reader docid\ krbh lutyawzphraj5lqs defined in ci ini ci ini file identify the best tbr codes to identify the best tbr codes for your set of images , use these tools and methods use the tbr wizard docid\ hukxflt72yexrguc7pibn application to find the best tbr code(s) for single or multiple images use the tbr wizard dialog box in the clearimage demo docid\ tebd8gltq2jazlp45b7bf application to find the best tbr code for a single image contact support\@inliteresearch com activate tbr code clearimage sdk set tbrcode tbrcode property of the readers for example reader tbrcode=103; // apply tbr code 103 to read() calls that follow reader read(filename, page);reader >tbrcode = 103; // apply tbr code 103 to find() calls that follow reader >find(0);reader settbrcode(103); // apply tbr code 103 to find() calls that follow reader find(0);$reader >tbrcode = 103; // apply tbr code 103 to find() calls that follow $bccount = $reader >find(0); to use multiple tbr codes, use one of these methods repeat reading operations with each tbr code use tbr targeted barcode reader docid\ krbh lutyawzphraj5lqs notes if the tbr code is invalid or not applicable to the barcode type, an exception is generated if a barcode is obtained using a tbr reader, then the \<tbr> \<tbr> tag of the barcode’s meta data contains the tbr code do not use image pre processing with clearimage tools or repair before using clearimage reader with tbr code this might lead to unpredictable results barcode reader cli set tbr tbr option value multiple tbr codes are set as a comma separated list for example tbr=109,107 external tbr codes external tbr codes are defined in the \[tbr] \[tbr] section of c \programdata\inlite\clearimage\ci ini c \programdata\inlite\clearimage\ci ini file if this file does not exist, create it in any text editor (e g , notepad) with external tbr, users can change the default recognition algorithm (tbr 0) to a predefined or an external tbr code without your application code change activate multiple tbr codes for a single read operation implement new custom tbr provided by inlite's support format the format of the external tbr definition tbr code code \[ reader reader ]= command command \[ command ] the values in \[ ] are optional the values in italic are variables where section description code code 0 or a 3 digit tbr code reader reader optionally, limit the type of clearimage readers to which code code is applied 1 1 – barcode 1d pro, p p – pdf417, d d – datamatrix, q q – qr command command commands executed by tbr code a tilde character ( ) should separate multiple commands public commands are id\ text id\ text the text value is for reference purposes only and does not affect the execution tbr\ code tbr\ code execute tbr identified by the code value max\ nmb max\ nmb t he maximum number of barcodes to read if both max\ nmb max\ nmb and maxbarcodes maxbarcodes in find(maxbarcodes) find(maxbarcodes) or barcodereader maxbarcodes barcodereader maxbarcodes are non zero, then the minimum value applies rd rd read barcodes after applying commands that follow the last rd rd command for the first rd rd command, all commands from the start are applied put \[tbr] \[tbr] section header before any external tbr definition in c \programdata\inlite\clearimage\ci ini c \programdata\inlite\clearimage\ci ini file for example \[tbr] tbr0\ p=tbr 103 tbr410=max 1 tbr 112 rd tbr 125 rd tbr 103 rd example override default processing this example changes default processing to tbr 103 for pdf417 reader only tbr tbr 0 p =tbr 103 this method changes barcode reader behavior without a change of your application code example chain several tbr codes this example reads one barcode using tbr codes 112, 125, and 103 once the barcode is found (e g , with code 112), further processing is stopped activate tbr code 410 in your code tbr tbr 410 =max 1 tbr 112 rd tbr 125 rd tbr 103 rd t o the same sequence without changing this code, assign this sequence to the default tbr code 0 tbr tbr 0 =max 1 tbr 112 rd tbr 125 rd tbr 103 rd example custom tbr codes using external tbr, inlite can quickly deliver an algorithm tailored for processing your specific images an example of such activation is tbr tbr 411 =id acme 2023 04 nxd96psygajxsfkmuc pcarzlqga where 411 411 is a tbr code acme 2023 04 acme 2023 04 is a reference id, typically used for identifying customer and algorithm nxd96ps nxd96ps is an encrypted algorithm developed for a customer by inlite