Intelligent identification system for playing chess

文档序号:1148903 发布日期:2020-09-15 浏览:4次 中文

阅读说明:本技术 一种用于对弈的智能鉴别系统 (Intelligent identification system for playing chess ) 是由 赵清华 武晓雪 董旭彬 王文杉 史学良 于 2020-05-27 设计创作,主要内容包括:本发明用于提供一种用于对弈的智能鉴别系统,包括:监测模块,用于监测目标用户执实体棋子落在目标棋盘的实体点图像;获取模块,用于获取虚拟对弈系统中的虚拟机器执虚拟棋子落在目标棋盘的虚拟点图像;服务器,用于当获取模块和监测模块开始工作时,对目标棋盘进行实时动态跟踪,得到动态跟踪信息;基于预先建立好的动态跟踪模型,对所获取的动态跟踪信息进行第一智能鉴别,同时对实体点图像和虚拟点图像进行第二智能鉴别,并判断两种智能鉴别结果是否相匹配。通过虚实技术结合以及对目标棋盘进行动态跟踪,提高鉴别效果,降低下棋的错误概率,提高用户的体验效果。(The invention is used for providing an intelligent identification system used for playing chess, comprising: the monitoring module is used for monitoring the entity point image of the target user, which is used for carrying the entity chessman and falling on the target chessboard; the acquisition module is used for acquiring a virtual point image of a virtual machine in the virtual chess playing system when a virtual machine executes a virtual chess piece on a target chessboard; the server is used for dynamically tracking the target chessboard in real time when the acquisition module and the monitoring module start to work to obtain dynamic tracking information; and based on a pre-established dynamic tracking model, performing first intelligent identification on the acquired dynamic tracking information, performing second intelligent identification on the entity point image and the virtual point image, and judging whether the two intelligent identification results are matched. By combining the virtuality and reality technologies and dynamically tracking the target chessboard, the identification effect is improved, the error probability of playing chess is reduced, and the experience effect of a user is improved.)

1. An intelligent identification system for playing chess, comprising:

the monitoring module is used for monitoring the entity point image of the target user, which is used for carrying the entity chessman and falling on the target chessboard;

the acquisition module is used for acquiring a virtual point image of a virtual machine in the virtual chess playing system when a virtual machine executes a virtual chess piece on a target chessboard;

the server is used for dynamically tracking the target chessboard in real time when the acquisition module and the monitoring module start to work to obtain dynamic tracking information;

based on a pre-established dynamic tracking model, performing first intelligent identification on the acquired dynamic tracking information, performing second intelligent identification on the monitored entity point image and the acquired virtual point image, judging whether the first intelligent identification result is matched with the second intelligent identification result, and if so, controlling the acquisition module and the monitoring module to continuously and synchronously work;

otherwise, controlling the alarm module to perform corresponding first alarm operation.

2. The intelligent authentication system of claim 1,

and the server is also used for acquiring a preset standard mode set for the target chessboard and determining preset standard playing data corresponding to the preset standard mode when the target chessboard is dynamically tracked in real time.

3. The intelligent authentication system of claim 1, further comprising:

the input module is used for receiving a playing stop instruction input by a user after the chessboard starts playing;

the recording module is used for recording the alarm time length of the first alarm operation executed by the alarm module;

the server is further used for controlling the alarm module to stop corresponding first alarm operation when the input module does not receive a chess playing stopping instruction input by the user and the alarm duration recorded by the recording module is greater than or equal to preset time, and controlling the alarm module to continue to execute corresponding first alarm operation after the alarm module is based on a preset time interval;

and when the input module receives a game stopping instruction input by the user, controlling the alarm module to stop corresponding first alarm operation.

4. The intelligent authentication system of claim 1, further comprising:

the authorization module is used for carrying out level authorization on the target user and forming an authorization level database;

the server is further used for determining the authorization level of the target user inputting the playing stopping instruction based on the authorization level database when the input module receives the playing stopping instruction input by the target user, and judging whether the authorization level of the target user inputting the playing stopping instruction is within a preset authorization level range;

if yes, acquiring an authority verification identifier in a chess playing stopping instruction input by the target user, and meanwhile, judging whether an authority verification path corresponding to the authority verification identifier exists in an authority verification database or not based on a pre-stored authority verification database;

if the authority verification path exists, outputting an authority verification identification interface corresponding to the authority verification path according to the authority verification path, and allowing the target user to input a confirmation instruction on the authority verification identification interface;

otherwise, controlling the alarm module to continuously execute the corresponding first alarm operation.

5. The intelligent authentication system of claim 4,

