CN103106345A - Method and system of intelligent game based on identification code - Google Patents

Method and system of intelligent game based on identification code Download PDF

Info

Publication number
CN103106345A
CN103106345A CN2013100420164A CN201310042016A CN103106345A CN 103106345 A CN103106345 A CN 103106345A CN 2013100420164 A CN2013100420164 A CN 2013100420164A CN 201310042016 A CN201310042016 A CN 201310042016A CN 103106345 A CN103106345 A CN 103106345A
Authority
CN
China
Prior art keywords
identification code
game
image
intelligent
intelligent game
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2013100420164A
Other languages
Chinese (zh)
Inventor
陈德荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GUANGDONG M&D TECHNOLOGY Co Ltd
Original Assignee
GUANGDONG M&D TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GUANGDONG M&D TECHNOLOGY Co Ltd filed Critical GUANGDONG M&D TECHNOLOGY Co Ltd
Priority to CN2013100420164A priority Critical patent/CN103106345A/en
Publication of CN103106345A publication Critical patent/CN103106345A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and a system of an intelligent game based on an identification code. The method of the intelligent game based on the identification code comprises steps as below: collecting identification codes and obtaining images including the identification codes; positioning and identifying areas including identification code characteristics and obtaining preliminary images of the identification codes; revising the preliminary images of the identification codes and obtaining standard images of the identification codes; decoding the standard images of the identification codes and obtaining information of the identification codes; achieving corresponding functions in the game according to the obtained information of the identification codes. The device of the intelligent game based on the identification code comprises an image collection device, a processor, a data receiving and transmitting device, a displaying module, an input device, a system server and gaming peripherals. The method and the device of the intelligent game based on the identification code are identified through the identification codes to achieve corresponding functions in the game, effectively solve the problem that the playing method of the game is simple, increase playability of the game, greatly improve user experience of the game, and can be applied to a mobile terminal.

Description

