Intelligent identification method and system suitable for chess games

文档序号:1030753 发布日期:2020-10-30 浏览:13次 中文

阅读说明:本技术 适用于棋类游戏的智能识别方法及系统 (Intelligent identification method and system suitable for chess games ) 是由 马科峰 于 2020-06-29 设计创作,主要内容包括:本发明提供了一种适用于棋类游戏的智能识别方法及系统,包括:棋盘初始化步骤:根据棋盘设置信息和/或用户输入设置信息,获取棋盘初始显示信息、侦测单元开启信息、识别开启信息;落子侦测步骤:根据侦测单元开启信息、棋盘矩阵式触点状态信息,获取棋盘落子位置信息;识别步骤:根据识别开启信息、识别控制信息,获取识别结果信息;结果呈现步骤:根据棋盘落子位置信息、识别结果信息,获取棋盘显示控制信息;根据棋盘显示控制信息,获取棋盘显示结果信息;所述棋盘显示控制信息指示棋盘显示呈现行为;本发明能够很好地适用于于棋类游戏教学的实践中,教师能够利用智能棋具,很好地展示棋类游戏的规则、方法。(The invention provides an intelligent identification method and system suitable for chess games, which comprises the following steps: chessboard initialization: acquiring initial display information of the chessboard, detection unit starting information and identification starting information according to chessboard setting information and/or user input setting information; a step of detecting falling seeds: acquiring chessboard falling position information according to the starting information of the detection unit and the chessboard matrix type contact state information; an identification step: acquiring identification result information according to the identification starting information and the identification control information; and a result presentation step: obtaining chessboard display control information according to the chessboard falling position information and the identification result information; obtaining chessboard display result information according to the chessboard display control information; the chessboard display control information indicates a chessboard display presentation behavior; the invention can be well applied to the practice of chess game teaching, and teachers can well display rules and methods of chess games by using intelligent chess tools.)

1. An intelligent identification method suitable for chess games is characterized by comprising the following steps:

chessboard initialization: acquiring initial display information of the chessboard, detection unit starting information and identification starting information according to chessboard setting information and/or user input setting information;

a step of detecting falling seeds: acquiring chessboard falling position information according to the starting information of the detection unit and the chessboard matrix type contact state information;

an identification step: acquiring identification result information according to the identification starting information and the identification control information;

and a result presentation step: obtaining chessboard display control information according to the chessboard falling position information and the identification result information;

obtaining chessboard display result information according to the chessboard display control information;

the chessboard display control information indicates a chessboard display presentation behavior;

The identification control information includes: chess piece identification control information;

the chessman identification control information can guide any one or more of the following actions:

-pawn shape recognition;

-pawn color identification;

-pawn surface pattern recognition.

2. An intelligent recognition method for board games as claimed in claim 1, wherein said recognition step comprises:

and black and white piece identification: identifying the gray level of the chessmen according to the identification opening information and the identification control information to obtain the gray level identification information of the chessmen;

and acquiring identification result information according to the piece gray level identification information.

3. The intelligent recognition method for board games as claimed in claim 1, further comprising:

and a chess manual database calling step: calling a chess manual database according to the position information and the identification result information of the falling chess pieces of the chessboard to obtain the falling chess piece pre-judging information;

the drop anticipation information includes: one-step falling pre-judgment information and/or multi-step falling pre-judgment information;

the result presenting step includes:

a step of displaying a drop pre-judgment result: acquiring the falling prejudgment display control information according to the falling prejudgment information;

the chessboard display control information includes: and (4) displaying control information by drop prediction.

4. The intelligent recognition method for board games as claimed in claim 1, further comprising:

communication control step: and transmitting information through the wireless communication unit according to the chessboard initial display information, the chessboard falling position information, the identification result information and the chessboard display result information to obtain wireless communication result information.

The communication control step comprises:

a first wireless communication step: according to the chessboard initial display information, the chessboard falling position information, the identification result information and the chessboard display result information, transmitting information through a Bluetooth unit or a 2.4G/WIFI unit to obtain wireless communication result information;

a second wireless communication step: and transmitting information through the 5G wireless communication unit according to the chessboard initial display information, the chessboard falling position information, the identification result information and the chessboard display result information to obtain wireless communication result information.

5. The intelligent recognition method for board games as claimed in claim 1, wherein said result presenting step comprises:

