CN102600607A - Color recognition system of nonmagnetic mahjong machine and method - Google Patents

Color recognition system of nonmagnetic mahjong machine and method Download PDF

Info

Publication number
CN102600607A
CN102600607A CN2012100905809A CN201210090580A CN102600607A CN 102600607 A CN102600607 A CN 102600607A CN 2012100905809 A CN2012100905809 A CN 2012100905809A CN 201210090580 A CN201210090580 A CN 201210090580A CN 102600607 A CN102600607 A CN 102600607A
Authority
CN
China
Prior art keywords
color
apocynum cannabinum
nonmagnetic
trump card
machine
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.)
Granted
Application number
CN2012100905809A
Other languages
Chinese (zh)
Other versions
CN102600607B (en
Inventor
吴永良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201210090580.9A priority Critical patent/CN102600607B/en
Publication of CN102600607A publication Critical patent/CN102600607A/en
Application granted granted Critical
Publication of CN102600607B publication Critical patent/CN102600607B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Spectrometry And Color Measurement (AREA)
  • Image Analysis (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

No Apocynum cannabinum is with the Color Recognition System and the method for machine
Technical field
The present invention relates to mahjong machine field, especially a kind of Color Recognition System and method of not having Apocynum cannabinum with machine.
Background technology
The upset at the literal and back side of mah-jong pieces is to repel each other through the magnetic material same sex in the existing mahjong machine, and the principle that there is a natural attraction between the sexes realizes.Be that mah-jong pieces and mahjong machine inside all are equipped with magnet, when mah-jong pieces run to ad-hoc location, the magnet in the mahjong machine with mah-jong pieces literally down, back side direction upset up.And the magnet of specific direction also is installed by designing requirement in the mechanism that registers the license in the mahjong machine, the mah-jong pieces that the mechanism that registers the license will turn over face suck piling and pushing mechanism, fold mah-jong pieces on request, have realized the automatic arranging pieces function of mahjong machine.But magnetic mahjong has the first-class shortcoming of production cost height, easy of crack, assortment list, and therefore do not have Apocynum cannabinum is the direction that each producer makes great efforts in the industry with the exploitation of 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 and method of not having Apocynum cannabinum with machine is provided.
The present invention solves the technical scheme that its technical problem adopts: this no Apocynum cannabinum is with the Color Recognition System of machine; This device comprises light source, no Apocynum cannabinum trump card and color sensor chip; Described no Apocynum cannabinum trump card is the mah-jong pieces of carrying magnetic material not, is made up of the literal and back side of different colours.Light source forms irradiation with no Apocynum cannabinum trump card and cooperates; The color sensor chip is used to receive the light that diffuse reflection is come near being installed in no Apocynum cannabinum trump card; Through measuring the component of every kind of color of three primary colors in the reverberation; Calculate the color of measuring position on the no Apocynum cannabinum trump card, thereby judge the literal and back side of no Apocynum cannabinum trump card.
As preferably, light source and do not have the irradiation of Apocynum cannabinum trump card be provided with between cooperating transportable maybe can be blocked with reference to the color object, be used to calculate this three primary colors parameter with reference to the color object.
No Apocynum cannabinum of the present invention is with the color identification method of machine; Step is following: adopt the color sensor chip to receive the light that diffuse reflection is come from the no Apocynum cannabinum trump card; Through measuring the component of every kind of color of three primary colors in the reverberation; Calculate the color of measuring position on the no Apocynum cannabinum trump card, judge the literal and back side of no Apocynum cannabinum trump card through the result of color.
As preferably, at every turn when mahjong machine electrifying startup, at first will be with reference to the color object as a benchmark, the color sensor chip calculates this three primary colors parameter with reference to the color object, and result calculated is stored among the CPU; When operate as normal, sensing system compares measured parameter of reading and stored parameters, and when result relatively was in the error range of permission, tested object was with homochromy with reference to the color object, otherwise just was not.
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 at the literal and back side of no Apocynum cannabinum trump card, thereby realize the function of no Apocynum cannabinum with machine.2, no matter employing as benchmark, is to change light source with reference to the color object, and perhaps sensor chip as long as guarantee the uniformity with reference to the color object as benchmark, just can guarantee reliability of testing result.
Description of drawings
Fig. 1 is the structural representation of embodiments of the invention 1;
Fig. 2 is the structural representation of no Apocynum cannabinum trump card among the present invention;
Description of reference numerals: light source 1, no Apocynum cannabinum trump card 2, color sensor chip 3, with reference to color object 4, literal 2-1, back side 2-2.
The specific embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is described further:
Invention mechanism of the present invention: as shown in Figure 2, the literal major part of existing mah-jong pieces all is a white, and back side major part all is blue, yellow or green.This patent utilizes that mah-jong pieces are literal has realized the judgement at the literal and back side of no Apocynum cannabinum trump card with the colouring discrimination back side, thereby the no Apocynum cannabinum of realization is with the function of machine.
According to trichromatic principle, any color can resolve into three kinds of colors of red, green, blue.Promptly the ratio of three kinds of blend of colors is different, can be combined into any color.Human eye can set the object of different colours, be because solar radiation behind object, object only reflects its corresponding color.We can utilize the light of color sensor inspected object reflection to distinguish various colors, thereby have realized the judgement at the literal and back side of no Apocynum cannabinum trump card.
As shown in Figure 1; This no Apocynum cannabinum is with the Color Recognition System of machine, and this device comprises light source 1, no Apocynum cannabinum trump card 2 and color sensor chip 3, and light source 1 forms irradiation with no Apocynum cannabinum trump card 2 and cooperates; Color sensor chip 3 is used to receive the light that diffuse reflection is come near being installed in no Apocynum cannabinum trump card 2; Through measuring the component of every kind of color of three primary colors in the reverberation, calculate the color of measuring position on the no Apocynum cannabinum trump card 2, thereby judge the literal and back side of no Apocynum cannabinum trump card 2.Light source 1 and do not have Apocynum cannabinum trump card 2 irradiation be provided with between cooperating transportable maybe can be blocked with reference to color object 4, be used to calculate this three primary colors parameter with reference to color object 4.
No Apocynum cannabinum of the present invention is with the color identification method of machine; Step is following: adopt color sensor chip 3 to receive the light that diffuse reflection is come from the no Apocynum cannabinum trump card 2; Through measuring the component of every kind of color of three primary colors in the reverberation; Calculate the color of measuring position on the no Apocynum cannabinum trump card 2, judge the literal and back side of no Apocynum cannabinum trump card 2 through the result of color.
In theory, the light that light source sent must be to cover all spectrum.That is to say that the trichromatic component of the light that light source sent must be equal fully, if because the trichromatic component of the light that light source sends is unequal, the result of reflection back test just can not be accurately.In fact, do not cover the light source of all spectrum, do not have two identical light sources yet.And the parameter of each sensor chip also can not be identical.The result is, same testee, and in the various colors sensing system, the sensor chip result calculated is different.Like this, there is not reliable method just to be difficult to the reliable and stable of assurance system.Being exactly of this patent makes different systems draw identical result in order to address this problem.
Because the literal major part of existing mah-jong pieces all is a white, and there are differences such as blueness, green at the back side.At every turn when mahjong machine electrifying startup, at first will be with reference to color object 4 (being generally white) as a benchmark, the color sensor chip calculates this three primary colors parameter with reference to color object 4, and result calculated is stored among the CPU; When operate as normal, sensing system compares measured parameter of reading and stored parameters, and when result relatively was in the error range of permission, tested object was with homochromy with reference to color object 4, otherwise just was not.Like this, no matter be to change light source, perhaps sensor chip as long as guarantee the uniformity with reference to color object 4 as benchmark, just can guarantee reliability of testing 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 red 255, green 255, blue 255.Simultaneously, 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.Under situation about producing in batches, can not debug separately each sensor.But after we noted the parameter of this system, we just knew the value of this system each color component when the reverberation of white, had and the identical or approaching reverberation of stored parameter, and it be white for us just to know.Set the literal purpose with the back side of mah-jong pieces thereby reach.At this moment, light source and chip itself is not so important just, whether similar with benchmark be only important.In case the color of benchmark is wrong, just can not correctly judge the literal and back side of mah-jong pieces.
As a same reason, when changing the reverberation color of benchmark, we can change the literal color of mah-jong pieces.
Except that the foregoing description, 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 (4)

1. Color Recognition System of not having Apocynum cannabinum with machine; It is characterized in that: this device comprises light source (1), no Apocynum cannabinum trump card (2) and color sensor chip (3); Light source (1) forms irradiation with no Apocynum cannabinum trump card (2) and cooperates; Color sensor chip (3) is used to receive the light that diffuse reflection is come near being installed in no Apocynum cannabinum trump card (2); Through measuring the component of every kind of color of three primary colors in the reverberation, calculate the color that no Apocynum cannabinum trump card (2) is gone up the measuring position, thereby judge the literal and back side of no Apocynum cannabinum trump card (2).
2. no Apocynum cannabinum according to claim 1 is with the Color Recognition System of machine; It is characterized in that: between the irradiation of light source (1) and no Apocynum cannabinum trump card (2) cooperates, be provided with transportable maybe can be blocked with reference to color object (4), be used to calculate this three primary colors parameter with reference to color object (4).
3. recognition methods of adopting no Apocynum cannabinum as claimed in claim 1 with the Color Recognition System of machine; It is characterized in that: step is following: adopt color sensor chip (3) to receive from no Apocynum cannabinum trump card (2) and go up the light that diffuse reflection is come; Through measuring the component of every kind of color of three primary colors in the reverberation; Calculate no Apocynum cannabinum trump card (2) and go up the color of measuring position, judge the literal and back side of no Apocynum cannabinum trump card (2) through the result of color.
4. no Apocynum cannabinum according to claim 3 is with the color identification method of machine; It is characterized in that: at every turn when mahjong machine electrifying startup; At first will be with reference to color object (4) as a benchmark; The color sensor chip calculates this three primary colors parameter with reference to color object (4), and result calculated is stored among the CPU; When operate as normal, sensing system compares measured parameter of reading and stored parameters, and when result relatively was in the error range of permission, tested object was with homochromy with reference to color object (4), otherwise just was not.
CN201210090580.9A 2012-03-30 2012-03-30 Color recognition system of nonmagnetic mahjong machine and method Expired - Fee Related CN102600607B (en)

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 true CN102600607A (en) 2012-07-25
CN102600607B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106248591A (en) * 2016-08-10 2016-12-21 中国农业科学院烟草研究所 A kind of Maturity of Tobacco Leaf differentiation utensil and differentiating method thereof

Citations (4)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106248591A (en) * 2016-08-10 2016-12-21 中国农业科学院烟草研究所 A kind of Maturity of Tobacco Leaf differentiation utensil and differentiating method thereof
CN106248591B (en) * 2016-08-10 2022-03-04 中国农业科学院烟草研究所 Device for distinguishing maturity degree of tobacco leaves and distinguishing method thereof

Also Published As

Publication number Publication date
CN102600607B (en) 2014-07-23

Similar Documents

Publication Publication Date Title
CN105607085B (en) A kind of general Beidou subscriber machine test macro and method
WO2006110865A3 (en) Systems and methods for validating a security feature of an object
CN203629685U (en) Color identification device based on LED
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
CN102600607B (en) Color recognition system of nonmagnetic mahjong machine and method
CN105300515B (en) A kind of detection means applied to mobile terminal
CN105866116A (en) Device for detecting test paper one on one by virtue of color sensors
CN105195441A (en) Fool-proof test equipment and method
CN106248125B (en) A kind of sine and cosine photoelectric encoder of band signal quality self-assessment brake
CN204416818U (en) A kind of electromagnetic sensor and have floor verification elevator device
CN102620831A (en) Color discrimination device with optical-fiber head for nonmagnetic mahjong machine
CN202501921U (en) Nonmagnetic mahjong game machine color recognition device with optical fiber heads
CN100429672C (en) Residence card verifying device
CN204043633U (en) VCM characteristic optical axis pick-up unit
CN204866562U (en) Electron product test assists and prevents slow -witted device
CN102393355A (en) Method for measuring analcime in clastic rock
CN105258924A (en) Comprehensive tester for LED light
CN205844197U (en) A kind of device using color sensor that reagent paper is acquired detection
CN204384649U (en) For the electromagnetic sensor of elevator floor verification
CN204528965U (en) A kind of elevator floor checking system
CN106164632B (en) Spectroscopic measurement device and integrating sphere
CN205370232U (en) Revolving door is with intelligent infrared sensor of preventing pressing from both sides
CN203178180U (en) Detection light source structure capable of solving light reflection

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140723

Termination date: 20180330