A kind of intelligent game method and system based on identification code
Technical field
The present invention relates to communication technical field, relate in particular to a kind of intelligent game method and system based on identification code.
Background technology
In recent years, along with developing rapidly of the communication technology, the game fan who is far apart two places can be connected to game device on the Internet, can mutually experience same game simultaneously.But game in the market is all generally to utilize direction key and function button operate game, perhaps use the body sensing mode operate game, mode of operation is more single, and playing method is comparatively simple, can not link with game peripheral, the user lacks the experience with the game peripheral interaction.
Summary of the invention
In order to solve the problems of the technologies described above, the purpose of this invention is to provide a kind of energy by the identification marking code, strengthen a kind of intelligent game method based on identification code of game playability.
Another object of the present invention is to provide a kind of energy by the identification marking code, strengthens a kind of intelligent game system based on identification code of game playability.
The technical solution adopted in the present invention is:
A kind of intelligent game method based on identification code comprises the following steps:
A, identification code is gathered, obtain containing the image of identification code;
B, basis contain the image of identification code, and then after the zone of containing the identification code feature is positioned identification, obtain the preliminary image of identification code;
C, the preliminary image of identification code is revised, obtained the standard picture of identification code;
D, the standard picture of identification code is decoded, obtain identification code information;
The identification code information that E, basis obtain realizes corresponding function in game.
As described a kind of intelligent game further improvements in methods based on identification code, described step B comprises:
B1, the image that contains identification code is carried out binary conversion treatment;
B2, the image after binary conversion treatment is carried out dilation operation;
B3, the image after dilation operation is carried out rim detection, draw the profile in identification code zone, and then obtain the preliminary image of identification code.
As described a kind of intelligent game further improvements in methods based on identification code, described step C comprises:
C1, adopt region growing to the preliminary Image Segmentation Using of identification code, and then revise the border of the preliminary image of identification code;
C2, the preliminary image of the identification code after revising the boundary is carried out convex hull calculate, obtain the standard picture of identification code.
As described a kind of intelligent game further improvements in methods based on identification code, described step D comprises:
D1, the standard picture of identification code is carried out Grid Sampling, and the image pixel of each intersection point of grid is sampled;
D2, according to the value of predetermined threshold value judgement image pixel, if the value of image pixel greater than predetermined threshold value, the value with this image pixel is made as 1, on the contrary the value with this image pixel is made as 0, thereby obtain the binary sequence value of the standard picture of identification code;
D3, the binary sequence value that obtains is carried out error correction and decoding;
D4, the binary sequence value according to the coding rule of identification code after to decoding are changed, and obtain identification code information.
As described a kind of intelligent game further improvements in methods based on identification code, described step e comprises:
E1, transmission identification code information are to system server;
E2, the game instructions that system server is corresponding according to the identification code information searching;
The game instructions that E3, execution find and then the function that realizes correspondence in game.
Another technical scheme of the present invention is:
a kind of intelligent game system based on identification code, comprise that the surface is printed on the game peripheral of identification code, be used for the identification code on game peripheral surface is carried out the image collecting device of image acquisition, be used for the image that gathers is processed and obtained the processor of corresponding identification code information, be used for the system server according to the identification code information realization game corresponding function that obtains, be used for sending the data transmit-receive module of identification code information and receiving system server data, for the display module of display frame information with for the input media of inputting the game operation instruction, the output terminal of described image collecting device is connected with the first input end of processor, the output terminal of described input media is connected with the second input end of processor, the output terminal of described processor is connected with the input end of display module, described data transmit-receive module is connected with system server with processor respectively.
As the further improvement of described a kind of intelligent game system based on identification code, described image collector is set to camera.
As the further improvement of described a kind of intelligent game system based on identification code, described display module is display screen.
As the further improvement of described a kind of intelligent game system based on identification code, described input media is touch-sensitive display screen or button.
The invention has the beneficial effects as follows:
A kind of intelligent game method based on identification code of the present invention, by identification code is gathered, obtain containing the image of identification code, according to the image that contains identification code, and then after the zone of containing the identification code feature is positioned identification, obtain the preliminary image of identification code, the preliminary image of identification code is revised, obtain the standard picture of identification code, standard picture to identification code is decoded, obtain identification code information, the identification code information according to obtaining realizes corresponding function in game.A kind of intelligent game method based on identification code of the present invention is by identifying identification code, the function of realization correspondence in game efficiently solves game operation single, the playing method simple question, strengthen the playability of game, greatly promoted the user to the experience of game.
Another beneficial effect of the present invention is:
a kind of intelligent game system based on identification code of the present invention, comprise that the surface is printed on the game peripheral of identification code, be used for the identification code on game peripheral surface is carried out the image collecting device of image acquisition, be used for the image that gathers is processed and obtained the processor of corresponding identification code information, be used for the system server according to the identification code information realization game corresponding function that obtains, be used for sending the data transmit-receive module of identification code information and receiving system server data, for the display module of display frame information with for the input media of inputting the game operation instruction, the output terminal of described image collecting device is connected with the first input end of processor, the output terminal of described input media is connected with the second input end of processor, the output terminal of described processor is connected with the input end of display module, described data transmit-receive module is connected with system server with processor respectively.A kind of intelligent game system based on identification code of the present invention is by identifying identification code, the function of realization correspondence in game efficiently solves game operation single, the playing method simple question, strengthen the playability of game, greatly promoted the user to the experience of game.
Description of drawings
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described further:
Fig. 1 is the flow chart of steps of a kind of intelligent game method based on identification code of the present invention;
Fig. 2 is the flow chart of steps of a kind of intelligent game method step B embodiment one based on identification code of the present invention;
Fig. 3 is the flow chart of steps of a kind of intelligent game method step C embodiment two based on identification code of the present invention;
Fig. 4 is the flow chart of steps of a kind of intelligent game method step D embodiment three based on identification code of the present invention;
Fig. 5 is the flow chart of steps of a kind of intelligent game method step E embodiment four based on identification code of the present invention;
Fig. 6 is the block diagram of a kind of intelligent game system based on identification code of the present invention.
Embodiment
Fig. 1 is the flow chart of steps of a kind of intelligent game method based on identification code of the present invention, and in conjunction with Fig. 1, the present invention comprises the following steps as a kind of intelligent game method based on identification code:
A, identification code is gathered, obtain containing the image of identification code;
B, basis contain the image of identification code, and then after the zone of containing the identification code feature is positioned identification, obtain the preliminary image of identification code;
C, the preliminary image of identification code is revised, obtained the standard picture of identification code;
D, the standard picture of identification code is decoded, obtain identification code information;
The identification code information that E, basis obtain realizes corresponding function in game.
In the process of playing, be printed on toy or the card of special identifier code by collection, after identification, just can increase character and special article in game, special attack mode etc. perhaps appears.
Fig. 2 is the flow chart of steps of a kind of intelligent game method step B embodiment one based on identification code of the present invention, and described step B comprises:
B1, the image that contains identification code is carried out binary conversion treatment;
B2, the image after binary conversion treatment is carried out dilation operation;
B3, the image after dilation operation is carried out rim detection, draw the profile in identification code zone, and then obtain the preliminary image of identification code.
Fig. 3 is the flow chart of steps of a kind of intelligent game method step C embodiment two based on identification code of the present invention, and described step C comprises:
C1, adopt region growing to the preliminary Image Segmentation Using of identification code, and then revise the border of the preliminary image of identification code;
C2, the preliminary image of the identification code after revising the boundary is carried out convex hull calculate, obtain the standard picture of identification code.
Fig. 4 is the flow chart of steps of a kind of intelligent game method step D embodiment three based on identification code of the present invention, and described step D comprises:
D1, the standard picture of identification code is carried out Grid Sampling, and the image pixel of each intersection point of grid is sampled;
D2, according to the value of predetermined threshold value judgement image pixel, if the value of image pixel greater than predetermined threshold value, the value with this image pixel is made as 1, on the contrary the value with this image pixel is made as 0, thereby obtain the binary sequence value of the standard picture of identification code;
D3, the binary sequence value that obtains is carried out error correction and decoding;
D4, the binary sequence value according to the coding rule of identification code after to decoding are changed, and obtain identification code information.
After obtaining the standard picture of identification code, it is carried out Grid Sampling, and the image pixel on each intersection point on grid is sampled, then determine dark piece or light piece according to threshold value, if image pixel greater than threshold value, shows it is dark pixels, represent with binary " 1 "; Otherwise, show it is light pixel, with " 0 " expression, thereby obtain the binary sequence value of the standard picture of identification code, the binary sequence value that obtains is carried out error correction and decoding, and at last the binary sequence value after to decoding is changed according to the coding rule of identification code, obtains identification code information.
Fig. 5 is the flow chart of steps of a kind of intelligent game method step E embodiment four based on identification code of the present invention, and described step e comprises:
E1, transmission identification code information are to system server;
E2, the game instructions that system server is corresponding according to the identification code information searching;
The game instructions that E3, execution find and then the function that realizes correspondence in game.
Fig. 6 is a kind of intelligent game system based on identification code of the present invention, comprise that the surface is printed on the game peripheral of identification code, be used for the identification code on game peripheral surface is carried out the image collecting device of image acquisition, be used for the image that gathers is processed and obtained the processor of corresponding identification code information, be used for the system server according to the identification code information realization game corresponding function that obtains, be used for sending the data transmit-receive module of identification code information and receiving system server data, for the display module of display frame information with for the input media of inputting the game operation instruction, the output terminal of described image collecting device is connected with the first input end of processor, the output terminal of described input media is connected with the second input end of processor, the output terminal of described processor is connected with the input end of display module, described data transmit-receive module is connected with system server with processor respectively.
Be further used as preferred embodiment, described image collector is set to camera.
Be further used as preferred embodiment, described display module is display screen.
Be further used as preferred embodiment, described input media is touch-sensitive display screen or button.
Native system can be printed on the game peripheral of identification code and realize for the game device of playing by the surface, the game peripheral and the intelligent mobile terminal that perhaps are printed on identification code by the surface come practical function, such as: IPAD, Android smart mobile phone and panel computer etc.
It can be seen from the above:
A kind of intelligent game method and system based on identification code of the present invention, by identification code is gathered, obtain containing the image of identification code, according to the image that contains identification code, and then after the zone of containing the identification code feature is positioned identification, obtain the preliminary image of identification code, the preliminary image of identification code is revised, obtain the standard picture of identification code, standard picture to identification code is decoded, obtain identification code information, the identification code information according to obtaining realizes corresponding function in game.A kind of intelligent game method and system based on identification code of the present invention are by identifying identification code, the function of realization correspondence in game efficiently solves game operation single, the playing method simple question, strengthen the playability of game, greatly promoted the user to the experience of game.
More than that better enforcement of the present invention is illustrated, but the invention is not limited to described embodiment, those of ordinary skill in the art make all equivalent variations or replacement also can doing under the prerequisite of spirit of the present invention, the distortion that these are equal to or replace all is included in the application's claim limited range.