and a sound result presenting step: and acquiring sound presentation information according to the chessboard display control information.

6. An intelligent recognition system suitable for board games, comprising:

A chessboard initialization module: acquiring initial display information of the chessboard, detection unit starting information and identification starting information according to chessboard setting information and/or user input setting information;

a falling-off detection module: acquiring chessboard falling position information according to the starting information of the detection unit and the chessboard matrix type contact state information;

an identification module: acquiring identification result information according to the identification starting information and the identification control information;

a result presentation module: obtaining chessboard display control information according to the chessboard falling position information and the identification result information;

obtaining chessboard display result information according to the chessboard display control information;

the chessboard display control information indicates a chessboard display presentation behavior;

the identification control information includes: chess piece identification control information;

the chessman identification control information can guide any one or more of the following actions:

-pawn shape recognition;

-pawn color identification;

-pawn surface pattern recognition.

7. The system of claim 6, wherein the identification module comprises:

black and white piece identification module: identifying the gray level of the chessmen according to the identification opening information and the identification control information to obtain the gray level identification information of the chessmen;

And acquiring identification result information according to the piece gray level identification information.

8. The system of claim 6, further comprising:

a chess manual database calling module: calling a chess manual database according to the position information and the identification result information of the falling chess pieces of the chessboard to obtain the falling chess piece pre-judging information;

the drop anticipation information includes: one-step falling pre-judgment information and/or multi-step falling pre-judgment information;

the result presentation module includes:

a drop pre-judgment result presentation module: acquiring the falling prejudgment display control information according to the falling prejudgment information;

the chessboard display control information includes: and (4) displaying control information by drop prediction.

9. The system of claim 6, further comprising:

the communication control module: and transmitting information through the wireless communication unit according to the chessboard initial display information, the chessboard falling position information, the identification result information and the chessboard display result information to obtain wireless communication result information.

The communication control module includes:

the first wireless communication module: according to the chessboard initial display information, the chessboard falling position information, the identification result information and the chessboard display result information, transmitting information through a Bluetooth unit or a 2.4G/WIFI unit to obtain wireless communication result information;

The second wireless communication module: and transmitting information through the 5G wireless communication unit according to the chessboard initial display information, the chessboard falling position information, the identification result information and the chessboard display result information to obtain wireless communication result information.

10. The system of claim 6, wherein the result presentation module comprises:

a sound result presentation module: and acquiring sound presentation information according to the chessboard display control information.

Technical Field

The invention relates to the field of chessboard display, in particular to an intelligent identification method and system suitable for chess games.

Background

The technical level of off-line entity go training still has a plurality of problems, and a teacher mainly adopts an electronic hanging disc or a common hanging disc during teaching, and the teaching mode is not obviously changed; the classroom discipline of students, the enthusiasm of quiz and question asking, the answering quality and answering efficiency, and the number of questions made in classroom in real time; important information such as understanding of knowledge points of students cannot form electronic informatization, digitization and visualization in detail; the new teaching mode that one tablet computer of student's staff installs weiqi software is novel enough, not true enough, and the display interface is narrow and small, and experience nature is general, and more importantly watches electronic screen for a long time and injures eyesight. In the technical application scene, an intelligent identification method and system suitable for chess games are urgently needed in the prior art.

Patent document CN104540562A discloses a go board, comprising: a circular or polygonal panel; go board display part on the panel to display go groove; a pair of chess piece containing components positioned in the two side spaces above the panel. The go board improves the space utilization rate and the use convenience, has more attractive appearance and low manufacturing cost, and enables players to play more interestingly. The patent still has room to be improved in the performance and the technical effect of intelligent identification suitable for chess games.

Disclosure of Invention

Aiming at the defects in the prior art, the invention aims to provide an intelligent identification method and system suitable for chess games.

The intelligent identification method suitable for the chess games provided by the invention comprises the following steps: chessboard initialization: acquiring initial display information of the chessboard, detection unit starting information and identification starting information according to chessboard setting information and/or user input setting information; a step of detecting falling seeds: acquiring chessboard falling position information according to the starting information of the detection unit and the chessboard matrix type contact state information; an identification step: acquiring identification result information according to the identification starting information and the identification control information; and a result presentation step: obtaining chessboard display control information according to the chessboard falling position information and the identification result information; obtaining chessboard display result information according to the chessboard display control information; the chessboard display control information indicates a chessboard display presentation behavior; the identification control information includes: chess piece identification control information; the chessman identification control information can guide any one or more of the following actions: -pawn shape recognition; -pawn color identification; -pawn surface pattern recognition.