and the server is also used for controlling the alarm module to stop or continue to execute the corresponding first alarm operation according to the confirmation instruction received by the authority verification identification interface.

6. The intelligent authentication system of claim 1, further comprising:

the scanning module is used for scanning the target chessboard before the target user plays chess with the virtual machine to obtain a tomography video of the target chessboard;

the building module is used for building a virtual three-dimensional model of the target chessboard based on a neural network training model;

a checking module for checking each three-dimensional coordinate point E in the virtual three-dimensional modelk(xe,ye,ze) Carrying out non-parametric and parametric evaluation to obtain point evaluation results, and extracting each three-dimensional coordinate point E in the virtual three-dimensional modelk(xe,ye,ze) The characteristic point information of (1);

Qk1=Η1(Ek(xe,ye,ze));

Qk2=Η2(Ek(xe,ye,ze));

wherein Q isk1Representing the evaluation result of the kth three-dimensional coordinate point based on the parameter-free point; h1Representing a non-parametric evaluation function; qk2Representing the evaluation result of the kth three-dimensional coordinate point based on the parameterized point; h2A parametric evaluation function is represented; k1, 2, 3.., K1;

meanwhile, calculating a comprehensive quality evaluation result S of the virtual three-dimensional model according to the point evaluation result and the characteristic point information;

wherein f iskFeature point information representing a kth three-dimensional coordinate point; gamma rayk1Representing the weight value of the kth three-dimensional coordinate point based on no parameter; gamma rayk2Representing that the kth three-dimensional coordinate point is based on a weighted value with a parameter;

when the comprehensive quality evaluation result S is larger than a preset quality value S1, the virtual three-dimensional model is qualified;

if not, indicating that the virtual three-dimensional model is unqualified, reconstructing a new virtual three-dimensional model;

the server is further used for dividing the tomography video acquired by the scanning module into a plurality of chessboard image frames to be scanned based on a time sequence, acquiring two-dimensional coordinates of matching points between adjacent chessboard image frames to be scanned, converting all the acquired two-dimensional coordinates into three-dimensional coordinates, and performing three-dimensional reconstruction on the chessboard to be scanned to acquire a three-dimensional chessboard image to be scanned;

transplanting the obtained three-dimensional chessboard image to be scanned to a qualified virtual three-dimensional model to obtain a three-dimensional chessboard model to be scanned;

the server is further used for checking the obtained three-dimensional chessboard model to be scanned, performing safety evaluation on the checking result of the three-dimensional chessboard model to be scanned based on a pre-stored safety evaluation database, and dividing a plurality of safety level region blocks of the three-dimensional chessboard model to be scanned according to the safety evaluation result.

7. The intelligent authentication system of claim 1,

the server is further used for marking the divided safety level region blocks by using preset colors, synchronously transmitting the marked safety level region blocks to the obtained three-dimensional chessboard model to be scanned, and simultaneously transmitting the three-dimensional chessboard model to be scanned of the marked safety level region blocks to the monitoring terminal for displaying;

and the monitoring terminal is used for a monitoring person to edit the three-dimensional chessboard models to be scanned of the plurality of safety level area blocks which are transmitted by the server and added with labels.

8. The intelligent authentication system of claim 1,

when the server dynamically tracks the target chessboard in real time, the dynamic tracking information of the target chessboard is obtained through the following steps A1-A4, wherein the steps A1-A4 are as follows:

step A1, brightness sensitivity adjustment is carried out on a dynamic tracking image obtained by the server carrying out real-time dynamic tracking on the target chessboard;

Figure FDA0002511233840000041

wherein L is the color brightness component after the brightness sensitivity adjustment, passwayr is a pixel value of a red channel of the dynamic tracking image, passwayg is a pixel value of a yellow channel of the dynamic tracking image, passwayb is a pixel value of a blue channel of the dynamic tracking image, Pb is the blue concentration offset component after the brightness sensitivity adjustment, and Pr is the red concentration offset component after the brightness sensitivity adjustment;

step A2, performing cosine transform on the dynamic tracking image subjected to brightness sensitivity adjustment;

cutting the dynamic tracking image subjected to brightness sensitivity adjustment, filling each cut dynamic tracking area with 0 when the length or the width is not an integral multiple of N, and converting each area with the size of N by N into a cosine transform value;

Figure FDA0002511233840000051

Figure FDA0002511233840000052

where Zd is a median value, CosF is the cosine transform value, Pbi,jA blue color density shift amount component Pg of the ith row and the jth column of the dynamic tracking areai,jIs the yellow concentration offset component, ZD, of the ith row and the jth column of the dynamic tracking areai,jA calculated value of Zd for the ith row and jth column of the regional dynamic tracking region, Li,jA color luminance component of an ith row and a jth column of the dynamic tracking area, wherein i is 1,2, 3. j 1,2, 3.. N;