Claims (9)

1. the intelligent game method based on identification code, is characterized in that, comprises the following steps:
A, identification code is gathered, obtain containing the image of identification code;
B, basis contain the image of identification code, and then after the zone of containing the identification code feature is positioned identification, obtain the preliminary image of identification code;
C, the preliminary image of identification code is revised, obtained the standard picture of identification code;
D, the standard picture of identification code is decoded, obtain identification code information;
The identification code information that E, basis obtain realizes corresponding function in game.
2. a kind of intelligent game method based on identification code according to claim 1, it is characterized in that: described step B comprises:
B1, the image that contains identification code is carried out binary conversion treatment;
B2, the image after binary conversion treatment is carried out dilation operation;
B3, the image after dilation operation is carried out rim detection, draw the profile in identification code zone, and then obtain the preliminary image of identification code.
3. a kind of intelligent game method based on identification code according to claim 1, it is characterized in that: described step C comprises:
C1, adopt region growing to the preliminary Image Segmentation Using of identification code, and then revise the border of the preliminary image of identification code;
C2, the preliminary image of the identification code after revising the boundary is carried out convex hull calculate, obtain the standard picture of identification code.
4. a kind of intelligent game method based on identification code according to claim 1, it is characterized in that: described step D comprises:
D1, the standard picture of identification code is carried out Grid Sampling, and the image pixel of each intersection point of grid is sampled;
D2, according to the value of predetermined threshold value judgement image pixel, if the value of image pixel greater than predetermined threshold value, the value with this image pixel is made as 1, on the contrary the value with this image pixel is made as 0, thereby obtain the binary sequence value of the standard picture of identification code;
D3, the binary sequence value that obtains is carried out error correction and decoding;
D4, the binary sequence value according to the coding rule of identification code after to decoding are changed, and obtain identification code information.
5. a kind of intelligent game method based on identification code according to claim 1, it is characterized in that: described step e comprises:
E1, transmission identification code information are to system server;
E2, the game instructions that system server is corresponding according to the identification code information searching;
The game instructions that E3, execution find and then the function that realizes correspondence in game.
6. intelligent game system based on identification code, it is characterized in that: comprise that the surface is printed on the game peripheral of identification code, be used for the identification code on game peripheral surface is carried out the image collecting device of image acquisition, be used for the image that gathers is processed and obtained the processor of corresponding identification code information, be used for the system server according to the identification code information realization game corresponding function that obtains, be used for sending the data transmit-receive module of identification code information and receiving system server data, for the display module of display frame information with for the input media of inputting the game operation instruction, the output terminal of described image collecting device is connected with the first input end of processor, the output terminal of described input media is connected with the second input end of processor, the output terminal of described processor is connected with the input end of display module, described data transmit-receive module is connected with system server with processor respectively.
7. a kind of intelligent game system based on identification code according to claim 6, it is characterized in that: described image collector is set to camera.
8. a kind of intelligent game system based on identification code according to claim 6, it is characterized in that: described display module is display screen.
9. a kind of intelligent game system based on identification code according to claim 6, it is characterized in that: described input media is touch-sensitive display screen or button.
CN2013100420164A 2013-01-31 2013-01-31 Method and system of intelligent game based on identification code Pending CN103106345A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013100420164A CN103106345A (en) 2013-01-31 2013-01-31 Method and system of intelligent game based on identification code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013100420164A CN103106345A (en) 2013-01-31 2013-01-31 Method and system of intelligent game based on identification code

