WO2018032627A1 - Teaching toy kit and marine mold identification method thereof - Google Patents
Teaching toy kit and marine mold identification method thereof Download PDFInfo
- Publication number
- WO2018032627A1 WO2018032627A1 PCT/CN2016/105734 CN2016105734W WO2018032627A1 WO 2018032627 A1 WO2018032627 A1 WO 2018032627A1 CN 2016105734 W CN2016105734 W CN 2016105734W WO 2018032627 A1 WO2018032627 A1 WO 2018032627A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- mold
- marine
- image
- color
- tablet
- 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.)
- Ceased
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63H—TOYS, e.g. TOPS, DOLLS, HOOPS OR BUILDING BLOCKS
- A63H33/00—Other toys
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F3/00—Board games; Raffle games
- A63F3/04—Geographical or like games ; Educational games
- A63F3/0478—Geographical or like games ; Educational games concerning life sciences, e.g. biology, ecology, nutrition, health, medicine, psychology
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/60—Type of objects
- G06V20/64—Three-dimensional objects
- G06V20/647—Three-dimensional objects by matching two-dimensional images to three-dimensional objects
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F3/00—Board games; Raffle games
- A63F3/04—Geographical or like games ; Educational games
- A63F3/0478—Geographical or like games ; Educational games concerning life sciences, e.g. biology, ecology, nutrition, health, medicine, psychology
- A63F2003/0481—Biology
Definitions
- the invention relates to the technical field of computer vision detection and processing, in particular to an educational toy kit and a marine mold recognition method thereof.
- an educational toy kit has been successfully developed in the field of computer vision and image processing technology, including: a bracket, a helmet detector, a bottom plate, a game program installed in a tablet computer, and being placed on a plane through a camera of a tablet computer. The image of the bottom plate.
- the position of the bottom plate may be deviated, resulting in the camera not being able to capture a complete image, the image is easy to collect errors, and the analysis result is inaccurate. appear.
- an educational toy kit and a marine mold recognition method thereof which collects marine mold information through a camera of a tablet computer, determines a mold used according to a color and an identification area, and extracts a graphic in a groove on the mold. If the identified mold does not match the mold required by the program, the child is instructed to change the mold to enhance the game's interest, children's hands-on ability and interactivity; and can quickly and correctly detect the marine bio mold used, improve image acquisition and Analyze the accuracy of the structure.
- the present invention provides an educational toy kit and a marine mold identifying method thereof, and the technical solutions are as follows:
- An educational toy kit comprising: a bracket, a helmet detector, a bottom plate and a marine mold, and the helmet detector is mounted on the bracket, the bottom plate is placed on a plane, the marine mold is placed on the bottom plate, and the ocean is disposed in the middle of the marine mold.
- the helmet detector further includes a body, a third groove, two segments and a convex mirror, and the third groove is located in the body for holding different types of tablets, and holding the tablet screen in the third groove
- the end of the convex mirror is provided with a convex mirror
- the other end of the convex mirror is mounted on the edge of the helmet detector
- the convex mirror is at an acute angle with the horizontal plane
- the third groove holds the end of the tablet screen higher than the camera position of the tablet
- the segments are located on the two edges of the convex mirror to hold the convex mirror and hold the tablet.
- an educational toy kit, marine molds include: starfish, octopus, seahorse, dolphins and fish.
- the biological identifier is a number or a corresponding creature.
- An ocean mold recognition method for an educational toy kit comprising the following steps:
- Step 1 Install the game program on the tablet, and then place the bottom plate on the plane.
- the bottom end of the tablet is installed in the first groove, and the helmet detector is installed on the top of the tablet through the second groove, and then The marine mold is placed on the bottom of the marine game;
- Step 2 After the fixed installation, the color image is collected in real time through the front camera of the tablet computer;
- Step 3 Detect the identifier and color of the marine mold in the image to determine whether the position of the marine mold is accurate.
- step three are:
- Step 1) for the color image I xy in the second step, detecting the position and angle of the bottom plate, and extracting the ocean mold image from the color image I xy ;
- Step 2) detecting the coding of the current region of interest, and comparing with the marine bio-mold coding table to determine whether the position of the marine mold is accurate;
- the region of interest is divided into nine parts according to the nine squares, and the sub-images of the lower left corner, the upper left corner and the upper right corner are cut out;
- each sub-image is scanned separately, and if the pixel value of the sub-image color exceeds the color threshold, the sub-image is considered to have a bio-marker, otherwise it is considered not;
- the tablet computer compared with the marine bio-mold coding table, if the tablet computer displays the position of the ocean mold accurately, the tablet computer tells the upper-layer client that the current marine mold placement position is accurate, and the client will be in the region of interest. According to the current game scene and the a priori information of the mold used by the user, the pixels of the area where the marine organism is located are extracted, and the corresponding texture is on the pre-made 3D marine biological model; otherwise, the tablet computer displays the position of the marine mold placement error, and Give guidance to choose the right mold, that is, the client plays a pre-set prompt or animation on the game interface to guide the customer.
- the marine bio-mold coding table in step 2) is based on whether there are no identifiers on the lower left, upper left and upper right sides of the mold, and is marked as 1 and is not recorded as 0. , the code of 12 molds can be completed, and then combined with the color of the marker, the current placement mold can be uniquely determined.
- the specific marine bio-mold coding table is:
- the invention intelligently combines the application of computer vision graphic recognition technology with a color coding scheme, and can accurately detect whether the marine fish mold is a correct mold and is placed in the correct position, and has a fast calculation speed.
- the positioning is accurate, the hardware and software technology are well unified, the game interaction design is ingenious; the appearance is simple, the judgment is faster, and the fun and the intuitiveness are enhanced.
- the detection algorithm of the invention is more scientific and mature, and the combination of image perspective transformation and image cutting algorithm can quickly determine the marine biological mold placed.
- the calculation speed of the invention is fast; each positioning detection takes about 30ms, which provides a smooth experience for the player.
- the performance of the invention is stable. When different tablet computers are installed in the educational toy kit, the collection and test are performed on 3,000 pictures, and the false recognition rate and the missed detection rate are below 0.2%.
- Figure 1 is a schematic view showing the structure of an educational toy kit of the present invention.
- FIG. 2 is a schematic view showing the structure of a helmet detector in an educational toy kit of the present invention.
- FIG. 3 is a flow chart of a method for identifying a marine mold of an educational toy kit of the present invention.
- Bracket 1 first groove 102, second groove 103, helmet detector 2, body 201, third groove 202, sector block 203, mirror 204, bottom plate 3, marine mold 4. marine biological groove 401, Biological identifier 402.
- a method for identifying a marine mold of an educational toy kit includes the following steps:
- Step 1 Install the game program on the tablet, and then place the bottom plate on the plane.
- the bottom end of the tablet is installed in the first groove, and the helmet detector is installed on the top of the tablet through the second groove, and then The marine mold is placed on the bottom of the marine game;
- Step 2 After the fixed installation, the color image is collected in real time through the front camera of the tablet computer;
- Step 3 detecting the identifier and color of the marine mold in the image, and judging whether the position of the marine mold is accurate;
- Step 1) for the color image I xy in the second step, detecting the position and angle of the bottom plate, and extracting the ocean mold image from the color image I xy ;
- Step 2 detecting the coding of the current region of interest, and comparing with the biometric table to determine whether the position of the marine mold is accurate;
- the region of interest is divided into nine parts according to the nine squares, and the sub-images of the lower left corner, the upper left corner and the upper right corner are cut out;
- each sub-image is scanned separately, and if the pixel value of the sub-image color exceeds the color threshold, the sub-image is considered to have a bio-marker, otherwise it is considered not;
- the tablet computer compared with the marine bio-mold coding table, if the tablet computer displays the position of the ocean mold accurately, the tablet computer tells the upper-layer client that the current marine mold placement position is accurate, and the client will be in the region of interest. According to the current game scene and the a priori information of the mold used by the user, the pixels of the area where the marine organism is located are extracted, and the corresponding texture is on the pre-made 3D marine biological model; otherwise, the tablet computer displays the position of the marine mold placement error, and Give guidance to select the correct mold, that is, the client plays a pre-set prompt or animation on the game interface to guide the customer;
- Figure 1 is a schematic view showing the structure of an educational toy kit of the present invention.
- FIG. 2 is a schematic view showing the structure of a helmet detector in an educational toy kit of the present invention.
- a marine mold recognition method for an educational toy kit includes a bracket 1, a helmet detector 2, a bottom plate 3, and a marine mold 4, and the helmet detector 2 is mounted on the bracket 1; the bottom plate 3 is placed on In the plane, the marine mold 4 is placed on the bottom plate 3, and a marine biological groove 401 is disposed at an intermediate position of the marine mold 4, the edge position is provided with a biological identifier 402, and the support 1 has a first groove 102 and a second concave portion at the top.
- the first groove 102 is used for placing a tablet computer, and the tablet computer collects marine mold information;
- the helmet detector 2 is installed in the second groove 103;
- the helmet detector 2 further includes: a body 201 and a third groove 202. 2 sectors 203 and convex mirror 204, and a third groove 202 is located in the body 201 for clamping different types of tablets, and a convex mirror is arranged at the end of the third groove 202 holding the tablet screen.
- the other end of the convex mirror 204 is mounted on the edge of the helmet detector 2, the convex mirror 204 is at an acute angle with the horizontal plane, and the third recess 202 holds the end of the tablet screen higher than the camera position of the tablet, 2 sectors Block 203 is located The two edges of the convex mirror 204 are used to fix the convex mirror 204 and hold the tablet.
- the marine mold 4 includes: starfish, octopus, seahorse, dolphins, and fish. ,
- the biological identifier 402 is a number or a corresponding creature.
- FIG. 3 is a flow chart of a method for identifying a marine mold of an educational toy kit of the present invention.
- a method for identifying a marine mold of an educational toy kit includes the following steps:
- Step 1 Install the game program on the tablet, and then place the bottom plate on the plane.
- the bottom end of the tablet is installed in the first groove, and the helmet detector is installed on the top of the tablet through the second groove, and then The marine mold is placed on the bottom of the marine game;
- Step 2 After the fixed installation, the color image is collected in real time through the front camera of the tablet computer;
- Step 3 detecting the identifier and color of the marine mold in the image, and judging whether the position of the marine mold is accurate;
- Step 1) for the color image I xy in the second step, detecting the position and angle of the bottom plate, and extracting the ocean mold image from the color image I xy ;
- Step 2 detecting the coding of the current region of interest, and comparing with the biometric table to determine whether the position of the marine mold is accurate;
- the region of interest is divided into nine parts according to the nine squares, and the sub-images of the lower left corner, the upper left corner and the upper right corner are cut out;
- each sub-image is scanned separately, and if the pixel value of the sub-image color exceeds the color threshold, the sub-image is considered to have a bio-marker, otherwise it is considered not;
- the tablet computer compared with the marine bio-mold coding table, if the tablet computer displays the position of the ocean mold accurately, the tablet computer tells the upper-layer client that the current marine mold placement position is accurate, and the client will be in the region of interest. According to the current game scene and the a priori information of the mold used by the user, the pixels of the area where the marine organism is located are extracted, and the corresponding texture is on the pre-made 3D marine biological model; otherwise, the tablet computer displays the position of the marine mold placement error, and Give guidance to select the correct mold, that is, the client plays a pre-set prompt or animation on the game interface to guide the customer;
- the invention intelligently combines the application of computer vision graphic recognition technology with a color coding scheme, can accurately detect whether the marine fish mold is a correct mold and is placed in the correct position, has a fast calculation speed, accurate positioning, and hardware and
- the software technology is well unified, the game interaction design is ingenious; the appearance is simple, the judgment is faster, and the fun and the intuitiveness are enhanced.
- the detection algorithm of the invention is more scientific and mature, and combines the algorithms of perspective transformation and image cutting of the image, and can quickly determine the marine biological mold placed.
- the calculation speed of the invention is fast; each positioning detection takes about 30ms, which provides a smooth experience for the player.
- the performance of the invention is stable. When different tablet computers are installed in the educational toy kit, the collection and test are performed on 3,000 pictures, and the false recognition rate and the missed detection rate are below 0.2%.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Epidemiology (AREA)
- General Health & Medical Sciences (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Biodiversity & Conservation Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Child & Adolescent Psychology (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Medical Informatics (AREA)
- Nutrition Science (AREA)
- Physiology (AREA)
- Psychiatry (AREA)
- Psychology (AREA)
- Public Health (AREA)
- Social Psychology (AREA)
- Zoology (AREA)
- Educational Technology (AREA)
- Toys (AREA)
Abstract
Description
本发明涉及计算机视觉检测处理技术领域,特别涉及一种教育玩具套件及其海洋模具识别方法。The invention relates to the technical field of computer vision detection and processing, in particular to an educational toy kit and a marine mold recognition method thereof.
现在平板电脑上有许多有趣的幼教游戏应用程序或者儿童游戏,但往往只是让小朋友在屏幕上指指画画,互动性欠缺,长时间看着屏幕容易对眼睛造成伤害;而当下一些互动性强的传统性游戏玩具已经脱离了时代的发展,形式上无法满足孩子学习、玩耍的需求,也不便于孩子和家长的互动沟通。There are many interesting preschool game apps or children's games on the tablet, but often just let the children point finger on the screen, the interaction is lacking, and watching the screen for a long time is easy to cause damage to the eyes; and now some interactive Traditional game toys have been separated from the development of the times, and the form cannot meet the needs of children to learn and play, and it is not convenient for children and parents to interact.
为了解决上述问题,计算机视觉与图像处理技术领域成功地开发了一种教育玩具套件,包括:支架、头盔探测器,底板,在平板电脑内安装游戏程序,通过平板电脑的摄像头采集放置于平面上的底板的图像。In order to solve the above problems, an educational toy kit has been successfully developed in the field of computer vision and image processing technology, including: a bracket, a helmet detector, a bottom plate, a game program installed in a tablet computer, and being placed on a plane through a camera of a tablet computer. The image of the bottom plate.
上述的教育玩具套件虽然解决了平板电脑中游戏的互动性欠缺的问题,但是底板的摆放位置会出现偏差,导致摄像头不能采集到完整的图像,图像容易采集出错,分析结果不准确等问题的出现。Although the above educational toy kit solves the problem of lack of interaction of the game in the tablet computer, the position of the bottom plate may be deviated, resulting in the camera not being able to capture a complete image, the image is easy to collect errors, and the analysis result is inaccurate. appear.
因此,计算机视觉与图像处理技术领域急需一种教育玩具套件及其海洋模具识别方法,通过平板电脑的摄像头采集海洋模具信息,根据颜色和识别区域判定采用的模具,提取模具上凹槽中的图形,若识别出来的模具与程序所需模具不匹配,则指导儿童更换模具,增强游戏的趣味性、儿童动手能力以及互动性;并且能够快速正确的检测出采用的海洋生物模具,提高图像采集以及分析结构的准确率。Therefore, there is an urgent need in the field of computer vision and image processing technology for an educational toy kit and a marine mold recognition method thereof, which collects marine mold information through a camera of a tablet computer, determines a mold used according to a color and an identification area, and extracts a graphic in a groove on the mold. If the identified mold does not match the mold required by the program, the child is instructed to change the mold to enhance the game's interest, children's hands-on ability and interactivity; and can quickly and correctly detect the marine bio mold used, improve image acquisition and Analyze the accuracy of the structure.
本发明为了解决上述问题,提供了一种教育玩具套件及其海洋模具识别方法,技术方案如下:In order to solve the above problems, the present invention provides an educational toy kit and a marine mold identifying method thereof, and the technical solutions are as follows:
一种教育玩具套件,包括:支架、头盔探测器、底板和海洋模具,并且头盔探测器安装于支架上,底板放置于平面上,海洋模具放置于底板上,在海洋模具的中间位置设置有海洋生物凹槽,边缘位置设置有生物标识符;支架底部具有凸起,顶部具有第一凹 槽和第二凹槽,第一凹槽用于放置平板电脑,平板电脑采集海洋模具信息;头盔探测器安装于第二凹槽内;An educational toy kit comprising: a bracket, a helmet detector, a bottom plate and a marine mold, and the helmet detector is mounted on the bracket, the bottom plate is placed on a plane, the marine mold is placed on the bottom plate, and the ocean is disposed in the middle of the marine mold. Bio-groove with a bio-identifier at the edge; a bump at the bottom and a first recess at the top a groove and a second groove, the first groove is for placing a tablet computer, the tablet computer collects marine mold information; the helmet detector is installed in the second groove;
头盔探测器,还包括本体、第三凹槽、2个扇形块和凸面镜,并且第三凹槽位于本体内,用于夹持不同型号的平板电脑,在第三凹槽夹持平板电脑屏幕的端点处设置有凸面镜,凸面镜的另一端安装于头盔探测器边缘上,凸面镜与水平面夹角成锐角,第三凹槽夹持平板电脑屏幕的端点高于平板电脑的摄像头位置,2个扇形块位于凸面镜的2个边缘上,用于固定凸面镜和夹持平板电脑。The helmet detector further includes a body, a third groove, two segments and a convex mirror, and the third groove is located in the body for holding different types of tablets, and holding the tablet screen in the third groove The end of the convex mirror is provided with a convex mirror, the other end of the convex mirror is mounted on the edge of the helmet detector, the convex mirror is at an acute angle with the horizontal plane, and the third groove holds the end of the tablet screen higher than the camera position of the tablet, 2 The segments are located on the two edges of the convex mirror to hold the convex mirror and hold the tablet.
优选的,一种教育玩具套件,海洋模具包括:海星、章鱼、海马、海豚和鱼类。Preferably, an educational toy kit, marine molds include: starfish, octopus, seahorse, dolphins and fish.
优选的,一种教育玩具套件,生物标识符为数字或对应的生物。Preferably, an educational toy kit, the biological identifier is a number or a corresponding creature.
一种教育玩具套件的海洋模具识别方法,包括如下步骤:An ocean mold recognition method for an educational toy kit, comprising the following steps:
步骤一,在平板电脑中安装游戏程序,再将底板放置于平面上,平板电脑的底端安装于第一凹槽内,通过第二凹槽将头盔探测器安装于平板电脑的顶端,再将海洋模具放置于海洋游戏底板上;Step 1: Install the game program on the tablet, and then place the bottom plate on the plane. The bottom end of the tablet is installed in the first groove, and the helmet detector is installed on the top of the tablet through the second groove, and then The marine mold is placed on the bottom of the marine game;
步骤二,固定安装好后,通过平板电脑的前置摄像头实时采集彩色图像;Step 2: After the fixed installation, the color image is collected in real time through the front camera of the tablet computer;
步骤三,检测图像中海洋模具的标识符和颜色,判断出海洋模具位置摆放是否准确。Step 3: Detect the identifier and color of the marine mold in the image to determine whether the position of the marine mold is accurate.
优选的,在上述的一种教育玩具套件的海洋模具识别方法中,步骤二中前置摄像头采集的彩色图像为Ixy,Ixy=f(x,y)=(Rxy,Gxy,Bxy),其中,(x,y)表示彩色图像像素点的位置坐标,f(x,y)表示图像在像素点坐标位置处的像素值,Rxy表示图像像素点在红色通道的色彩值,Gxy表示图像像素点在绿色通道的色彩值,Bxy表示图像像素点在蓝色通道的色彩值。Preferably, in the marine mold recognition method of the above educational toy kit, the color image acquired by the front camera in
优选的,在上述的一种教育玩具套件的海洋模具识别方法中,步骤三的具体步骤为:Preferably, in the marine mold recognition method of the above educational toy kit, the specific steps of step three are:
步骤1),针对步骤二中的彩色图像Ixy,检测底板的位置和角度,从彩色图像Ixy中提取海洋模具图像;Step 1), for the color image I xy in the second step, detecting the position and angle of the bottom plate, and extracting the ocean mold image from the color image I xy ;
a)采用透视变换原理,将彩色图像Ixy转换成由上而下俯视的正视角图像;a) using a perspective transformation principle, converting the color image I xy into a front view image viewed from top to bottom;
b)根据先验知识,在正视角图像中提取出底板感兴趣区域图像,即海洋模具放置的有效识别区域;b) extracting, according to a priori knowledge, an image of the region of interest of the bottom plate in the positive view image, that is, an effective recognition region where the marine mold is placed;
步骤2),检测当前感兴趣区域的编码,与海洋生物模具编码表进行比较,判断出海洋模具位置摆放是否准确; Step 2), detecting the coding of the current region of interest, and comparing with the marine bio-mold coding table to determine whether the position of the marine mold is accurate;
首先,在提取出来的感兴趣区域内,将该感兴趣区域按照九宫格均分成9份,再切割出来左下角、左上角和右上角的子图像;First, in the extracted region of interest, the region of interest is divided into nine parts according to the nine squares, and the sub-images of the lower left corner, the upper left corner and the upper right corner are cut out;
进一步地,分别扫描每个子图像,如果子图像颜色的像素值超过颜色阈值,则认为子图像内有生物标记符,否则认为没有;Further, each sub-image is scanned separately, and if the pixel value of the sub-image color exceeds the color threshold, the sub-image is considered to have a bio-marker, otherwise it is considered not;
进一步地,与海洋生物模具编码表进行比较,如果相同则平板电脑显示海洋模具摆放位置准确,则平板电脑告诉上层客户端,当前海洋模具摆放位置准确了,客户端就会在感兴趣区域内根据当前游戏场景与让用户使用的模具的先验信息提取出海洋生物所在区域的像素,对应的贴图在预先做好的3D海洋生物模型上;否则平板电脑显示海洋模具摆放位置错误,并且给出指导选择正确的模具,即客户端在游戏界面上播放一个预先设置好的提示或者动画对客户进行指导。Further, compared with the marine bio-mold coding table, if the tablet computer displays the position of the ocean mold accurately, the tablet computer tells the upper-layer client that the current marine mold placement position is accurate, and the client will be in the region of interest. According to the current game scene and the a priori information of the mold used by the user, the pixels of the area where the marine organism is located are extracted, and the corresponding texture is on the pre-made 3D marine biological model; otherwise, the tablet computer displays the position of the marine mold placement error, and Give guidance to choose the right mold, that is, the client plays a pre-set prompt or animation on the game interface to guide the customer.
优选的,在上述的一种教育玩具套件的海洋模具识别方法中,步骤2)中的海洋生物模具编码表是根据模具左下、左上和右上有没有标识符,有记为1,没有记为0,则可以完成12个模具的编码,再与标记符颜色相结合,即可唯一确定当前摆放模具,具体海洋生物模具编码表为:Preferably, in the marine mold identification method of the educational toy kit described above, the marine bio-mold coding table in step 2) is based on whether there are no identifiers on the lower left, upper left and upper right sides of the mold, and is marked as 1 and is not recorded as 0. , the code of 12 molds can be completed, and then combined with the color of the marker, the current placement mold can be uniquely determined. The specific marine bio-mold coding table is:
1、本发明巧妙的将应用计算机视觉图形识别技术与颜色编码方案相结合使用,能够准确检测海洋小鱼模具是否是正确的模具并且摆放到了正确的位置,具有运算速度快, 定位准确,将硬件与软件技术很好地统一起来,游戏交互设计巧妙;美观简单,判断更加快速,同时增强了趣味性和直观性。1. The invention intelligently combines the application of computer vision graphic recognition technology with a color coding scheme, and can accurately detect whether the marine fish mold is a correct mold and is placed in the correct position, and has a fast calculation speed. The positioning is accurate, the hardware and software technology are well unified, the game interaction design is ingenious; the appearance is simple, the judgment is faster, and the fun and the intuitiveness are enhanced.
2、本发明检测算法更加科学、成熟,将图像的透视变换、图像切割等算法相结合使用,能够快速的判断出摆放的海洋生物模具。2. The detection algorithm of the invention is more scientific and mature, and the combination of image perspective transformation and image cutting algorithm can quickly determine the marine biological mold placed.
3、本发明计算速度快;每次定位检测耗时在30ms左右,为玩家提供流畅的使用体验。3. The calculation speed of the invention is fast; each positioning detection takes about 30ms, which provides a smooth experience for the player.
4、本发明性能稳定,在对不同平板电脑安装于教育玩具套件内的情况下,针对3千幅图片进行了采集测试,误识别率和漏检率在0.2%以下。4. The performance of the invention is stable. When different tablet computers are installed in the educational toy kit, the collection and test are performed on 3,000 pictures, and the false recognition rate and the missed detection rate are below 0.2%.
下面结合附图和具体实施方式来详细说明本发明:The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.
图1是本发明一种教育玩具套件的结构示意图。BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a schematic view showing the structure of an educational toy kit of the present invention.
图2是本发明一种教育玩具套件中头盔探测器的结构示意图。2 is a schematic view showing the structure of a helmet detector in an educational toy kit of the present invention.
图3是本发明一种教育玩具套件的海洋模具识别方法的流程图。3 is a flow chart of a method for identifying a marine mold of an educational toy kit of the present invention.
其中,图1-3中的附图标记与部件名称之间的对应关系为:The correspondence between the reference numerals in Figure 1-3 and the part names is:
支架1,第一凹槽102,第二凹槽103,头盔探测器2,本体201,第三凹槽202,扇形块203,反光镜204,底板3,海洋模具4.海洋生物凹槽401,生物标识符402。
如图3所示,一种教育玩具套件的海洋模具识别方法,包括如下步骤:As shown in FIG. 3, a method for identifying a marine mold of an educational toy kit includes the following steps:
步骤一,在平板电脑中安装游戏程序,再将底板放置于平面上,平板电脑的底端安装于第一凹槽内,通过第二凹槽将头盔探测器安装于平板电脑的顶端,再将海洋模具放置于海洋游戏底板上;Step 1: Install the game program on the tablet, and then place the bottom plate on the plane. The bottom end of the tablet is installed in the first groove, and the helmet detector is installed on the top of the tablet through the second groove, and then The marine mold is placed on the bottom of the marine game;
步骤二,固定安装好后,通过平板电脑的前置摄像头实时采集彩色图像;Step 2: After the fixed installation, the color image is collected in real time through the front camera of the tablet computer;
前置摄像头采集的彩色图像为Ixy,Ixy=f(x,y)=(Rxy,Gxy,Bxy),其中,(x,y)表示彩色图像像素点的位置坐标,f(x,y)表示图像在像素点坐标位置处的像素值,Rxy表示图像像素点在红色通道的色彩值,Gxy表示图像像素点在绿色通道的色彩值,Bxy表示图像像素点在蓝色通道的色彩值;The color image acquired by the front camera is I xy , I xy =f(x,y)=(R xy , G xy , B xy ), where (x, y) represents the position coordinate of the pixel of the color image, f( x, y) represents the pixel value of the image at the pixel point coordinate position, R xy represents the color value of the image pixel point in the red channel, G xy represents the color value of the image pixel point in the green channel, and B xy represents the image pixel point in the blue The color value of the color channel;
步骤三,检测图像中海洋模具的标识符和颜色,判断出海洋模具位置摆放是否准确;Step 3: detecting the identifier and color of the marine mold in the image, and judging whether the position of the marine mold is accurate;
步骤1),针对步骤二中的彩色图像Ixy,检测底板的位置和角度,从彩色图像Ixy中提取海洋模具图像; Step 1), for the color image I xy in the second step, detecting the position and angle of the bottom plate, and extracting the ocean mold image from the color image I xy ;
b)采用透视变换原理,将彩色图像Ixy转换成由上而下俯视的正视角图像;b) using a perspective transformation principle, converting the color image I xy into a front view image viewed from top to bottom;
b)根据先验知识,在正视角图像中提取出底板感兴趣区域图像,即海洋模具放置的有效识别区域;b) extracting, according to a priori knowledge, an image of the region of interest of the bottom plate in the positive view image, that is, an effective recognition region where the marine mold is placed;
步骤2),检测当前感兴趣区域的编码,与生物编码表进行比较,判断出海洋模具位置摆放是否准确;Step 2), detecting the coding of the current region of interest, and comparing with the biometric table to determine whether the position of the marine mold is accurate;
首先,在提取出来的感兴趣区域内,将该感兴趣区域按照九宫格均分成9份,再切割出来左下角、左上角和右上角的子图像;First, in the extracted region of interest, the region of interest is divided into nine parts according to the nine squares, and the sub-images of the lower left corner, the upper left corner and the upper right corner are cut out;
进一步地,分别扫描每个子图像,如果子图像颜色的像素值超过颜色阈值,则认为子图像内有生物标记符,否则认为没有;Further, each sub-image is scanned separately, and if the pixel value of the sub-image color exceeds the color threshold, the sub-image is considered to have a bio-marker, otherwise it is considered not;
进一步地,与海洋生物模具编码表进行比较,如果相同则平板电脑显示海洋模具摆放位置准确,则平板电脑告诉上层客户端,当前海洋模具摆放位置准确了,客户端就会在感兴趣区域内根据当前游戏场景与让用户使用的模具的先验信息提取出海洋生物所在区域的像素,对应的贴图在预先做好的3D海洋生物模型上;否则平板电脑显示海洋模具摆放位置错误,并且给出指导选择正确的模具,即客户端在游戏界面上播放一个预先设置好的提示或者动画对客户进行指导;Further, compared with the marine bio-mold coding table, if the tablet computer displays the position of the ocean mold accurately, the tablet computer tells the upper-layer client that the current marine mold placement position is accurate, and the client will be in the region of interest. According to the current game scene and the a priori information of the mold used by the user, the pixels of the area where the marine organism is located are extracted, and the corresponding texture is on the pre-made 3D marine biological model; otherwise, the tablet computer displays the position of the marine mold placement error, and Give guidance to select the correct mold, that is, the client plays a pre-set prompt or animation on the game interface to guide the customer;
根据模具左下、左上和右上有没有标识符,有记为1,没有记为0,则可以将12个模具编码如下表,再与标记符颜色相结合,即可唯一确定当前摆放的模具,客户可以根据模具编码预先设置好对应的海洋生物模具,具体见下表:According to the lower left, upper left and upper right of the mold, there is no identifier, which is marked as 1 and not recorded as 0. You can encode 12 molds as shown in the following table, and then combine with the color of the marker to uniquely determine the mold currently placed. The customer can pre-set the corresponding marine bio-mold according to the mold code, as shown in the following table:
海洋生物模具编码表Marine bio mold coding table
为了使本发明技术实现的措施、创作特征、达成目的与功效易于明白了解,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. The described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
实施例1:Example 1:
图1是本发明一种教育玩具套件的结构示意图。BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a schematic view showing the structure of an educational toy kit of the present invention.
图2是本发明一种教育玩具套件中头盔探测器的结构示意图。2 is a schematic view showing the structure of a helmet detector in an educational toy kit of the present invention.
如图1-2所示,一种教育玩具套件的海洋模具识别方法,包括支架1、头盔探测器2、底板3和海洋模具4,并且头盔探测器2安装于支架1上;底板3放置于平面上,海洋模具4放置于底板3上,在海洋模具4的中间位置设置有海洋生物凹槽401,边缘位置设置有生物标识符402;支架1,顶部具有第一凹槽102和第二凹槽103,第一凹槽102用于放置平板电脑,平板电脑采集海洋模具信息;头盔探测器2,安装于第二凹槽103内;头盔探测器2还包括:本体201、第三凹槽202、2个扇形块203和凸面镜204,并且第三凹槽202位于本体201内,用于夹持不同型号的平板电脑,在第三凹槽202夹持平板电脑屏幕的端点处设置有凸面镜204,凸面镜204的另一端安装于头盔探测器2边缘上,凸面镜204与水平面夹角成锐角,第三凹槽202夹持平板电脑屏幕的端点高于平板电脑的摄像头位置,2个扇形块203位于凸面镜204的2个边缘上,用于固定凸面镜204和夹持平板电脑。As shown in FIG. 1-2, a marine mold recognition method for an educational toy kit includes a
本实施例中,海洋模具4包括:海星、章鱼、海马、海豚和鱼类。、In this embodiment, the marine mold 4 includes: starfish, octopus, seahorse, dolphins, and fish. ,
本实施例中,生物标识符402为数字或对应的生物。In this embodiment, the
图3是本发明一种教育玩具套件的海洋模具识别方法的流程图。3 is a flow chart of a method for identifying a marine mold of an educational toy kit of the present invention.
如图3所示,一种教育玩具套件的海洋模具识别方法,包括如下步骤:As shown in FIG. 3, a method for identifying a marine mold of an educational toy kit includes the following steps:
步骤一,在平板电脑中安装游戏程序,再将底板放置于平面上,平板电脑的底端安装于第一凹槽内,通过第二凹槽将头盔探测器安装于平板电脑的顶端,再将海洋模具放置于海洋游戏底板上;Step 1: Install the game program on the tablet, and then place the bottom plate on the plane. The bottom end of the tablet is installed in the first groove, and the helmet detector is installed on the top of the tablet through the second groove, and then The marine mold is placed on the bottom of the marine game;
步骤二,固定安装好后,通过平板电脑的前置摄像头实时采集彩色图像;Step 2: After the fixed installation, the color image is collected in real time through the front camera of the tablet computer;
前置摄像头采集的彩色图像为Ixy,Ixy=f(x,y)=(Rxy,Gxy,Bxy),其中,(x,y)表示彩色图像像素点的位置坐标,f(x,y)表示图像在像素点坐标位置处的像素值,Rxy表示 图像像素点在红色通道的色彩值,Gxy表示图像像素点在绿色通道的色彩值,Bxy表示图像像素点在蓝色通道的色彩值;The color image acquired by the front camera is I xy , I xy =f(x,y)=(R xy , G xy , B xy ), where (x, y) represents the position coordinate of the pixel of the color image, f( x, y) represents the pixel value of the image at the pixel coordinate position, R xy represents the color value of the image pixel in the red channel, G xy represents the color value of the image pixel in the green channel, and B xy represents the image pixel in the blue The color value of the color channel;
步骤三,检测图像中海洋模具的标识符和颜色,判断出海洋模具位置摆放是否准确;Step 3: detecting the identifier and color of the marine mold in the image, and judging whether the position of the marine mold is accurate;
步骤1),针对步骤二中的彩色图像Ixy,检测底板的位置和角度,从彩色图像Ixy中提取海洋模具图像;Step 1), for the color image I xy in the second step, detecting the position and angle of the bottom plate, and extracting the ocean mold image from the color image I xy ;
c)采用透视变换原理,将彩色图像Ixy转换成由上而下俯视的正视角图像;c) using a perspective transformation principle, converting the color image I xy into a front view image viewed from top to bottom;
b)根据先验知识,在正视角图像中提取出底板感兴趣区域图像,即海洋模具放置的有效识别区域;b) extracting, according to a priori knowledge, an image of the region of interest of the bottom plate in the positive view image, that is, an effective recognition region where the marine mold is placed;
步骤2),检测当前感兴趣区域的编码,与生物编码表进行比较,判断出海洋模具位置摆放是否准确;Step 2), detecting the coding of the current region of interest, and comparing with the biometric table to determine whether the position of the marine mold is accurate;
首先,在提取出来的感兴趣区域内,将该感兴趣区域按照九宫格均分成9份,再切割出来左下角、左上角和右上角的子图像;First, in the extracted region of interest, the region of interest is divided into nine parts according to the nine squares, and the sub-images of the lower left corner, the upper left corner and the upper right corner are cut out;
进一步地,分别扫描每个子图像,如果子图像颜色的像素值超过颜色阈值,则认为子图像内有生物标记符,否则认为没有;Further, each sub-image is scanned separately, and if the pixel value of the sub-image color exceeds the color threshold, the sub-image is considered to have a bio-marker, otherwise it is considered not;
进一步地,与海洋生物模具编码表进行比较,如果相同则平板电脑显示海洋模具摆放位置准确,则平板电脑告诉上层客户端,当前海洋模具摆放位置准确了,客户端就会在感兴趣区域内根据当前游戏场景与让用户使用的模具的先验信息提取出海洋生物所在区域的像素,对应的贴图在预先做好的3D海洋生物模型上;否则平板电脑显示海洋模具摆放位置错误,并且给出指导选择正确的模具,即客户端在游戏界面上播放一个预先设置好的提示或者动画对客户进行指导;Further, compared with the marine bio-mold coding table, if the tablet computer displays the position of the ocean mold accurately, the tablet computer tells the upper-layer client that the current marine mold placement position is accurate, and the client will be in the region of interest. According to the current game scene and the a priori information of the mold used by the user, the pixels of the area where the marine organism is located are extracted, and the corresponding texture is on the pre-made 3D marine biological model; otherwise, the tablet computer displays the position of the marine mold placement error, and Give guidance to select the correct mold, that is, the client plays a pre-set prompt or animation on the game interface to guide the customer;
根据模具左下、左上和右上有没有标识符,有记为1,没有记为0,则可以将12个模具编码如下表,再与标记符颜色相结合,即可唯一确定当前摆放的模具,客户可以根据模具编码预先设置好对应的海洋生物模具,具体见下表:According to the lower left, upper left and upper right of the mold, there is no identifier, which is marked as 1 and not recorded as 0. You can encode 12 molds as shown in the following table, and then combine with the color of the marker to uniquely determine the mold currently placed. The customer can pre-set the corresponding marine bio-mold according to the mold code, as shown in the following table:
海洋生物模具编码表Marine bio mold coding table
本发明巧妙的将应用计算机视觉图形识别技术与颜色编码方案相结合使用,能够准确检测海洋小鱼模具是否是正确的模具并且摆放到了正确的位置,具有运算速度快,定位准确,将硬件与软件技术很好地统一起来,游戏交互设计巧妙;美观简单,判断更加快速,同时增强了趣味性和直观性。The invention intelligently combines the application of computer vision graphic recognition technology with a color coding scheme, can accurately detect whether the marine fish mold is a correct mold and is placed in the correct position, has a fast calculation speed, accurate positioning, and hardware and The software technology is well unified, the game interaction design is ingenious; the appearance is simple, the judgment is faster, and the fun and the intuitiveness are enhanced.
本发明检测算法更加科学、成熟,将图像的透视变换、图像切割等算法相结合使用,能够快速的判断出摆放的海洋生物模具。The detection algorithm of the invention is more scientific and mature, and combines the algorithms of perspective transformation and image cutting of the image, and can quickly determine the marine biological mold placed.
本发明计算速度快;每次定位检测耗时在30ms左右,为玩家提供流畅的使用体验。The calculation speed of the invention is fast; each positioning detection takes about 30ms, which provides a smooth experience for the player.
本发明性能稳定,在对不同平板电脑安装于教育玩具套件内的情况下,针对3千幅图片进行了采集测试,误识别率和漏检率在0.2%以下。The performance of the invention is stable. When different tablet computers are installed in the educational toy kit, the collection and test are performed on 3,000 pictures, and the false recognition rate and the missed detection rate are below 0.2%.
以上显示和描述了本发明的基本原理、主要特征和本发明的优点。本行业的技术人员应该了解,本发明不受上述实施例的限制,上述实施例和说明书中描述的只是说明本发明的原理,在不脱离本发明精神和范围的前提下本发明还会有各种变化和改进,这些变化和改进都落入要求保护的本发明范围内。本发明要求保护范围由所附的权利要求书及其等同物界定。The basic principles, main features, and advantages of the present invention are shown and described above. It should be understood by those skilled in the art that the present invention is not limited by the foregoing embodiments, and that the present invention is described in the foregoing description and the description of the present invention. Such changes and modifications are intended to fall within the scope of the invention as claimed. The scope of the invention is defined by the appended claims and their equivalents.
所属领域技术人员根据上文的记载容易得知,本发明技术方案适合在工业中制造并在生产、生活中使用,因此本发明具备工业实用性。 It is easily known to those skilled in the art from the above description that the technical solution of the present invention is suitable for industrial production and is used in production and life, and therefore the present invention has industrial applicability.
Claims (5)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610697841.1 | 2016-08-19 | ||
| CN201610697841.1A CN106267843A (en) | 2016-08-19 | 2016-08-19 | A kind of Educational toy external member and ocean mould recognition methods thereof |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018032627A1 true WO2018032627A1 (en) | 2018-02-22 |
Family
ID=57660834
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/105734 Ceased WO2018032627A1 (en) | 2016-08-19 | 2016-11-14 | Teaching toy kit and marine mold identification method thereof |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106267843A (en) |
| WO (1) | WO2018032627A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109190718A (en) * | 2018-11-07 | 2019-01-11 | 苏州热工研究院有限公司 | A kind of nuclear power plant's marine growth detecting early-warning Multi-source Information Fusion algorithm |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106327956B (en) * | 2016-08-19 | 2019-06-21 | 上海葡萄纬度科技有限公司 | A kind of Educational toy external member and its card identification method of tinting |
| CN107198886B (en) * | 2017-05-23 | 2020-01-14 | 上海市如影科技有限公司 | Recognizable toy system |
| CN110223541A (en) * | 2018-03-03 | 2019-09-10 | 哈尔滨越泰科技发展有限公司 | A kind of educational suite based on mirror surface refraction image recognition methods |
| CN108847061A (en) * | 2018-08-03 | 2018-11-20 | 深圳市玩瞳科技有限公司 | Children's interactive learning system and reflection unit for mobile terminal |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103455264A (en) * | 2012-06-01 | 2013-12-18 | 鸿富锦精密工业(深圳)有限公司 | Handwritten Chinese character input method and electronic device with same |
| CN105194884A (en) * | 2015-10-27 | 2015-12-30 | 上海葡萄纬度科技有限公司 | Educational toy suite |
| CN105709434A (en) * | 2016-01-26 | 2016-06-29 | 上海葡萄纬度科技有限公司 | Educational toy suite and reflector position detecting method thereof |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008129540A2 (en) * | 2007-04-19 | 2008-10-30 | Eyecue Vision Technologies Ltd. | Device and method for identification of objects using color coding |
| CN105381607A (en) * | 2015-11-10 | 2016-03-09 | 王欢 | Virtuality and entity interactive type toy model |
-
2016
- 2016-08-19 CN CN201610697841.1A patent/CN106267843A/en active Pending
- 2016-11-14 WO PCT/CN2016/105734 patent/WO2018032627A1/en not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103455264A (en) * | 2012-06-01 | 2013-12-18 | 鸿富锦精密工业(深圳)有限公司 | Handwritten Chinese character input method and electronic device with same |
| CN105194884A (en) * | 2015-10-27 | 2015-12-30 | 上海葡萄纬度科技有限公司 | Educational toy suite |
| CN105709434A (en) * | 2016-01-26 | 2016-06-29 | 上海葡萄纬度科技有限公司 | Educational toy suite and reflector position detecting method thereof |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109190718A (en) * | 2018-11-07 | 2019-01-11 | 苏州热工研究院有限公司 | A kind of nuclear power plant's marine growth detecting early-warning Multi-source Information Fusion algorithm |
| CN109190718B (en) * | 2018-11-07 | 2021-02-12 | 苏州热工研究院有限公司 | Marine organism detection early warning multi-source information fusion method for nuclear power plant |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106267843A (en) | 2017-01-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2018032626A1 (en) | Teaching toy kit and number identification method thereof | |
| Cai et al. | RGB-D datasets using microsoft kinect or similar sensors: a survey | |
| CN106355592B (en) | An educational toy kit and method for identifying its circuit components and wires | |
| WO2018032627A1 (en) | Teaching toy kit and marine mold identification method thereof | |
| CN105513086B (en) | A kind of Educational toy external member and its localization method is detected based on the matched magic square of shape | |
| CN105719318A (en) | Educational toy set and HSV based color identification method for Rubik's cube | |
| CN105498253B (en) | A kind of Educational toy external member and its positioning hole detection localization method | |
| WO2017128606A1 (en) | Educational toy kit and tangram color recognition method therefor | |
| JP5778967B2 (en) | Information processing program, information processing method, information processing apparatus, and information processing system | |
| CN105740780B (en) | Method and device for detecting living human face | |
| CN105709434B (en) | A kind of Educational toy external member and its mirror position detection method | |
| WO2017128607A1 (en) | Educational toy kit and method for detecting placement shape and position of tangram | |
| CN106409063A (en) | Robot painting teaching method and device and robot | |
| CN105413198A (en) | AR children early education building block system | |
| CN106297492B (en) | A kind of Educational toy external member and the method using color and outline identification programming module | |
| KR102535617B1 (en) | System and method for detecting object in depth image | |
| CN102096471B (en) | Human-computer interaction method based on machine vision | |
| CN109598242A (en) | A kind of novel biopsy method | |
| CN106384355B (en) | A kind of automatic calibration method in projection interactive system | |
| CN106325509A (en) | Three-dimensional gesture recognition method and system | |
| JP5756322B2 (en) | Information processing program, information processing method, information processing apparatus, and information processing system | |
| Marcon et al. | Toothbrush motion analysis to help children learn proper tooth brushing | |
| CN115580716A (en) | Projection screen output method, system and device based on physical module | |
| CN109448131A (en) | A kind of virtual piano based on Kinect plays the construction method of system | |
| CN102929387A (en) | Man-machine interaction method and man-machine interaction system based on common paper and pen |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16913382 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16913382 Country of ref document: EP Kind code of ref document: A1 |