step A3, carrying out perspective transformation on the dynamic tracking image processed by the cosine transform in the step A2;

Figure FDA0002511233840000061

wherein ChangeX is a value of an abscissa after perspective conversion of a point having a coordinate position of (x, y) in the dynamic tracking image subjected to the cosine transform processing in step a2, ChangeY is a value of an ordinate after perspective conversion of a point having a coordinate position of (x, y) in the dynamic tracking image subjected to the cosine transform processing in step a2, θ is an angle between a horizontal direction and a right front direction of the camera when the chessboard image is photographed,the angle between the vertical value direction and the vertical downward direction of the camera when the chessboard image is shot, h is the vertical value height from the chessboard when the chessboard image is shot, and m is the horizontal distance from the camera to the chessboard when the chessboard image is shot;

step A4: and acquiring the dynamic tracking information of the target chessboard based on the dynamic tracking image subjected to perspective conversion in the step A3.

9. The intelligent authentication system of claim 1,

the monitoring module is also used for monitoring the current playing posture of the target user;

the server is also used for predicting the first time of a target chessboard of the actual chess pieces according to the current playing posture;

determining the extension time based on the first time according to the historical posture of the target user, and judging whether the target user puts the physical chess pieces on a target chessboard on the basis of the first time and the extension time;

and if not, controlling the alarm module to execute a second alarm operation.

Technical Field

The invention relates to the technical field of intelligent chess playing, in particular to an intelligent identification system for playing chess.

Background

The existing man-machine chess playing system generally performs simple man-machine chess playing on a mobile phone, for example, the simple chess playing can be completed on a software APP or a small program, but the man-machine chess playing on the mobile phone does not meet the real experience of the user in the man-machine chess playing, but in the process of performing the real chess playing between a robot and a person, the chess playing experience of the user can be improved, but in the real-machine chess playing process, control errors can be caused due to chess board identification errors and the like when a mechanical arm plays chess, the user is injured carelessly, and the initial experience effect is lost, so the invention provides an intelligent identification system for playing chess.

Disclosure of Invention

The invention provides an intelligent chess-playing identification system, which is used for improving the identification effect, reducing the error probability of playing chess and improving the experience effect of a user by combining a virtual technology and an actual technology and dynamically tracking a target chessboard.

The invention provides an intelligent identification system for playing chess, comprising:

the monitoring module is used for monitoring the entity point image of the target user, which is used for carrying the entity chessman and falling on the target chessboard;

the acquisition module is used for acquiring a virtual point image of a virtual machine in the virtual chess playing system when a virtual machine executes a virtual chess piece on a target chessboard;

the server is used for dynamically tracking the target chessboard in real time when the acquisition module and the monitoring module start to work to obtain dynamic tracking information;

based on a pre-established dynamic tracking model, performing first intelligent identification on the acquired dynamic tracking information, performing second intelligent identification on the monitored entity point image and the acquired virtual point image, judging whether the first intelligent identification result is matched with the second intelligent identification result, and if so, controlling the acquisition module and the monitoring module to continuously and synchronously work;

otherwise, controlling the alarm module to perform corresponding first alarm operation.

In one possible way of realisation,

and the server is also used for acquiring a preset standard mode set for the target chessboard and determining preset standard playing data corresponding to the preset standard mode when the target chessboard is dynamically tracked in real time.

In one possible implementation manner, the method further includes:

the input module is used for receiving a playing stop instruction input by a user after the chessboard starts playing;

the recording module is used for recording the alarm time length of the first alarm operation executed by the alarm module;

the server is further used for controlling the alarm module to stop corresponding first alarm operation when the input module does not receive a chess playing stopping instruction input by the user and the alarm duration recorded by the recording module is greater than or equal to preset time, and controlling the alarm module to continue to execute corresponding first alarm operation after the alarm module is based on a preset time interval;

and when the input module receives a game stopping instruction input by the user, controlling the alarm module to stop corresponding first alarm operation.

In one possible implementation manner, the method further includes:

the authorization module is used for carrying out level authorization on the target user and forming an authorization level database;

the server is further used for determining the authorization level of the target user inputting the playing stopping instruction based on the authorization level database when the input module receives the playing stopping instruction input by the target user, and judging whether the authorization level of the target user inputting the playing stopping instruction is within a preset authorization level range;

if yes, acquiring an authority verification identifier in a chess playing stopping instruction input by the target user, and meanwhile, judging whether an authority verification path corresponding to the authority verification identifier exists in an authority verification database or not based on a pre-stored authority verification database;

