Patch Code is a
barcode
A barcode or bar code is a method of representing data in a visual, Machine-readable data, machine-readable form. Initially, barcodes represented data by varying the widths, spacings and sizes of parallel lines. These barcodes, now commonly refe ...
developed by
Kodak
The Eastman Kodak Company (referred to simply as Kodak ) is an American public company that produces various products related to its historic basis in analogue photography. The company is headquartered in Rochester, New York, and is incorpor ...
for use in automated
scanning.
Symbology
A Patch Code consists of two wide bars ( ± ) and two narrow bars (). The bars are separated by three narrow spaces, so the Patch Code symbols are a fixed length. There are six distinct
permutations
In mathematics, a permutation of a set is, loosely speaking, an arrangement of its members into a sequence or linear order, or if the set is already ordered, a rearrangement of its elements. The word "permutation" also refers to the act or pr ...
of the wide and narrow bars, so there are six Patch Codes. The patches are called:
*Patch 2, WNNW, assigns image level 2 to the current document
*Patch 3, WNWN, assigns image level 3 to the current document
*Patch T, NWNW, assigns predefined image level to the next document (transfer patch)
*Patch 1, WWNN, used for post scan image control
*Patch 4, NWWN, used for post scan image control (toggle patch)
*Patch 6, NNWW, used for post scan image control
The Patch Code needs to be in a specific position on the page, but that position may vary with the image scanner used. The Patch Code is usually close to feed edge of the scanner. That way, the Patch Code can be detected early during the paper transport. Patch Codes are often printed along all four edges of a page. That covers the requirements for many scanners, and it allows the pages to work even if the page is upside down (rotated 180 degrees).
Sometimes, the Patch Code is the only information on a page. That is, the page is only used for controlling a scan. In that situation, the scanner may just take the required action and not transfer the Patch Code image to the computer.
Application
The Patch Codes aid in batch scanning of documents to tell
capture
Capture may refer to:
*Asteroid capture, a phenomenon in which an asteroid enters a stable orbit around another body
*Capture, a software for lighting design, documentation and visualisation
*"Capture" a song by Simon Townshend
*Capture (band), an ...
software
Software is a set of computer programs and associated software documentation, documentation and data (computing), data. This is in contrast to Computer hardware, hardware, from which the system is built and which actually performs the work.
...
or
content management
Content management (CM) is a set of processes and technologies that supports the collection, managing, and publishing of information in any form or medium. When stored and accessed via computers, this information may be more specifically referre ...
software how to classify or organize documents. Several documents may need to be scanned, and each document should end up in a separate file. Instead of running three separate jobs (loading the scanner with each document separately), the documents are loaded into the scanner with a Patch 2 separating each document. When the scanner encounters a Patch 2, then the scanner starts copying the scans to the next file.
The
California
California is a state in the Western United States, located along the Pacific Coast. With nearly 39.2million residents across a total area of approximately , it is the most populous U.S. state and the 3rd largest by area. It is also the ...
tax return Form 540 had a Patch 2 on its first page. Several tax returns could be loaded into the scanner, and each return would be scanned into a separate file.
Some scanning jobs may have different imaging requirements. Most of a document may have black and white pages, but there may be some color pages once in a while. Patch 4 (toggle patch) can be used to switch in and out of color scanning. Before scanning, the document is prepared by inserting pages that only have a Patch 4 on them before and after the color sections. The scan starts out in black and white. When the first toggle patch is encountered, the following pages are scanned in color. When the second toggle is encountered, the following pages are scanned in black and white. The toggle patch may also be used to switch between scanning resolutions, bit depth (
grayscale
In digital photography, computer-generated imagery, and colorimetry, a grayscale image is one in which the value of each pixel is a single sample representing only an ''amount'' of light; that is, it carries only intensity information. Graysc ...
), and one-sided or two-sided scanning.
The actions taken for Patch 2, Patch 3, and Patch T can be configured in a document scanning application.
Kodak
The Eastman Kodak Company (referred to simply as Kodak ) is an American public company that produces various products related to its historic basis in analogue photography. The company is headquartered in Rochester, New York, and is incorpor ...
's Capture Software assigns these default actions:
* Patch 3 creates a new job and throws away the image with the patch
* Patch 2 starts a new document and keeps the image
* Patch T starts an attachment and throws away the image.
Interface
TWAIN
Twain may refer to:
People
* Mark Twain, pen name of American writer Samuel Langhorne Clemens (1835–1910)
* Norman Twain (1930–2016), American film producer
* Shania Twain
Eilleen Regina "Shania" Twain ( , ; née Edwards; born August 2 ...
has a facility for Patch Codes.
References
External links
* http://www.alliancegroup.co.uk/patch-codes.htm has an overview, but some details are wrong
{{Barcodes
Barcodes