Preferably, the identifying step comprises: and black and white piece identification: identifying the gray level of the chessmen according to the identification opening information and the identification control information to obtain the gray level identification information of the chessmen; and acquiring identification result information according to the piece gray level identification information.

Preferably, the method further comprises the following steps: and a chess manual database calling step: calling a chess manual database according to the position information and the identification result information of the falling chess pieces of the chessboard to obtain the falling chess piece pre-judging information; the drop anticipation information includes: one-step falling pre-judgment information and/or multi-step falling pre-judgment information; the result presenting step includes: a step of displaying a drop pre-judgment result: acquiring the falling prejudgment display control information according to the falling prejudgment information; the chessboard display control information includes: and (4) displaying control information by drop prediction.

Preferably, the method further comprises the following steps: communication control step: and transmitting information through the wireless communication unit according to the chessboard initial display information, the chessboard falling position information, the identification result information and the chessboard display result information to obtain wireless communication result information.

The communication control step comprises: a first wireless communication step: and transmitting information through the Bluetooth unit or the 2.4G/WIFI unit according to the chessboard initial display information, the chessboard falling position information, the identification result information and the chessboard display result information, and acquiring wireless communication result information. A second wireless communication step: and transmitting information through the 5G wireless communication unit according to the chessboard initial display information, the chessboard falling position information, the identification result information and the chessboard display result information to obtain wireless communication result information.

Preferably, the result presenting step comprises: and a sound result presenting step: and acquiring sound presentation information according to the chessboard display control information.

Preferably, the method comprises the following steps: a chessboard initialization module: acquiring initial display information of the chessboard, detection unit starting information and identification starting information according to chessboard setting information and/or user input setting information; a falling-off detection module: acquiring chessboard falling position information according to the starting information of the detection unit and the chessboard matrix type contact state information; an identification module: acquiring identification result information according to the identification starting information and the identification control information; a result presentation module: obtaining chessboard display control information according to the chessboard falling position information and the identification result information; obtaining chessboard display result information according to the chessboard display control information; the chessboard display control information indicates a chessboard display presentation behavior; the identification control information includes: chess piece identification control information; the chessman identification control information can guide any one or more of the following actions: -pawn shape recognition; -pawn color identification; -pawn surface pattern recognition.

Preferably, the identification module comprises: black and white piece identification module: identifying the gray level of the chessmen according to the identification opening information and the identification control information to obtain the gray level identification information of the chessmen; and acquiring identification result information according to the piece gray level identification information.

Preferably, the method further comprises the following steps: a chess manual database calling module: calling a chess manual database according to the position information and the identification result information of the falling chess pieces of the chessboard to obtain the falling chess piece pre-judging information; the drop anticipation information includes: one-step falling pre-judgment information and/or multi-step falling pre-judgment information; the result presentation module includes: a drop pre-judgment result presentation module: acquiring the falling prejudgment display control information according to the falling prejudgment information; the chessboard display control information includes: and (4) displaying control information by drop prediction.

Preferably, the method further comprises the following steps: the communication control module: and transmitting information through the wireless communication unit according to the chessboard initial display information, the chessboard falling position information, the identification result information and the chessboard display result information to obtain wireless communication result information.

The communication control module includes: the first wireless communication module: and transmitting information through the Bluetooth unit or the 2.4G/WIFI unit according to the chessboard initial display information, the chessboard falling position information, the identification result information and the chessboard display result information, and acquiring wireless communication result information. The second wireless communication module: and transmitting information through the 5G wireless communication unit according to the chessboard initial display information, the chessboard falling position information, the identification result information and the chessboard display result information to obtain wireless communication result information.

Preferably, the result presentation module comprises: a sound result presentation module: and acquiring sound presentation information according to the chessboard display control information.

Compared with the prior art, the invention has the following beneficial effects:

1. the invention can be well applied to the practice of chess game teaching, and teachers can well display rules and methods of chess games by using intelligent chess tools;

2. the invention can well apply the intelligent identification to the intelligent chess, especially the go chess, and further pre-judges the possible chess playing scheme by identifying black and white pieces;

3. the invention has convenient use and wide application range and can overcome the defects of the prior art.

