CN102600607B - Color recognition system of nonmagnetic mahjong machine and method - Google Patents
Color recognition system of nonmagnetic mahjong machine and method Download PDFInfo
- Publication number
- CN102600607B CN102600607B CN201210090580.9A CN201210090580A CN102600607B CN 102600607 B CN102600607 B CN 102600607B CN 201210090580 A CN201210090580 A CN 201210090580A CN 102600607 B CN102600607 B CN 102600607B
- Authority
- CN
- China
- Prior art keywords
- color
- nonmagnetic
- primary colors
- sensor chip
- mahjong tile
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Image Analysis (AREA)
- Spectrometry And Color Measurement (AREA)
Abstract
The invention relates to a color recognition system of a nonmagnetic mahjong machine and a method. The color recognition system comprises a light source, a nonmagnetic mahjong tile and a color sensor chip, the nonmagnetic mahjong tile is a mahjong tile without magnetic materials, and the mahjong tile consists of a character surface with the white base color and a colorful back surface. The light source matches with the nonmagnetic mahjong tile in an illumination manner, the color sensor chip is mounted nearby the nonmagnetic mahjong tile and is used for receiving diffuse reflection light, the color of a measured position on the nonmagnetic mahjong tile is calculated by means of measuring the component of each of three primary colors in the reflection light, and accordingly the character surface and the back surface of the nonmagnetic mahjong tile are recognized. The color recognition system of the nonmagnetic mahjong machine and the method have the advantages that 1, the character surface and the back surface of the nonmagnetic mahjong tile are judged by means of distinguishing the colors of the character surface of the mahjong tile from the colors of the back surface of the mahjong tile, and accordingly functions of the nonmagnetic mahjong machine are realized; and 2, an object with the reference colors is used as a reference, and no matter whether the light source is replaced or the sensor chip is replaced, reliability of test results can be guaranteed as long as the object with the reference colors is not changed.
Description
Technical field
The present invention relates to mahjong machine field, especially a kind of Color Recognition System without magnetic mahjong machine and method.
Background technology
In existing mahjong machine, the upset at the literal and back side of mah-jong pieces is that the principle that there is a natural attraction between the sexes realizes by magnetic material two like magnetic poles repel each other.Be that mah-jong pieces and mahjong machine inside are all provided with magnet, in the time that mah-jong pieces run to ad-hoc location, the magnet in mahjong machine by mah-jong pieces literally down, carry on the back the upset of supine direction.And the magnet of specific direction is also installed by the requirement of design in the mechanism that registers the license in mahjong machine, the mah-jong pieces that the mechanism that registers the license will turn over face suck piling and pushing mechanism, fold on request mah-jong pieces, have realized the automatic arranging pieces function of mahjong machine.But magnetic mahjong has high, the easy cracking of production cost, the first-class shortcoming of assortment list, be therefore the direction that in industry, each producer makes great efforts without the exploitation of magnetic mahjong machine always.
Summary of the invention
The present invention will solve the shortcoming of above-mentioned prior art, and a kind of Color Recognition System without magnetic mahjong machine and method are provided.
The present invention solves the technical scheme that its technical problem adopts: this Color Recognition System without magnetic mahjong machine, this device comprises light source, without Apocynum cannabinum trump card and color sensor chip, described is the mah-jong pieces of carrying magnetic material not without Apocynum cannabinum trump card, is made up of the literal and back side of different colours.Light source with without Apocynum cannabinum trump card form irradiate coordinate, color sensor chip is arranged near the light of coming for receiving diffuse reflection without Apocynum cannabinum trump card, by measuring the component of every kind of color of three primary colors in reverberation, calculate the color without measuring position on Apocynum cannabinum trump card, thereby judge the literal and back side without Apocynum cannabinum trump card.
As preferably, irradiate at light source with without Apocynum cannabinum trump card between coordinating, be provided with transportable maybe can be blocked with reference to color object, for calculating this three primary colors parameter with reference to color object.
Color identification method without magnetic mahjong machine of the present invention, step is as follows: adopt color sensor chip to receive from the light without diffuse reflection is come Apocynum cannabinum trump card, by measuring the component of every kind of color of three primary colors in reverberation, calculate the color without measuring position on Apocynum cannabinum trump card, judge the literal and back side without Apocynum cannabinum trump card by the result of color.
As preferably, at every turn in the time of mahjong machine electrifying startup, first with reference to color object as a benchmark, color sensor chip calculates this three primary colors parameter with reference to color object, and by the result store calculating in CPU; In the time of normal work, sensing system is by the parameter comparison of the measured parameter of reading and storage, and in the time that result is relatively in the error range of permission, tested object is with homochromy with reference to color object, otherwise is not just.
The effect that the present invention is useful is: 1, utilize mah-jong pieces the colouring discrimination literal and back side to realize the judgement without the literal and back side of Apocynum cannabinum trump card, thereby realize the function without magnetic mahjong machine.2, no matter employing, with reference to color object as benchmark, is to change light source, or sensor chip, as long as ensure the uniformity with reference to color object as benchmark, just can ensure the reliability of test result.
Brief description of the drawings
Fig. 1 is the structural representation of embodiments of the invention 1;
Fig. 2 is the structural representation without Apocynum cannabinum trump card in the present invention;
Description of reference numerals: light source 1, without Apocynum cannabinum trump card 2, color sensor chip 3, with reference to color object 4, literal 2-1, back side 2-2.
Detailed description of the invention
Below in conjunction with drawings and Examples, the invention will be further described:
Invention mechanism of the present invention: as shown in Figure 2, the literal major part of existing mah-jong pieces is all white, and back side major part is all blue, yellow or green.This patent utilizes the literal and colouring discrimination back side of mah-jong pieces to realize the judgement without the literal and back side of Apocynum cannabinum trump card, thereby realization is without the function of magnetic mahjong machine.
According to trichromatic principle, any color can resolve into three kinds of colors of red, green, blue.The ratio difference of three kinds of blend of colors, can be combined into any color.Human eye can set the object of different colours, be because solar radiation after object, object only reflects its corresponding color.The light that we can utilize color sensor to detect object reflection is distinguished different colors, thereby has realized the judgement without the literal and back side of Apocynum cannabinum trump card.
As shown in Figure 1, this Color Recognition System without magnetic mahjong machine, this device comprises light source 1, without Apocynum cannabinum trump card 2 and color sensor chip 3, light source 1 coordinates with forming to irradiate without Apocynum cannabinum trump card 2, color sensor chip 3 is arranged near the light of coming for receiving diffuse reflection without Apocynum cannabinum trump card 2, by measuring the component of every kind of color of three primary colors in reverberation, calculate the color without measuring position on Apocynum cannabinum trump card 2, thereby judge the literal and back side without Apocynum cannabinum trump card 2.Irradiate at light source 1 with without Apocynum cannabinum trump card 2 between coordinating, be provided with transportable maybe can be blocked with reference to color object 4, for calculating this three primary colors parameter with reference to color object 4.
Color identification method without magnetic mahjong machine of the present invention, step is as follows: adopt color sensor chip 3 to receive from the light without diffuse reflection is come Apocynum cannabinum trump card 2, by measuring the component of every kind of color of three primary colors in reverberation, calculate the color without measuring position on Apocynum cannabinum trump card 2, judge the literal and back side without Apocynum cannabinum trump card 2 by the result of color.
In theory, the light that light source sends must be to cover all spectrum.That is to say, the trichromatic component of the light that light source sends must be completely equal, because if the trichromatic component of the light that light source sends is unequal, after reflection, the result of test just can not be accurately.In fact, do not cover the light source of all spectrum, there is no two identical light sources yet.And the parameter of each sensor chip also can not be identical.Result is, same testee, and in different color sensor systems, the result difference that sensor chip calculates.Like this, do not have reliable method to be just difficult to the reliable and stable of guarantee system.This patent be exactly in order to address this problem, make different systems draw identical result.
Because the literal major part of existing mah-jong pieces is all white, and there is the difference such as blueness, green at the back side.At every turn in the time of mahjong machine electrifying startup, first with reference to color object 4 (being generally white) as a benchmark, color sensor chip calculates this three primary colors parameter with reference to color object 4, and by the result store calculating in CPU; In the time of normal work, sensing system is by the parameter comparison of the measured parameter of reading and storage, and in the time that result is relatively in the error range of permission, tested object is with homochromy with reference to color object 4, otherwise is not just.Like this, no matter be to change light source, or sensor chip, as long as ensure the uniformity with reference to color object 4 as benchmark, just can ensure the reliability of test result.
As: in a certain color sensor system, the three primary colors parameter of reading as the white object of benchmark is respectively red 255, green 230, blue 220.By theoretical calculating, the result that this parameter draws is white certainly not, and white light should equate by each component, and red 255, green 255, blue 255.Meanwhile, the parameter that this white reference is read in each system can be not identical, and this is to cause because of light source, the inconsistent of chip.The in the situation that of batch production, can not debug separately each sensor.But we record after the parameter of this system, we just know the value of this system each color component in the time of white reverberation, have and the identical or approaching reverberation of stored parameter, and it be white for us just to know.Thereby reach the object that sets the literal and back side of mah-jong pieces.At this moment, light source and chip itself is not just so important, whether similar to benchmark be only important.Once the color of benchmark is wrong, just can not correctly judge the literal and back side of mah-jong pieces.
As a same reason, in the time changing the reverberation color of benchmark, we can change the literal color of mah-jong pieces.
In addition to the implementation, the present invention can also have other embodiments.All employings are equal to the technical scheme of replacement or equivalent transformation formation, all drop on the protection domain of requirement of the present invention.
Claims (2)
1. the Color Recognition System without magnetic mahjong machine, it is characterized in that: this device comprises light source (1), without Apocynum cannabinum trump card (2) and color sensor chip (3), light source (1) and without Apocynum cannabinum trump card (2) irradiate coordinate between be provided with transportable maybe can be blocked with reference to color object (4), for calculating and store this three primary colors parameter with reference to color object (4); Light source (1) with without Apocynum cannabinum trump card (2) form irradiate coordinate, color sensor chip (3) is arranged on without near the light of coming for receiving diffuse reflection Apocynum cannabinum trump card (2), by measuring the component of every kind of color of three primary colors in reverberation, by the three primary colors parameter comparison of tested three primary colors parameter and storage, thereby judge the literal and back side without Apocynum cannabinum trump card (2).
2. one kind adopts the recognition methods of the Color Recognition System without magnetic mahjong machine as claimed in claim 1, it is characterized in that: step is as follows: at every turn in the time of mahjong machine electrifying startup, first with reference to color object (4) as a benchmark, color sensor chip calculates this three primary colors parameter with reference to color object (4), and by calculate result store in CPU; In the time of normal work, adopt color sensor chip (3) to receive from the light without diffuse reflection is come Apocynum cannabinum trump card (2), by measuring the component of every kind of color of three primary colors in reverberation, sensing system is by the three primary colors parameter comparison of the tested three primary colors parameter of reading and storage, in the time that result is relatively in the error range of permission, tested object is with homochromy with reference to color object (4), otherwise is not just.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210090580.9A CN102600607B (en) | 2012-03-30 | 2012-03-30 | Color recognition system of nonmagnetic mahjong machine and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210090580.9A CN102600607B (en) | 2012-03-30 | 2012-03-30 | Color recognition system of nonmagnetic mahjong machine and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102600607A CN102600607A (en) | 2012-07-25 |
CN102600607B true CN102600607B (en) | 2014-07-23 |
Family
ID=46518611
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210090580.9A Expired - Fee Related CN102600607B (en) | 2012-03-30 | 2012-03-30 | Color recognition system of nonmagnetic mahjong machine and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102600607B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106248591B (en) * | 2016-08-10 | 2022-03-04 | 中国农业科学院烟草研究所 | Device for distinguishing maturity degree of tobacco leaves and distinguishing method thereof |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005189119A (en) * | 2003-12-25 | 2005-07-14 | Osaka Industrial Promotion Organization | Color measuring method and color measuring device |
CN1698919A (en) * | 2004-05-17 | 2005-11-23 | 于作涛 | Automatic shuffle method and structure of color choosing mah-jong machine |
CN201130057Y (en) * | 2007-08-15 | 2008-10-08 | 广东威创视讯科技股份有限公司 | Color detector and color recognition device |
CN202569453U (en) * | 2012-03-30 | 2012-12-05 | 吴永良 | Color identification system for non-magnetic mahjong machine |
-
2012
- 2012-03-30 CN CN201210090580.9A patent/CN102600607B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN102600607A (en) | 2012-07-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN203629685U (en) | Color identification device based on LED | |
CN102600607B (en) | Color recognition system of nonmagnetic mahjong machine and method | |
CN202569453U (en) | Color identification system for non-magnetic mahjong machine | |
CN106018395B (en) | A kind of device being acquired detection to test paper using color sensor | |
CN205786339U (en) | Use the device that reagent paper is detected by color sensor one to one | |
CN108278948A (en) | Decoration arc-shaped plate shape cubing | |
CN105157616A (en) | Shadow Moire contour measurement device and calibration method and measurement method thereof | |
CN205745266U (en) | A kind of automobile gear level detector | |
CN105526955A (en) | Color-based position identification method and metering device | |
CN105300515B (en) | A kind of detection means applied to mobile terminal | |
CN106248125B (en) | A kind of sine and cosine photoelectric encoder of band signal quality self-assessment brake | |
CN205120929U (en) | Motor aging testing system | |
CN202501921U (en) | Nonmagnetic mahjong game machine color recognition device with optical fiber heads | |
CN102620831A (en) | Color discrimination device with optical-fiber head for nonmagnetic mahjong machine | |
CN106483266A (en) | A kind of underground electronic tag survey meter detecting fuel gas | |
CN206113878U (en) | Range finding instrument | |
CN204043633U (en) | VCM characteristic optical axis pick-up unit | |
CN209055034U (en) | Moving plate pin hole cross chute cubing | |
CN204384649U (en) | For the electromagnetic sensor of elevator floor verification | |
CN204528965U (en) | A kind of elevator floor checking system | |
CN208313809U (en) | A kind of color pallet detection device | |
CN205844197U (en) | A kind of device using color sensor that reagent paper is acquired detection | |
CN206311026U (en) | Slide calliper rule cubing | |
CN103674494A (en) | LED light performance test bedstand | |
CN207675644U (en) | A kind of detection device for 3D spectacle lens |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140723 Termination date: 20180330 |
|
CF01 | Termination of patent right due to non-payment of annual fee |