if the authority verification path exists, outputting an authority verification identification interface corresponding to the authority verification path according to the authority verification path, and allowing the target user to input a confirmation instruction on the authority verification identification interface;

otherwise, controlling the alarm module to continuously execute the corresponding first alarm operation.

In one possible way of realisation,

and the server is also used for controlling the alarm module to stop or continue to execute the corresponding first alarm operation according to the confirmation instruction received by the authority verification identification interface.

In one possible implementation manner, the method further includes:

the scanning module is used for scanning the target chessboard before the target user plays chess with the virtual machine to obtain a tomography video of the target chessboard;

the building module is used for building a virtual three-dimensional model of the target chessboard based on a neural network training model;

a checking module for checking each three-dimensional coordinate point E in the virtual three-dimensional modelk(xe,ye,ze) Carrying out non-parametric and parametric evaluation to obtain point evaluation results, and extracting each three-dimensional coordinate point E in the virtual three-dimensional modelk(xe,ye,ze) The characteristic point information of (1);

Qk1=Η1(Ek(xe,ye,ze));

Qk2=Η2(Ek(xe,ye,ze));

wherein Q isk1Representing the evaluation result of the kth three-dimensional coordinate point based on the parameter-free point; h1Representing a non-parametric evaluation function; qk2Representing the evaluation result of the kth three-dimensional coordinate point based on the parameterized point; h2A parametric evaluation function is represented; k1, 2, 3.., K1;

meanwhile, calculating a comprehensive quality evaluation result S of the virtual three-dimensional model according to the point evaluation result and the characteristic point information;

wherein f iskFeature point information representing a kth three-dimensional coordinate point; gamma rayk1Representing the weight value of the kth three-dimensional coordinate point based on no parameter; gamma rayk2Representing that the kth three-dimensional coordinate point is based on a weighted value with a parameter;

when the comprehensive quality evaluation result S is larger than a preset quality value S1, the virtual three-dimensional model is qualified;

if not, indicating that the virtual three-dimensional model is unqualified, reconstructing a new virtual three-dimensional model;

the server is further used for dividing the tomography video acquired by the scanning module into a plurality of chessboard image frames to be scanned based on a time sequence, acquiring two-dimensional coordinates of matching points between adjacent chessboard image frames to be scanned, converting all the acquired two-dimensional coordinates into three-dimensional coordinates, and performing three-dimensional reconstruction on the chessboard to be scanned to acquire a three-dimensional chessboard image to be scanned;

transplanting the obtained three-dimensional chessboard image to be scanned to a qualified virtual three-dimensional model to obtain a three-dimensional chessboard model to be scanned;

the server is further used for checking the obtained three-dimensional chessboard model to be scanned, performing safety evaluation on the checking result of the three-dimensional chessboard model to be scanned based on a pre-stored safety evaluation database, and dividing a plurality of safety level region blocks of the three-dimensional chessboard model to be scanned according to the safety evaluation result.

In one possible way of realisation,

the server is further used for marking the divided safety level region blocks by using preset colors, synchronously transmitting the marked safety level region blocks to the obtained three-dimensional chessboard model to be scanned, and simultaneously transmitting the three-dimensional chessboard model to be scanned of the marked safety level region blocks to the monitoring terminal for displaying;

and the monitoring terminal is used for a monitoring person to edit the three-dimensional chessboard models to be scanned of the plurality of safety level area blocks which are transmitted by the server and added with labels.

In one possible way of realisation,

when the server dynamically tracks the target chessboard in real time, the dynamic tracking information of the target chessboard is obtained through the following steps A1-A4, wherein the steps A1-A4 are as follows:

step A1, brightness sensitivity adjustment is carried out on a dynamic tracking image obtained by the server carrying out real-time dynamic tracking on the target chessboard;

wherein L is the color brightness component after the brightness sensitivity adjustment, passwayr is a pixel value of a red channel of the dynamic tracking image, passwayg is a pixel value of a yellow channel of the dynamic tracking image, passwayb is a pixel value of a blue channel of the dynamic tracking image, Pb is the blue concentration offset component after the brightness sensitivity adjustment, and Pr is the red concentration offset component after the brightness sensitivity adjustment;

step A2, performing cosine transform on the dynamic tracking image subjected to brightness sensitivity adjustment;

cutting the dynamic tracking image subjected to brightness sensitivity adjustment, filling each cut dynamic tracking area with 0 when the length or the width is not an integral multiple of N, and converting each area with the size of N by N into a cosine transform value;

Figure BDA0002511233850000052

Figure BDA0002511233850000053

