The present disclosure relates to an object identifier and more particularly, an object identifier using a Barcode Reader.
Point of sale barcode readers may include a camera that captures a digital or pixilated image of the barcode. Such a camera has a pixel array made up of photosensitive elements such as a charge coupled device (CCD) or complementary metal oxide semiconductor (CMOS) device. The barcode reader also typically includes an illumination system having light emitting diodes (LEDs) or a cold cathode fluorescent lamp (CCFL) that directs illumination toward a target object, to which a target barcode is affixed. Light reflected from the target barcode is focused through a lens such that focused light is concentrated onto the pixel array of photosensitive elements. The pixels of the array are sequentially read, generating an analog signal representative of a captured image frame. The analog signal is amplified by a gain factor and the amplified analog signal is digitized by an analog-to-digital converter and stored. Decoding circuitry and/or software of the barcode reader processes the digitized signals and decodes the imaged barcode.
The present disclosure addresses the problem of fraudulent substitution of barcodes by customers. An image processing method and apparatus is used based on the capabilities of an existing image based barcode reader or scanner. The solution is applicable to imaging barcode scanners including imager-based bioptic scanners.
An exemplary method uses visual object features that are extracted from an item or object to which the barcode is affixed at the time of scanning a barcode. These features (which in combination make up a signature) are extracted by the barcode scanner from an area surrounding the barcode and used to verify that barcode is attached to a correct object.
An exemplary process maintains a database of object signatures expected to be found in a vicinity of barcode properly affixed to a variety of objects. When presented at the point of sale, an image is captured of a presented barcode and at least a portion of an object to which the presented barcode is affixed. Using the data encoded on the presented barcode, information in the database is accessed and used to determine the expected signature of the object in the region of the presented barcode. A comparison is made between the expected signature of the object with a sensed object signature derived from the object presented for purchase. A mismatch in the two signatures is a good indication that tampering has occurred so the store employee is alerted that steps should be taken to confirm the accuracy of the attempted purchase.
The foregoing and other features and advantages of the present disclosure will become apparent to one skilled in the art to which the present disclosure relates upon consideration of the following description of the invention with reference to the accompanying drawings, wherein like reference numerals, unless otherwise described refer to like parts throughout the drawings and in which:
The reader 50 includes illumination and imaging optics that form the field of view FV for imaging a target object.
The process of encoding a 2D barcode is described in detail in U.S. Pat. No. 5,243,655 to Wang which issued Sep. 7, 1993 and which is incorporated herein by reference for all purposes. The '655 patent describes the PDF417 barcode specification and describes how data is encoded into this type of 2D barcode.
A store or retail establishment may include multiple portable or stationary point of sale barcode readers (
The scan engine 78 projects an aiming pattern toward a target barcode 64 (or barcodes) on the object 40 and attempts to decode that barcode. The scan engine 78 comprises a chassis that supports a printed circuit board (not shown). Attached to the printed circuit board are several optical components that include, illumination optics 110, aiming optics for generating the aiming pattern, and imaging optics or camera 112. Each of the optical components have a designed field-of-view for projecting or receiving light directed during operation. The imaging optics 112 includes focusing lens or lenses 114 that focus the reflected image from the object 40 onto a sensor array 116 located behind the focusing lens(es). A visible aiming pattern is generated by a laser diode and facilitates a user centering the barcode 64 within the captured image.
When enabled by a controller 60 (
The barcode reader circuitry is electrically coupled to a power supply, which may be in the form of an on-board battery or a connected off-board power supply. If powered by an on-board battery, the reader 10 may be a stand-alone, portable unit as depicted in
The sensor array 116 may comprise a charged coupled device (CCD), a complementary metal oxide semiconductor (CMOS), or other imaging pixel array, operating under the control of the controller 60. In one exemplary embodiment, the pixel array 116 comprises a two dimensional (2D) mega pixel array with a typical size of the pixel array being on the order of 1280×1024 pixels.
During an imaging session, multiple images of the field of view FV may be obtained by the imaging system 10. An imaging session may be instituted by an operator, for example, pressing the trigger 74 to institute an imaging. Alternately, for a stationary imaging system, an imaging session might start when a lower or bottom edge of an item begin to move through a portion of the field of view FV. After an exposure period, some or all of the pixels of pixel array 116 are successively read out by the controller 60, thereby generating an analog signal scaled by a gain factor which is converted by an analog to digital converter that forms part of the controller 60. The digitized signal comprises a sequence of digital gray scale values typically ranging from 0-255 (for an eight bit processor, i.e., 28=256), where a 0 gray scale value would represent an absence of any reflected light received by a pixel (characterized as low pixel brightness) and a 255 gray scale value would represent a very intense level of reflected light received by a pixel during an integration period (characterized as high pixel brightness). In an alternate embodiment, the barcode reader 50 includes an array which captures and interprets color images.
One problem encountered by retailers that use barcode readers at their checkout or point of sales stations is instances of customers intentionally placing an incorrect barcode label on a item presented at the checkout or point of sale. If this fraud is successful, the customer pays a lower price than the original intended price. For example, one can present an expensive vacuum cleaner for purchase, but replace the original barcode with the barcode pulled from a much cheaper stores item. This may cost the store hundreds of dollars on a single transaction.
One technique stores use to mitigate the problem is to attach a scale to the barcode reader. After the item is scanned, it is placed in a bin to determine whether the scanned object has a proper weight. This method requires additional hardware and can only be applied to small items, and even when a proper system is in place it may not always work. A barcode mismatch will not be detected, however, if the cheaper item and the more expensive item have the same weight. Such problems are advantageously overcome through the novel features of the present disclosure.
The exemplary barcode reader 50 captures 230 (see flow chart of
Once a barcode is captured and decoded 240 the RSBC image is adjusted 250 and stored in the memory 52. The software of the decoding system 120 then determines 260 a set of graphical features of the RSBC 210 (excluding the barcode 64). These features may include, but do not have to be limited to: colors or grey level values (i.e. background or foreground, lines or text color), edges 265 (
In a bi-optic imaging scanner, multiple cameras are present that register images of an object from various viewpoints in order to decode a bar code that may be present on any of the objects different surfaces. Use of such a scanner allows more than one object view to be used to construct and then verify the bar code signature and one or more features contained within those views.
For recognition purposes the system uses different methods for different features or feature sets, such as correlation, Euclidean distance, k-nearest neighbors, Hidden Markov Models, support vector machines and other statistical pattern recognition processes.
This evaluation is modified by adjustments to the software that implements the recognition to incorporate additional information and in an alternate embodiment includes color information from the RSBC 210. The collection of graphic features obtained from the RSBC 210 is referred to herein as a Barcode Signature.
The barcode content (determined at step 240 above) is then used to obtain 270 a Model or Reference Signature from a database 280. The barcode signature retrieved from the database 280 is compared 290 to the barcode signature derived from the object presented for purchase in order to verify whether a barcode is attached to the object is proper. If an object has multiple barcodes attached to it, multiple Reference Signatures associated with the barcodes are retrieved from the database. Each time an object is scanned; the Reference Signature surrounding each barcode is compared with all areas present on the object.
The Reference Signature is constructed and adjusted as items are scanned following rules of statistical learning and stored it in the database. The Reference Signature or model may be built at the pixel level, in a similar way that is done for tracking applications, when we first create the background model, or at the feature level, in a same way that is done for face or fingerprint recognition. Once the model is created, each time the object is scanned; the area of interest and/or associated features is extracted and compared with the model. If the similarity between the stored image and scanned or captured image is low, an alarm or alert 300 (audible or visual) is conveyed to the store employee so that the cashier/employee can check to determine if a proper item is being scanned. In an alternative embodiment, if the similarity is low the reader will not register an item for purchase. If the similarity in the Signature is high, the model is updated 310. Reference Signature verification may be effectively done at a store server 68 that maintains the database 280, but can also be done by a point of sale computer 66 dedicated to the scanner 50. In that case a Reference Signature may be uploaded to a scanner from the server 68.
The scanner 50 can also store Signatures of most often scanned barcodes within its memory 52 to speed the confirmation. Reference signatures can be built using data from several scanners, several stores of a given retailer or even across all stores having other servers 132 in an industry by means of a network 130. The Reference Signature definition can be uploaded to individual computers on a regular basis.
While the present disclosure has been described with a degree of particularity, it is understood that the invention is defined by the accompanying claims and it is the intent that the invention include all alternatives differing from the exemplary embodiment falling within the spirit or scope of the appended claims.