The content of the invention
The goal of the invention of the present invention is:Fiber crops are recognized based on image recognition there is provided one kind for above-mentioned problemBy board, so that the automatic mahjong-playing machine of gambling party information is calculated automatically, wherein, expression mahjong tile surface letter is particularly scribbled on mah-jong piecesThe infrared coating of breath, the infrared information on mah-jong pieces is gathered by infrared detector, so as to reach identification mahjong tile surface informationPurpose.
The technical solution adopted by the present invention is as follows:
A kind of automatic mahjong-playing machine of the present invention, including:Mahjong machine body, mah-jong pieces, acquisition module, identification module, microprocessor andDisplay device;The acquisition module, identification module and display device are connected with microprocessor communication respectively;The acquisition module,Information for gathering mah-jong pieces board face;The identification module, for the mah-jong pieces information of collection to be carried out with former storage informationCompare, recognize the mah-jong pieces information of collection;The microprocessor, for the mah-jong pieces information and mah-jong program according to identificationAutomatic-settlement score is carried out, while reminding user to touch, eat, win the game or draw it oneself;The display device, for showing mahjong clearing letterBreath and prompting message.
Above structure, harvester gathers the board face information of mah-jong pieces, by recognizing the information of mah-jong pieces, and according to correspondencePosition, just can know which board each player has on hand, which player has got which board, and which player's thick stick is whose board,Which player whose board, and according to mahjong rule recklessly, which board helps player to understand oneself needs recklessly or to draw it oneself, and carries simultaneouslyAwake player can with eating board, touch board or win the game;At the end of gambling party, the automatic score value and victory or defeat feelings for calculating each player in gambling partyCondition, is recorded after every innings of numerical value, many innings, player can check every innings of information, and can check the analysis to gambling party and systemMeter situation, so as to realize the automatic identification and automatic score function of mahjong, is convenient to the use of player.
Further, the acquisition module includes camera device, and the board face figure picture for shooting mah-jong pieces uploads to identification mouldBlock.
Above structure, by shooting the board face figure picture of mah-jong pieces, carries out image procossing, and then recognizes mah-jong pieces information, gramThe defect that the existing mahjong by embedded radio frequency chip is recognized is taken, identification is more accurate and quick, reaches more preferable recognition effect, justProcessing later.
Further, audio playing apparatus is also associated with the microprocessor, touches, eats for playing player, winning the game or oneselfThe voice touched.
Above structure, the setting of audio playing apparatus can solve the problem that existing player in playing Mah-Jong, due to fast or note of playing a cardMeaning power does not collect medium the problem of cause not touch board, eating board in time or win the game, increases the experience sense of mahjong.
Further, the display device is touch screen displays.
Above structure, touch screen displays are integrated with display and input function, easy to use.
Further, in addition to the terminal that is installed on mahjong machine body, the terminal is four terminals.
Be separately installed with terminal on above structure, four faces of mahjong machine, player by terminal can check prompt message andSettlement information.
Further, integrated microprocessor, identification module, display device and audio playing apparatus in the terminal.
Further, four display devices are connected on the microprocessor respectively.
All information of one microprocessor, processing collection and identification, player are installed on above structure, each mahjong machineBy the display device being correspondingly arranged, corresponding gambling party information may have access to.
Further, infrared coating is scribbled on the surface of the mah-jong pieces;Provided with expression in infrared coating per one sideThe unique identifier of mah-jong pieces information;The camera device also includes infrared detection device.
Above structure, scribbles infrared coating on the surface of mah-jong pieces, is detected by infrared detection device, so as to recognizeBoard face information, because naked eyes can not see the unique identifier of expression mah-jong pieces information on infrared coating, so being not inThe problem of board face information leakage, while by infrared detection device the automatic knowledge of board face information can be realized with identifying plate face informationNot, solve to need that the board that multiple camera devices shoot the board of all players and gone out is installed in image recognition, for mah-jong pieces frontDownwards, it is impossible to the problem of recognizing;Only need to set image collecting device and infrared acquisition in the top of mahjong table in this programmeDevice, image collecting device can shoot the information for the board that faces up that player gets, and infrared detection device collection except just towardsThe board face information of upper outer mahjong, with reference to the seat information of player, just can know that the board face situation on mahjong table, so as to point out to playFamily is touched, thick stick or Hu etc., and according to thick stick, the situation drawn it oneself or won the game between player, score value is calculated automatically, and analyzed.
A kind of automatic mahjong-playing machine automatic identifying method of the present invention, comprises the following steps:
S1:Last layer infrared coating is applied on the surface of mah-jong pieces;Provided with expression mah-jong pieces in infrared coating per one sideThe unique identifier of information;
S2:The information on mah-jong pieces is gathered by infrared detection device and camera device;The image of collection is sent to identification mouldBlock, recognizes the image of collection, and the mah-jong pieces information of identification is uploaded into microprocessor;
S3:Microprocessor, with reference to mah-jong rule, judges player according to the mah-jong pieces information and corresponding seat information of identificationWhether the condition touching, eat, draw it oneself or win the game is reached;When reaching corresponding condition, microprocessor will be prompted to information and be sent to displayDevice or audio playing apparatus, are shown or are played;
S4:Microprocessor records the victory or defeat relation between kind number of player and each player automatically, and every innings of final point is calculated automaticallyValue, while recording the score value of all gambling parties;Gambling party situation is analyzed and counted;
S5:The statistics that player passes through display device inquiry score value, and gambling party.
In summary, by adopting the above-described technical solution, the beneficial effects of the invention are as follows:
1st, mahjong identification is accurate, using image recognition, is unaffected by the magnetic field, and combines infrared identification, reaches faster identification, noNeed to be manually entered.
2nd, real automatic score is realized, based on automatic identification and intelligent scoring program, is realized under a variety of mahjong playing methodsAutomatic score, and existing simple computation is different from, a variety of gambling party information are recorded, and gambling party information is analyzed.
Embodiment eight:
Such as Fig. 2, compared with other embodiment, in the present embodiment, a kind of mahjong machine automatic identifying method, including following step are disclosedSuddenly:
S1:Last layer infrared coating is applied on the surface of mah-jong pieces;Provided with expression mah-jong pieces in infrared coating per one sideThe unique identifier of information;
S2:The information on mah-jong pieces is gathered by infrared detection device and camera device;The image of collection is sent to identification mouldBlock, recognizes the image of collection, and the mah-jong pieces information of identification is uploaded into microprocessor;
S3:Microprocessor, with reference to mah-jong rule, judges player according to the mah-jong pieces information and corresponding seat information of identificationWhether the condition touching, eat, draw it oneself or win the game is reached;When reaching corresponding condition, microprocessor will be prompted to information and be sent to displayDevice or audio playing apparatus, are shown or are played;
S4:Microprocessor records the victory or defeat relation between kind number of player and each player automatically, and every innings of final point is calculated automaticallyValue, while recording the score value of all gambling parties;Gambling party situation is analyzed and counted;
S5:The statistics that player passes through display device inquiry score value, and gambling party.
The invention is not limited in foregoing embodiment.The present invention, which is expanded to, any in this manual to be disclosedNew feature or any new combination, and disclose any new method or process the step of or any new combination.