where Zd is an intermediate value, Cos F is the cosine transform value, Pbi,jA blue color density shift amount component Pg of the ith row and the jth column of the dynamic tracking areai,jIs the yellow concentration offset component, ZD, of the ith row and the jth column of the dynamic tracking areai,jA calculated value of Zd for the ith row and jth column of the regional dynamic tracking region, Li,jA color luminance component of an ith row and a jth column of the dynamic tracking area, wherein i is 1,2, 3. j 1,2, 3.. N;

step A3, carrying out perspective transformation on the dynamic tracking image processed by the cosine transform in the step A2;

wherein ChangeX is a value of an abscissa after perspective conversion of a point having a coordinate position of (x, y) in the dynamic tracking image subjected to the cosine transform processing in step a2, ChangeY is a value of an ordinate after perspective conversion of a point having a coordinate position of (x, y) in the dynamic tracking image subjected to the cosine transform processing in step a2, θ is an angle between a horizontal direction and a right front direction of the camera when the chessboard image is photographed,the angle between the vertical value direction and the vertical downward direction of the camera when the chessboard image is shot, h is the vertical value height from the chessboard when the chessboard image is shot, and m is the horizontal distance from the camera to the chessboard when the chessboard image is shot;

step A4: and acquiring the dynamic tracking information of the target chessboard based on the dynamic tracking image subjected to perspective conversion in the step A3.

In one possible way of realisation,

the monitoring module is also used for monitoring the current playing posture of the target user;

the server is also used for predicting the first time of a target chessboard of the actual chess pieces according to the current playing posture;

determining the extension time based on the first time according to the historical posture of the target user, and judging whether the target user puts the physical chess pieces on a target chessboard on the basis of the first time and the extension time;

and if not, controlling the alarm module to execute a second alarm operation.

Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.

The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.

Drawings

The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:

FIG. 1 is a schematic structural diagram of an intelligent identification system for playing chess in the embodiment of the invention;

fig. 2 is a structural diagram of the virtual-real playing of the gobang in the embodiment of the invention.

Detailed Description

The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.

An embodiment of the present invention provides an intelligent identification system for playing chess, as shown in fig. 1, including:

the monitoring module is used for monitoring the entity point image of the target user, which is used for carrying the entity chessman and falling on the target chessboard;

the acquisition module is used for acquiring a virtual point image of a virtual machine in the virtual chess playing system when a virtual machine executes a virtual chess piece on a target chessboard;

the server is used for dynamically tracking the target chessboard in real time when the acquisition module and the monitoring module start to work to obtain dynamic tracking information;

based on a pre-established dynamic tracking model, performing first intelligent identification on the acquired dynamic tracking information, performing second intelligent identification on the monitored entity point image and the acquired virtual point image, judging whether the first intelligent identification result is matched with the second intelligent identification result, and if so, controlling the acquisition module and the monitoring module to continuously and synchronously work;

otherwise, controlling the alarm module to perform corresponding first alarm operation.

The alarm module can be one or a combination of sound, light and the like, and the corresponding first alarm operation can be light flashing.

The first intelligent authentication may be intelligent authentication of dynamic tracking information based on a tracking algorithm;

the second intelligent authentication may be intelligent authentication of the entity point image and the virtual point image based on an image recognition algorithm.

The intelligent identification is mainly used for determining the playing of the virtual playing machine and the target user, and the accuracy and the efficiency of playing chess are ensured by two intelligent identification modes.

The first intelligent discrimination result or the second intelligent discrimination result may be, for example, a piece layout diagram of the dropped pieces of the current target chessboard;

in this embodiment, the monitored image of the entity point may be based on a pressure sensor arranged on the target chessboard, and the image of the entity point automatically generated when the point on the chessboard is subjected to external pressure is obtained;

the obtained virtual point image can be the one obtained by the obtaining module based on the local playing database or the one obtained by the server, and the playing track of the virtual chess pieces is obtained in the intelligent playing process of the virtual chess pieces, so that the related virtual point image is obtained.

As shown in FIG. 2, where gobang is taken as an example, a1 represents a physical pawn and a2 represents a virtual pawn.

The physical chess pieces are real five-piece chess pieces which are actually placed on the chessboard, the virtual chess pieces are playing systems, the virtual chess pieces are automatically and intelligently played, the target chessboard can be a virtual chessboard obtained by depending on a software program, for example, the target chessboard is displayed on the basis of an electronic display screen, and the electronic display screen can be used as an independent chessboard system. And the electronic display screen a can be horizontally placed for the user to play with the virtual machine.

The beneficial effects of the above technical scheme are: by combining the virtuality and reality technologies and dynamically tracking the target chessboard, the identification effect is improved, the error probability of playing chess is reduced, and the experience effect of a user is improved.