Drawings

Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments with reference to the following drawings:

FIG. 1 is a schematic overall flow chart of the present invention.

Fig. 2 is a general framework diagram of the present invention.

Fig. 3 is a schematic diagram of a position structure of a gray detection unit of the intelligent chessboard in an embodiment of the invention.

Detailed Description

The present invention will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the invention, but are not intended to limit the invention in any way. It should be noted that it would be obvious to those skilled in the art that various changes and modifications can be made without departing from the spirit of the invention. All falling within the scope of the present invention.

As shown in fig. 1-2, the intelligent identification method for chess games provided by the present invention comprises: chessboard initialization: acquiring initial display information of the chessboard, detection unit starting information and identification starting information according to chessboard setting information and/or user input setting information; a step of detecting falling seeds: acquiring chessboard falling position information according to the starting information of the detection unit and the chessboard matrix type contact state information; an identification step: acquiring identification result information according to the identification starting information and the identification control information; and a result presentation step: obtaining chessboard display control information according to the chessboard falling position information and the identification result information; obtaining chessboard display result information according to the chessboard display control information; the chessboard display control information indicates a chessboard display presentation behavior; the identification control information includes: chess piece identification control information; the chessman identification control information can guide any one or more of the following actions: -pawn shape recognition; -pawn color identification; -pawn surface pattern recognition.

Preferably, the identifying step comprises: and black and white piece identification: identifying the gray level of the chessmen according to the identification opening information and the identification control information to obtain the gray level identification information of the chessmen; and acquiring identification result information according to the piece gray level identification information.

Preferably, the method further comprises the following steps: and a chess manual database calling step: calling a chess manual database according to the position information and the identification result information of the falling chess pieces of the chessboard to obtain the falling chess piece pre-judging information; the drop anticipation information includes: one-step falling pre-judgment information and/or multi-step falling pre-judgment information; the result presenting step includes: a step of displaying a drop pre-judgment result: acquiring the falling prejudgment display control information according to the falling prejudgment information; the chessboard display control information includes: and (4) displaying control information by drop prediction.

Preferably, the method further comprises the following steps: communication control step: and transmitting information through the wireless communication unit according to the chessboard initial display information, the chessboard falling position information, the identification result information and the chessboard display result information to obtain wireless communication result information.

The communication control step comprises: a first wireless communication step: and transmitting information through the Bluetooth unit or the 2.4G/WIFI unit according to the chessboard initial display information, the chessboard falling position information, the identification result information and the chessboard display result information, and acquiring wireless communication result information. A second wireless communication step: and transmitting information through the 5G wireless communication unit according to the chessboard initial display information, the chessboard falling position information, the identification result information and the chessboard display result information to obtain wireless communication result information.

Preferably, the result presenting step comprises: and a sound result presenting step: and acquiring sound presentation information according to the chessboard display control information.

Preferably, the method comprises the following steps: a chessboard initialization module: acquiring initial display information of the chessboard, detection unit starting information and identification starting information according to chessboard setting information and/or user input setting information; a falling-off detection module: acquiring chessboard falling position information according to the starting information of the detection unit and the chessboard matrix type contact state information; an identification module: acquiring identification result information according to the identification starting information and the identification control information; a result presentation module: obtaining chessboard display control information according to the chessboard falling position information and the identification result information; obtaining chessboard display result information according to the chessboard display control information; the chessboard display control information indicates a chessboard display presentation behavior; the identification control information includes: chess piece identification control information; the chessman identification control information can guide any one or more of the following actions: -pawn shape recognition; -pawn color identification; -pawn surface pattern recognition.

Preferably, the identification module comprises: black and white piece identification module: identifying the gray level of the chessmen according to the identification opening information and the identification control information to obtain the gray level identification information of the chessmen; and acquiring identification result information according to the piece gray level identification information.

Preferably, the method further comprises the following steps: a chess manual database calling module: calling a chess manual database according to the position information and the identification result information of the falling chess pieces of the chessboard to obtain the falling chess piece pre-judging information; the drop anticipation information includes: one-step falling pre-judgment information and/or multi-step falling pre-judgment information; the result presentation module includes: a drop pre-judgment result presentation module: acquiring the falling prejudgment display control information according to the falling prejudgment information; the chessboard display control information includes: and (4) displaying control information by drop prediction.

