The specification includes an Appendix which includes 133 pages. The appendix includes computer source code of one preferred embodiment of the invention. In other embodiments of the invention, the inventive concept may be implemented in other computer code, in computer hardware, in other circuitry, in a combination of these, or otherwde. The Appendix is hereby incoporated by reference in its entirety and is considered to be a part of the disclosure of this specification.
The present invention relates to a computer implemented system for capturing and processing an image of a stack of gambling chips for counting the number of chips and determining the value of each within the stack.
In the casino business there is an established reward/perk system that is used to determine the level of complimentary benefits valued customers should receive. Presently, this system is managed and performed by a person such as a casino supervisor/floor manager. The supervisor/floor manager keeps detailed notes about certain players and tries to determine over an extended period, the length of time a player gambles, the total amount of money bet in one sitting, the average amount wagered at each bet, etc. By knowing the value of a player's wagers and their gambling habits, the casino decides which players are to receive complimentary benefits. The level of benefits is determined by a player's level of gambling.
Presently, a player's level of gambling is determined solely by the notes of the gambling floor supervisor/manager. This is a very subjective system that is often difficult to maintain because a floor/manager cannot watch all players at all times to get accurate information on betting habits.
There is a need for a system that assists gambling operations at casinos in accurately tracking the gambling habits of its customers. Such a system would be helpful to a casino by making the reward/perk system more consistent. The reward/perk system would better serve its purpose because the guess work would be taken out of determining a player's gambling habits. Knowing exactly the length of the time played, amount of money bet and average amount wagered at each bet would be very helpful in providing the right incentives and complimentary benefits (free meals, limo, room, etc.) to the right players. Such a system could also be used to determine a player's pre-established credit rating.
In the past, gambling chip recognition systems such as that disclosed in U.S. Pat. No. 4,814,589 to Storch et al. involved counting gambling chips and detecting counterfeit chips using a binary code placed on the edge of the chip. The system is designed to count chips and detect counterfeits at a gaming table while the chips are in a rack. Using this data, a casino could monitor the number of available chips and other statistical information about the activity at individual tables. One of the problems with the system disclosed in U.S. Pat. No. 4,814,589 is that the system requires the disc-like objects, such as gambling chips, coins, tokens, etc., have machine readable information encoded about the periphery thereof. Another system having similar problems is disclosed in U.S. Pat. No. 5,103,081 to Fisher. It describes a gambling chip with a circular bar code to indicate the chips denomination, authenticity and other information. The chip validating device rotates the chip in order to read the circular bar code.
The above mentioned prior art systems are particularly cumbersome in that they require chips to be housed within a particular system and rotated to be read or positioned at the right angle or in a rack so that the information can be taken from the periphery of the chips. There is a need for a system that can determine the value of gambling chips without encoding the periphery of each chip to enable system determination of its value. There is a need for a system that can determine the value of a chip without it being housed within a special reading device. There is a need for a system that can read a conventionally styled, conventionally fabricated chip that is positioned at any angle on a gaming table in the betting position. Such a system could cut down on casino expenses by deleting the cost to encode such chips with readable information.
The present invention is a casino gambling chip recognition system that provides for the automatic determination of the number of chips within a stack of gambling chips and the value of each chip within the stack through the use of a classification scheme stored in the computer wherein the classification scheme may utilize data (parameters) related to the geometry, color, feature pattern and size of each type (value) of chip in a preselected family of chips. The classification scheme data is used as a reference for a real time captured image of the stack of gambling chips. The system captures an image of the stack of gambling chips and processes the image by first detecting the boundaries of each chip in the image and then analyzing the degree of consistency between the data extracted from a given chip's area within the image and the classification scheme's parameters for all possible chip types. The system assigns the chip the value for which the classification scheme's parameters are most consistent with the data extracted from that chip's area within the image, provided that the degree of consistency is greater than some predefined minimum acceptable degree of consistency. If none of the classification parameters for any chip type are sufficiently consistent with the extracted data for a given chip in the image, that chip is assigned an “undefined” value. When the analysis of the extracted data from each chip position in the image of the stack has been completed, the system displays the total number of chips which were found and their total monetary value, obtained by summing all the defined and assigned chip values from that image. The system also provides the communication of the number and value of chips wagered by players to a main computer for storage in a centralized player data base. It may also log the occurrences of chips for which an assigned value could not be defined.
The present invention is a gambling chip recognition system comprising a processor, data storage, an imager and a communication link. The gambling chip recognition system images a stack of gambling chips. The image of the gambling chip stack is processed by the processor to first derive from the image the locations of the chips within the stack and secondly the type (value) of each chip within the stack. The number of chips in the stack and the value of each chip within the stack may be communicated by way of a real time display monitor or to another main system database, via the communication link, where information is collected about individual gamblers.
As required, detailed embodiments of the present invention are disclosed herein. However, it is to be understood that the disclosed embodiment is merely exemplary of the invention, which may be embodied in various forms. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting but rather as the basis for the claims and as a representative basis for teaching one skilled in the art to employ the present invention in virtually any appropriately detailed system.
Referring to the drawings, an embodiment of the gambling chip recognition system is illustrated generally in
The gambling chip recognition system imager 16 is comprised of a plurality of video cameras, one for each gambling position on the gaming table. Each camera being commercially available and using conventional rasters and scanning rates. The gambling chip recognition system 10 illustrated in
The imager 16 may be implemented in a plurality of different ways. For example, in another embodiment (not shown), the imager 16 is a high resolution camera mounted in relation to a gaming table such that a full view of all betting positions are within the camera's field of view. The camera continuously images all gambling chip stacks at the gaming table betting positions and generates frames of video signals representative thereof. In another embodiment, the imager is a single camera having a pan-tilt mechanism employed whereby the camera is repositioned and refocused on each gambling chip pile separately. It is to be understood that other embodiments of the imager may be utilized and that structural or logical changes to the system may be made without departing from the scope of the present invention.
The digitizer 18 is electrically connected to the imager 16 and processor 12. The digitizer 18 is controlled by processor 12 and digitizes frames of video signals currently being generated by video camera 16 when commanded by the processor 12. Camera 16 continuously images a stack of gambling chips through its objective lens and generates frames of video signals representative thereof. The digitizer 18 produces two dimensional arrays of digital pixel values representative of the intensity and/or color of the pixel values of the video images captured by camera 16 at corresponding discrete pixel locations. An image array having pixel values PVr,c corresponding to a stack of gambling chips is illustrated in
In the embodiment shown in
Image data from the digitizer 18 is stored in data storage 14, which provides computational access to derived data as well as to the acquired image. The data storage 14 may incorporate digital and/or analog storage devices, including conventional RAM, conventional disk, or a byte-sized register which passes bytes of digital data to the processor in a manner which permits serial access to the data. The serial stream of data flowing through the register into the processor may flow in a manner consistent with the computation even though only one byte may be available at each computational cycle.
The communications link 20 constitutes the devices which forward the results of the count and chip value determination performed by the processor. These devices include a video display whereby an operator can see the results of the processing displayed as a dollar value and count of the stack of chips, as well as digital communications whereby the data is conveyed to another computing system, i.e., via ethernet, wherein the betting information is stored in a conventional database containing an individual's transaction history.
The processor is a commercially available processor such as an Intel Pentium which permits manipulation of the digitized image to enable the derivation of chip information from the digital representation of the stack of gambling chips. The processing may be carried out entirely with one or more digital processors, but analog processing may also be used (for example, in edge detectors or various data conversion operations). The processing may be implemented in hardware, firmware, and or/software. The processing which needs to be performed includes (1) detection of the approximately horizontal edges at the upper and lower edges of each chip, (2) detection of the approximately vertical edges of the various “features” (for example, vertical strips of certain colors) occurring along the visible portion of the chip, (3) segmentation processing, during which the observed feature sequence for a chip is analyzed for compatibility with the predefined canonical feature sequences of each of the chip types of the chip set in use, (4) classifying the chip with the value of the chip type whose feature sequence is most consistent with the observed feature sequence, and (5) incorporating the classified values of all the chips in the stack into a grand total value which is reported for the current stack.
Because the fine structure of the vertical edges is not as important as signal-to-noise ratio, the next processing stage generates a Reduced Resolution Image 104, with 320 columns by 240 rows having 16 bits per component, using the average of one 2×2 pixel group in the Log Image 102 to create one pixel in the Reduced Resolution Image 104.
Next, a Vertical Edge Image 106 is calculated by applying a vertical edge extracting kernel to the Reduced Resolution Image 104 (performing this operation independently on each of the three color components). This kernel consists of seven identical rows (to enhance signal to noise ratio by vertical averaging), each of which consists of the following seven coefficients: −1, −1, 0, 0, 0, 1, 1.
The Original Image 100 is also used as a source of horizontal edge (layer lines) extraction. This begins with a “despeckling” process, which suppresses specular highlights in the original image by (1) generating a total luminance image from the original r,g,b image, (2) locating anomalous horizontal segments in which a luminance pixel of sufficient brightness is surrounded by sufficiently dimmer left and right near-neighbors, and (3) replacing original r, g, and b pixels by an interpolation between the corresponding (r, g, or b) pixels at the endpoints of the anomalous segment, yielding the Despeckled Image 108. The Despeckled Image 108 is smoothed by applying a three column wide by seven row high unsharp mask, yielding an Unsharp Smoothed Image 110 which will be used for extraction of smooth color values in subsequent processing.
The Despeckled Image 100 is also used to generate a Horizontal Line Image 112 by (1) generating, at each pixel location, for each component (r, g, and b), five consecutive rows of data, each of which is horizontally averaged (using a thirteen column wide averaging interval), (2) calculating absolute differences between the center row average and its upper and lower neighbor rows' averages, (3) calculating an absolute difference between the center row average and the average of all four neighboring row averages, and (4) calculating a final, monochromatic pixel value of the Horizontal Line Image 112 based on a weighted sum of all these differences.
To build up a signal-to-noise ratio before edge detection, groups of thirty two columns at a time in Horizontal Line Image 112 are averaged into “Macrocolumns” 114, of which there are twenty, each of which is 480 elements long. Each of these is first vertically smoothed by averaging three consecutive elements, then scanned, top-to-bottom, for edges. When a change of at least ten is found over a span of two columns, the first subsequent local maximum is declared to be an edge and its location is stored in that macrocolumn's Edge List 116.
The twenty raw Edge Lists 116 are further processed by a “corroboration algorithm” which rejects edges which are not sufficiently close vertically to edges in adjacent macrocolumns and groups the admissible edges into global (over all macrocolurins) Corroborated Edge Lists 118 such that top edges of the top chip have an index of zero in all macrocolumns where they are found, top edges of the second chip always have an index of one, etc.
The row coordinates to use in subsequent horizontal scanning of a given chip are obtained by (1) interpolating and extrapolating the defined edge (row coordinate) values into all macrocolumns where they are not already defined and (2) adding an offset equivalent to approximately one half of the (known in advance) chip thickness to the top edge coordinate for a given chip at a given macrocolumn. The resultant array of twenty row numbers (one for each macrocolumn) for a given chip is the Row Number of Chip Center 120.
The Row Number of Chip Center 120 is used to select r, g, and b values from Unsharp Smoothed Image 110, yielding one-dimensional arrays of Smoothed RGB's Along Chip Center 122. The Row Number of Chip Center 120 is also used to select r, g, and b values from V Edge Image 106, yielding one-dimensional arrays of V Edge RGB's Along Chip Center 122. The Smoothed RGB's Along Chip Center 120 are also converted, by normal RGB to HLS conversion equations, into suitably scaled, Smoothed HLS's Along Chip Center 124.
Segmentation of data extracted along the chip center is performed by declaring a feature edge to exist at any column where either (1) the V Edge r, g, or b value exceeds a certain threshold, or (2) a more gradual hue change of sufficient magnitude occurs (provided that the luminance and saturation values at that location are sufficiently high for hue values to be stable), or (3) a more gradual saturation change of sufficient magnitude occurs (provided that the luminance and saturation values at that location are sufficiently high for saturation values to be stable. The initial and final column numbers of each such edge are stored, along with the total number of such edges, in Edge Coordinates Along Chip Center 126.
Next, the observed sequence of extracted features for a given chip is compared with Predefined Segment Templates 128, which define the hue. luminance, saturation, and length limits allowed for each feature of each denomination in the current chip set. (In actuality, hue is represented by two values, called Hx and Hy, representing the x and y projections of the angular coordinate, Hue.) For each candidate denomination (possible chip value), a Score Structure 130 is computed, including the number of each feature type which was encountered and the maximum encountered total length of contiguous features consistent with the sequential feature definitions contained in the Template 128 for that denomination.
Finally, a final Denomination Value 130 is calculated using certain classification rules. For example, the candidate denomination which yielded the greatest total length of contiguous features can be chosen, provided that there was at least one occurrence of the longest (or “background” defined feature type for that denomination.
Number | Date | Country | |
---|---|---|---|
Parent | 10385150 | Mar 2003 | US |
Child | 11072173 | Mar 2005 | US |
Parent | 09115328 | Jul 1998 | US |
Child | 10385150 | Mar 2003 | US |
Parent | 08539779 | Oct 1995 | US |
Child | 08962915 | Oct 1997 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 08962915 | Oct 1997 | US |
Child | 09115328 | Jul 1998 | US |