The embodiment of the invention provides an intelligent identification system for playing chess, which comprises:

and the server is also used for acquiring a preset standard mode set for the target chessboard and determining preset standard playing data corresponding to the preset standard mode when the target chessboard is dynamically tracked in real time.

The preset standard pattern may be preset, and the corresponding preset standard play data may include: playing characteristics and playing rules, such as: the user firstly holds the chess and walks firstly, and the chess playing machine follows the rules of holding the chess and then walking.

The beneficial effects of the above technical scheme are: the preset standard playing data is obtained, and a reliable data basis is provided for intelligent identification and real-time dynamic tracking.

The embodiment of the invention provides an intelligent identification system for playing chess, which further comprises:

the input module is used for receiving a playing stop instruction input by a user after the chessboard starts playing;

the recording module is used for recording the alarm time length of the first alarm operation executed by the alarm module;

the server is further used for controlling the alarm module to stop corresponding first alarm operation when the input module does not receive a chess playing stopping instruction input by the user and the alarm duration recorded by the recording module is greater than or equal to preset time, and controlling the alarm module to continue to execute corresponding first alarm operation after the alarm module is based on a preset time interval;

and when the input module receives a game stopping instruction input by the user, controlling the alarm module to stop corresponding first alarm operation.

The alarm module can be one or a combination of more of sound, light, vibration and the like;

the stop command may be an alarm stop command;

the preset time can be set by default or manually;

the preset time interval is set to prolong the service life of the alarm module and facilitate the effective reminding of the user.

When the alarm module executes the first alarm operation, the playing machine is controlled to stop playing.

The beneficial effects of the above technical scheme are: the chess playing reminding device is convenient for reminding users, ensures that the users are reminded, and ensures the playing efficiency.

The embodiment of the invention provides an intelligent identification system for playing chess, which further comprises:

the authorization module is used for carrying out level authorization on the target user and forming an authorization level database;

the server is further used for determining the authorization level of the target user inputting the playing stopping instruction based on the authorization level database when the input module receives the playing stopping instruction input by the target user, and judging whether the authorization level of the target user inputting the playing stopping instruction is within a preset authorization level range;

if yes, acquiring an authority verification identifier in a chess playing stopping instruction input by the target user, and meanwhile, judging whether an authority verification path corresponding to the authority verification identifier exists in an authority verification database or not based on a pre-stored authority verification database;

if the authority verification path exists, outputting an authority verification identification interface corresponding to the authority verification path according to the authority verification path, and allowing the target user to input a confirmation instruction on the authority verification identification interface;

otherwise, controlling the alarm module to continuously execute the corresponding first alarm operation.

Preferably, the server is further configured to control the alarm module to stop or continue to execute the corresponding first alarm operation according to the confirmation instruction received by the permission verification identifier interface.

The permission verification path is set to facilitate the jumping out of the permission verification identification interface for the user to input a confirmation instruction for confirmation;

for example: the permission verification identification interface displays 'whether to determine to execute an alarm stop instruction', 'yes' and 'no', and is used for finishing the operation by inputting a confirmation instruction, namely clicking 'yes' or 'no'.

After the stop instruction input by the user is verified, the user inputs a confirmation instruction, so that the reliability of the instruction for stopping playing executed by the user with the authority is ensured, the user knows the alarm condition, and the misoperation of the user with the authority can be effectively avoided;

the playing stop command input by the user comprises a unique verification identifier capable of identifying the user, namely an authority verification identifier in the playing stop command.

The beneficial effects of the above technical scheme are: through carrying out the grade to the user and authorizing, avoid non-playing and be used for carrying out abnormal control to it, carry out the violation operation to alarm information, verify according to authorization grade and authority, can ensure that only the user that accords with the condition can handle the alarm condition, reduce the possibility of maloperation, reduce unnecessary loss.

The embodiment of the invention provides an intelligent identification system for playing chess, which further comprises:

the scanning module is used for scanning the target chessboard before the target user plays chess with the virtual machine to obtain a tomography video of the target chessboard;

the building module is used for building a virtual three-dimensional model of the target chessboard based on a neural network training model;

a checking module for checking each three-dimensional coordinate point E in the virtual three-dimensional modelk(xe,ye,ze) Carrying out non-parametric and parametric evaluation to obtain point evaluation results, and extracting each three-dimensional coordinate point E in the virtual three-dimensional modelk(xe,ye,ze) The characteristic point information of (1);

Qk1=Η1(Ek(xe,ye,ze));

Qk2=Η2(Ek(xe,ye,ze));