Publications (1)

Publication Number Publication Date
CN103106345A true CN103106345A (en) 2013-05-15

Family

ID=48314199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013100420164A Pending CN103106345A (en) 2013-01-31 2013-01-31 Method and system of intelligent game based on identification code

Country Status (1)

Country Link
CN (1) CN103106345A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105749552A (en) * 2016-02-02 2016-07-13 湖南盛世龙腾网络科技有限公司 Method for playing augmented reality (AR) card game

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110315759A1 (en) * 2010-06-29 2011-12-29 SignaKey LLC Data encoding and decoding
CN102354363A (en) * 2011-09-15 2012-02-15 西北工业大学 Identification method of two-dimensional barcode image on high-reflect light cylindrical metal
CN102880849A (en) * 2012-09-18 2013-01-16 腾讯科技(深圳)有限公司 Two-dimension code recognition method and device
CN102880850A (en) * 2012-09-19 2013-01-16 腾讯科技(深圳)有限公司 Batch scanning method of two-dimensional codes, and scanning equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110315759A1 (en) * 2010-06-29 2011-12-29 SignaKey LLC Data encoding and decoding
CN102354363A (en) * 2011-09-15 2012-02-15 西北工业大学 Identification method of two-dimensional barcode image on high-reflect light cylindrical metal
CN102880849A (en) * 2012-09-18 2013-01-16 腾讯科技(深圳)有限公司 Two-dimension code recognition method and device
CN102880850A (en) * 2012-09-19 2013-01-16 腾讯科技(深圳)有限公司 Batch scanning method of two-dimensional codes, and scanning equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105749552A (en) * 2016-02-02 2016-07-13 湖南盛世龙腾网络科技有限公司 Method for playing augmented reality (AR) card game