Preferably, the method further comprises the following steps: the communication control module: and transmitting information through the wireless communication unit according to the chessboard initial display information, the chessboard falling position information, the identification result information and the chessboard display result information to obtain wireless communication result information.

The communication control module includes: the first wireless communication module: and transmitting information through the Bluetooth unit or the 2.4G/WIFI unit according to the chessboard initial display information, the chessboard falling position information, the identification result information and the chessboard display result information, and acquiring wireless communication result information. The second wireless communication module: and transmitting information through the 5G wireless communication unit according to the chessboard initial display information, the chessboard falling position information, the identification result information and the chessboard display result information to obtain wireless communication result information.

Preferably, the result presentation module comprises: a sound result presentation module: and acquiring sound presentation information according to the chessboard display control information.

Specifically, in one embodiment, as shown in FIG. 3, an intelligent recognition system for chess games employs a gray sensor, which is an analog sensor having a light emitting diode and a photo resistor mounted on the same side. The gray sensor detects the color depth by using the principle that the reflection degrees of the light of the detection surfaces with different colors are different, and the resistance values of the light returned by the photoresistors to the light of different detection surfaces are also different. Within the effective detection distance, the light-emitting diode emits white light which irradiates the detection surface, the detection surface reflects partial light, and the photoresistor detects the intensity of the light and converts the intensity into a signal which can be identified by the intelligent chessboard.

The color attributes of the positioned chess pieces are quickly and accurately identified by the intelligent chessboard through the gray detection unit, the black chess and the white chess are confirmed by distinguishing the color attributes, and finally, the notation is accurately recorded by taking the color of the actual positioned chess pieces as a reference.

When the attributes of the chess pieces at the target position are driven and defined by a computer program and are not matched due to human errors, the intelligent chessboard can finish reminding in an acousto-optic reminding mode, so that a player can correct errors.

When players hold the chess pieces to fall onto the chessboard and disorder the chess pieces of the chessboard in actual combat, the disordered chess pieces are conveniently and quickly and accurately subjected to repeated plate guiding.

In the teaching link, especially when the children play chess according to the electronic hanging-board electronic chess manual and the guidance of a teacher, the correctness of the attribute of the visiting chess of the students and the classroom drilling efficiency are obviously improved.

The identified play is described as follows:

firstly, players put the chess pieces on the surface of the chessboard and keep still (confirming the record after delaying time);

secondly, driving the LED light guide plate to flicker once after the magnetic switch senses that the chessmen fall;

thirdly, the LED flickers and directly irradiates the bottom of the chess pieces through the chess surface, and the reflected light is fed back to a light sensing circuit right below the chess pieces;

fourthly, the photoresistor detects the intensity of the reflected light and converts the intensity into a signal which can be identified by the intelligent chessboard;

fifthly, after the radiated light is converted into an identification signal, the intelligent chessboard circuit system automatically identifies and classifies the attributes of the black and white chessmen according to the attributes of the signal;

and sixthly, automatically recording by the intelligent chessboard system after recognition and classification, and waiting for retrieval and disk replacement at any time.

The invention can be well applied to the practice of chess game teaching, and teachers can well display rules and methods of chess games by using intelligent chess tools; the invention can well apply the intelligent identification to the intelligent chess, especially the go chess, and further pre-judges the possible chess playing scheme by identifying black and white pieces; the invention has convenient use and wide application range and can overcome the defects of the prior art.

Those skilled in the art will appreciate that, in addition to implementing the system and its various devices, modules, units provided by the present invention as pure computer readable program code, the system and its various devices, modules, units provided by the present invention can be fully implemented by logically programming method steps in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Therefore, the system and various devices, modules and units thereof provided by the invention can be regarded as a hardware component, and the devices, modules and units included in the system for realizing various functions can also be regarded as structures in the hardware component; means, modules, units for performing the various functions may also be regarded as structures within both software modules and hardware components for performing the method.

In the description of the present application, it is to be understood that the terms "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience in describing the present application and simplifying the description, but do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present application.

The foregoing description of specific embodiments of the present invention has been presented. It is to be understood that the present invention is not limited to the specific embodiments described above, and that various changes or modifications may be made by one skilled in the art within the scope of the appended claims without departing from the spirit of the invention. The embodiments and features of the embodiments of the present application may be combined with each other arbitrarily without conflict.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种多功能棋

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!