wherein Q isk1Representing the evaluation result of the kth three-dimensional coordinate point based on the parameter-free point; h1Representing a non-parametric evaluation function; qk2Representing the evaluation result of the kth three-dimensional coordinate point based on the parameterized point; h2A parametric evaluation function is represented; k1, 2, 3.., K1;

meanwhile, calculating a comprehensive quality evaluation result S of the virtual three-dimensional model according to the point evaluation result and the characteristic point information;

wherein f iskFeature point information representing a kth three-dimensional coordinate point; gamma rayk1Representing the weight value of the kth three-dimensional coordinate point based on no parameter; gamma rayk2Representing that the kth three-dimensional coordinate point is based on a weighted value with a parameter;

when the comprehensive quality evaluation result S is larger than a preset quality value S1, the virtual three-dimensional model is qualified;

if not, indicating that the virtual three-dimensional model is unqualified, reconstructing a new virtual three-dimensional model;

the server is further used for dividing the tomography video acquired by the scanning module into a plurality of chessboard image frames to be scanned based on a time sequence, acquiring two-dimensional coordinates of matching points between adjacent chessboard image frames to be scanned, converting all the acquired two-dimensional coordinates into three-dimensional coordinates, and performing three-dimensional reconstruction on the chessboard to be scanned to acquire a three-dimensional chessboard image to be scanned;

transplanting the obtained three-dimensional chessboard image to be scanned to a qualified virtual three-dimensional model to obtain a three-dimensional chessboard model to be scanned;

the server is further used for checking the obtained three-dimensional chessboard model to be scanned, performing safety evaluation on the checking result of the three-dimensional chessboard model to be scanned based on a pre-stored safety evaluation database, and dividing a plurality of safety level region blocks of the three-dimensional chessboard model to be scanned according to the safety evaluation result.

The above-mentioned tomography video of obtaining the target chessboard is to obtain more information related to the target chessboard, and provide data basis for the subsequent three-dimensional reconstruction;

the scanning module can be used for infrared scanning and scanning condition information such as lines in the target chessboard;

the time sequence can be a time sequence formed by the time of the scanning module for acquiring the tomography video and the time sequence acquired by each frame in the tomography video;

the three-dimensional chessboard model to be scanned is inspected to obtain a corresponding inspection result, the inspection result is subjected to security assessment, and a plurality of security level region blocks are divided into a preset region according to the security assessment result, for example:

the inspection result may be based on the three-dimensional chessboard model to be scanned, obtaining damage information of each part of the region block in the three-dimensional chessboard model to be scanned, and performing security assessment on the damage information of each part of the region block, for example, the three-dimensional chessboard model to be scanned is divided into four region blocks K1, K2, K3, and K4, and the corresponding damage information result, security assessment result, level region block, and preset color are shown in the following table:

Figure BDA0002511233850000121

the beneficial effects of the above technical scheme are: three-dimensional reconstruction and transplantation are carried out on a scanning result of the scanning module, a three-dimensional chessboard model to be scanned is convenient to construct, the precision of the three-dimensional chessboard model to be scanned is improved, the accuracy of judgment is improved, wherein the virtual three-dimensional chessboard is tested, the accuracy of the obtained result after subsequent transplantation is ensured, meanwhile, safety grade region blocks are divided through the three-dimensional chessboard model to be scanned, and the real situation of the chessboard is convenient to know visually through color marking.

The embodiment of the invention provides an intelligent identification system for playing chess,

the server is further used for marking the divided safety level region blocks by using preset colors, synchronously transmitting the marked safety level region blocks to the obtained three-dimensional chessboard model to be scanned, and simultaneously transmitting the three-dimensional chessboard model to be scanned of the marked safety level region blocks to the monitoring terminal for displaying;

and the monitoring terminal is used for a monitoring person to edit the three-dimensional chessboard models to be scanned of the plurality of safety level area blocks which are transmitted by the server and added with labels.

The labeling can be intelligent labeling performed after intelligent identification is performed on the system, wherein the intelligent identification comprises intelligent scanning performed by a scanning module, and the server performs safety level region block division and the like.

The monitoring terminal can be intelligent terminal equipment such as a notebook, a computer, a mobile phone and the like;

the editing of the three-dimensional chessboard model to be scanned may be a comment explanation of a fault existing in the chessboard. For example, area a in the checkerboard, there is a line fault problem; the region B on the board has a missing screw problem, and the editing may be processing such as enlarging, reducing, rotating, and the like.

The beneficial effects of the above technical scheme are: the chessboard model is convenient for monitoring personnel to check and process, the processing efficiency is improved, the chessboard model is edited through the three-dimensional chessboard to be scanned, the fault part of the chessboard can be determined, the chessboard repairing efficiency is improved, and a reliable basis is provided for the system to carry out intelligent identification.