Similar Documents

Publication Publication Date Title
US11983881B2 (en) AI-based image region recognition method and apparatus and AI-based model training method and apparatus
CN106462766B (en) Image capture parameters adjustment is carried out in preview mode
CN107465868B (en) Object identification method and device based on terminal and electronic equipment
CN108236784B (en) Model training method and device, storage medium and electronic device
CN112101329B (en) Video-based text recognition method, model training method and model training device
CN103999032A (en) Interestingness scoring of areas of interest included in a display element
CN112668586B (en) Model training method, picture processing device, storage medium, and program product
CN112949437B (en) Gesture recognition method, gesture recognition device and intelligent equipment
US20210295085A1 (en) Image moderation method, electronic device, and storage medium
CN104537339A (en) Information identification method and information identification system
CN110431563B (en) Method and device for correcting image
CN111768005B (en) Training method and device for lightweight detection model, electronic equipment and storage medium
CN110598139A (en) Web browser augmented reality real-time positioning method based on 5G cloud computing
CN113160231A (en) Sample generation method, sample generation device and electronic equipment
CN112561879A (en) Ambiguity evaluation model training method, image ambiguity evaluation method and device
CN111753923A (en) Intelligent photo album clustering method, system, equipment and storage medium based on human face
KR20120005631U (en) Cosmetics expiry date indication and A makeup coordination function for Mobile communications terminal
CN110991298B (en) Image processing method and device, storage medium and electronic device
CN111783600A (en) Face recognition model training method, device, equipment and medium
CN104049753A (en) Method and device for realizing mutual conversion between sign language information and text information
CN104346596A (en) Identification method and identification device for QR (Quick Response) code
CN203108180U (en) Intelligent game system based on identification code
CN103106345A (en) Method and system of intelligent game based on identification code
CN112560718A (en) Method and device for acquiring material information, storage medium and electronic device
CN109657546B (en) Video behavior recognition method based on neural network and terminal equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130515