The embodiment of the invention provides an intelligent identification system for playing chess,

when the server dynamically tracks the target chessboard in real time, the dynamic tracking information of the target chessboard is obtained through the following steps A1-A4, wherein the steps A1-A4 are as follows:

step A1, brightness sensitivity adjustment is carried out on a dynamic tracking image obtained by the server carrying out real-time dynamic tracking on the target chessboard;

Figure BDA0002511233850000141

wherein L is the color brightness component after the brightness sensitivity adjustment, passwayr is a pixel value of a red channel of the dynamic tracking image, passwayg is a pixel value of a yellow channel of the dynamic tracking image, passwayb is a pixel value of a blue channel of the dynamic tracking image, Pb is the blue concentration offset component after the brightness sensitivity adjustment, and Pr is the red concentration offset component after the brightness sensitivity adjustment;

step A2, performing cosine transform on the dynamic tracking image subjected to brightness sensitivity adjustment;

cutting the dynamic tracking image subjected to brightness sensitivity adjustment, filling each cut dynamic tracking area with 0 when the length or the width is not an integral multiple of N, and converting each area with the size of N by N into a cosine transform value;

Figure BDA0002511233850000143

where Zd is an intermediate value, Cos F is the cosine transform value, Pbi,jA blue color density shift amount component Pg of the ith row and the jth column of the dynamic tracking areai,jIs the yellow concentration offset component, ZD, of the ith row and the jth column of the dynamic tracking areai,jA calculated value of Zd for the ith row and jth column of the regional dynamic tracking region, Li,jA color luminance component of an ith row and a jth column of the dynamic tracking area, wherein i is 1,2, 3. j 1,2, 3.. N;

step A3, carrying out perspective transformation on the dynamic tracking image processed by the cosine transform in the step A2;

wherein ChangeX is a value of an abscissa after perspective conversion of a point having a coordinate position of (x, y) in the dynamic tracking image subjected to the cosine transform processing in step a2, ChangeY is a value of an ordinate after perspective conversion of a point having a coordinate position of (x, y) in the dynamic tracking image subjected to the cosine transform processing in step a2, θ is an angle between a horizontal direction and a right front direction of the camera when the chessboard image is photographed,

Figure BDA0002511233850000153

the angle between the vertical value direction and the vertical downward direction of the camera when the chessboard image is shot, h is the vertical value height from the chessboard when the chessboard image is shot, and m is the horizontal distance from the camera to the chessboard when the chessboard image is shot;

step A4: and acquiring the dynamic tracking information of the target chessboard based on the dynamic tracking image subjected to perspective conversion in the step A3.

The beneficial effects of the above technical scheme are: the chrominance image insensitive to human eyes can be converted into the luminance sensitive image sensitive to human eyes, so that the user experience is improved, and meanwhile, after the luminance sensitivity of the image is adjusted, the image is convenient to balance the image vision and the image quality when the image is compressed later, so that the quality of the compressed image is ensured; the size of the memory of the image can be reduced under the condition that the sensory effect of the image is not influenced, so that the image can be efficiently transmitted in the transmission process, and meanwhile, the tracking efficiency can be improved when the real-time dynamic tracking is carried out on a target chessboard; the image can be converted into a standard image which is convenient for a computer to identify, and meanwhile, the image is not distorted, so that the accuracy of extracting the dynamic tracking information of the target chessboard is improved.

The embodiment of the invention provides an intelligent identification system for playing chess,

the monitoring module is also used for monitoring the current playing posture of the target user;

the server is also used for predicting the first time of a target chessboard of the actual chess pieces according to the current playing posture;

determining the extension time based on the first time according to the historical posture of the target user, and judging whether the target user puts the physical chess pieces on a target chessboard on the basis of the first time and the extension time;

and if not, controlling the alarm module to execute a second alarm operation.

The monitoring module can acquire high-definition images of a target user for a plurality of high-definition cameras so as to acquire the current playing posture;

in this embodiment, normally, the time length of the first time is longer than the time length of the extension time, for example, the first time is 15s, and the extension time is 3 s;

and when the target user does not fall the chess piece after more than 18 seconds in the process of falling the entity chess piece, performing a second alarm operation, such as voice alarm, prompt alarm (output of a recommended point of falling the entity chess piece) and the like.

The beneficial effects of the above technical scheme are: the chess playing time is effectively determined by monitoring the current posture of the user and combining the historical postures, and the chess playing efficiency is improved conveniently by alarm operation.

It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:基于游戏的好友推荐方法、装置及计算机可读存储介质

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!

技术分类