CN106355592A - Educational toy suite and its circuit elements and electric wires identifying method thereof - Google Patents
Educational toy suite and its circuit elements and electric wires identifying method thereof Download PDFInfo
- Publication number
- CN106355592A CN106355592A CN201610698013.XA CN201610698013A CN106355592A CN 106355592 A CN106355592 A CN 106355592A CN 201610698013 A CN201610698013 A CN 201610698013A CN 106355592 A CN106355592 A CN 106355592A
- Authority
- CN
- China
- Prior art keywords
- color
- image
- circuit
- circuit components
- value
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/12—Edge-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Image Analysis (AREA)
Abstract
Description
技术领域technical field
本发明涉及计算机视觉检测处理技术领域,特别涉及一种教育玩具套件及其电路元件和电线的识别方法。The invention relates to the technical field of computer vision detection and processing, in particular to an educational toy kit and a method for identifying circuit components and wires thereof.
背景技术Background technique
现在平板电脑上有许多有趣的幼教游戏应用程序或者儿童游戏,但往往只是让小朋友在屏幕上指指画画,互动性欠缺,长时间看着屏幕容易对眼睛造成伤害,并且缺乏物理知识的教育,逻辑思维培养欠缺;并且当下一些互动性强的传统性游戏玩具已经脱离了时代的发展,形式上无法满足孩子学习、玩耍的需求,也不便于孩子和家长的互动沟通。Now there are many interesting preschool education game applications or children’s games on tablet PCs, but they often just let children finger and draw on the screen, which lacks interactivity. Looking at the screen for a long time is easy to cause eye damage, and there is a lack of physical knowledge education. The cultivation of logical thinking is lacking; and some of the current interactive traditional game toys have been out of the development of the times, and cannot meet the needs of children for learning and playing in form, and it is not convenient for children and parents to interact and communicate.
为了解决上述问题,计算机视觉与图像处理技术领域成功地开发了一种教育玩具套件,包括:支架、头盔探测器和底板,在平板电脑内安装游戏程序,通过平板电脑的摄像头采集放置于平面上的底板的图像。上述的教育玩具套件虽然解决了平板电脑中游戏的互动性欠缺的问题,但是形式仍然单一,只是单纯的互动,并没有物理知识的嵌入,无法对孩子从小培养电学知识,亦无法做到从小培养小朋友对电学的认识和兴趣。In order to solve the above problems, a kind of educational toy kit has been successfully developed in the field of computer vision and image processing technology, including: a bracket, a helmet detector and a base plate, and the game program is installed in the tablet computer, which is collected and placed on the plane by the camera of the tablet computer. image of the bottom plate. Although the above-mentioned educational toy kit solves the problem of lack of interactivity in games on the tablet computer, the form is still single, only simple interaction, without the embedding of physical knowledge, and it is impossible to cultivate children's electrical knowledge from an early age, and it is also impossible to cultivate Children's knowledge and interest in electricity.
因此,计算机视觉检测处理技术领域急需一种教育玩具套件及其电路元件和电线的识别方法,是将电路元器件和电线放置于游戏底板上,在平板电脑内安装游戏程序,通过平板电脑的摄像头采集放置于底板上的电路元器件与电线图像,再基于预定义的颜色、轮廓信息、颜色编码信息,识别电路元件与电线,孩子将电路元器件与电线相连,判断出连接好的电路是否正确,增强孩子的想象力,增加游戏趣味性,使孩子可以学习到基础电路知识,培养孩子的兴趣。Therefore, in the field of computer vision detection and processing technology, there is an urgent need for an educational toy kit and an identification method for its circuit components and wires. Collect images of circuit components and wires placed on the bottom plate, and then identify circuit components and wires based on predefined colors, outline information, and color-coded information. Children connect circuit components and wires to determine whether the connected circuit is correct. , enhance children's imagination, increase the fun of the game, so that children can learn basic circuit knowledge and cultivate children's interest.
发明内容Contents of the invention
本发明为了解决上述问题,提供了一种教育玩具套件及其电路元件和电线的识别方法,技术方案如下:In order to solve the above problems, the present invention provides an educational toy kit and a method for identifying circuit components and electric wires thereof. The technical scheme is as follows:
一种教育玩具套件,包括:底板、电路元器件和电线底板放置于平面上,电路元器件和电线放置于底板上。An educational toy kit includes: a base plate, circuit components and wires are placed on the base plate, and the circuit components and wires are placed on the base plate.
优选的,在上述的一种教育玩具套件中,底板为具有圆角的矩形,在矩形的4个角上设置有校准角。Preferably, in the aforementioned educational toy kit, the bottom plate is a rectangle with rounded corners, and calibration corners are provided on the four corners of the rectangle.
优选的,在上述的一种教育玩具套件中,校准角为红色圆弧线。Preferably, in the above-mentioned educational toy kit, the calibration angle is a red arc line.
一种教育玩具套件中电路元件和电线的识别方法,包括如下步骤:A method for identifying circuit components and wires in an educational toy kit, comprising the steps of:
步骤一,在平板电脑中安装游戏程序,再将底板放置于平面上,保证校准角的一面朝上Step 1, install the game program on the tablet computer, and then place the bottom board on a flat surface, making sure that the side of the calibration corner is facing up
步骤二,在底板上完成电路元器件与电线的连接,通过平板电脑的后置摄像头实时采集彩色图像,移动平板电脑,保证后置摄像头采集的彩色图像中至少含有3个校准角;Step 2, complete the connection of circuit components and wires on the base plate, collect color images in real time through the rear camera of the tablet computer, and move the tablet computer to ensure that the color images collected by the rear camera contain at least 3 calibration angles;
步骤三,从步骤二的彩色图像中提取出有效识别区域;Step 3, extracting an effective recognition area from the color image in step 2;
步骤四,检测位于彩色图像有效识别区域内的电路元器件;Step 4, detecting circuit components located in the effective identification area of the color image;
步骤五,检测位于彩色图像有效识别区域内的电线;Step 5, detecting electric wires located in the effective identification area of the color image;
步骤六,判断出电路元器件与电线的连接是否准确。Step 6, judging whether the connection between the circuit components and the electric wires is correct.
优选的,在上述的一种教育玩具套件中电路元件和电线的识别方法中,步骤二中后置摄像头采集的彩色图像为Ixy,Ixy=f(x,y)=(Rxy,Gxy,Bxy),其中,(x,y)表示彩色图像像素点的位置坐标,f(x,y)表示图像在像素点坐标位置处的像素值,Rxy表示图像像素点在红色通道的色彩值,Gxy表示图像像素点在绿色通道的色彩值,Bxy表示图像像素点在蓝色通道的色彩值。Preferably, in the above-mentioned method for identifying circuit components and wires in an educational toy kit, the color image collected by the rear camera in step 2 is Ixy , Ixy =f(x, y)=( Rxy , G xy , B xy ), where (x, y) represents the position coordinates of the color image pixel, f(x, y) represents the pixel value of the image at the pixel coordinate position, R xy represents the image pixel in the red channel Color value, G xy indicates the color value of the image pixel in the green channel, B xy indicates the color value of the image pixel in the blue channel.
优选的,在上述的一种教育玩具套件中电路元件和电线的识别方法中,步骤三中从彩色图像中提取出有效识别区域的具体步骤为:Preferably, in the above-mentioned method for identifying circuit components and electric wires in an educational toy kit, the specific steps for extracting an effective identification area from the color image in step three are:
A)根据先验知识,在步骤二的彩色图像中分割出4块校准角区域,根据HSV空间内的先验阈值,将4块校准角区域图像进行二值化处理,得到4块校准角二值图;A) According to prior knowledge, segment 4 calibration corner regions from the color image in step 2, and perform binarization on the 4 calibration corner region images according to the prior threshold in HSV space, and obtain 4 calibration corner regions value map;
B)扫描步骤A)中得到的4块校准角二值图,得到相应的边缘轮廓图,再根据边缘轮廓的离心率和大小的先验知识,过滤掉不合理的轮廓;B) scanning the 4 blocks of calibration angle binary images obtained in step A) to obtain corresponding edge contour images, and then filtering out unreasonable contours according to the prior knowledge of the eccentricity and size of the edge contours;
C)根据步骤B)得到的剩余边缘轮廓,计算出4个校准角的外接矩形,在识别过程中,当至少有三个角标内都有符合条件的校准角时,其外接矩形即为计算出的有效识别区域。C) According to the remaining edge profile obtained in step B), calculate the circumscribed rectangle of 4 calibration corners. During the recognition process, when at least three corner marks have qualified calibration corners, the circumscribed rectangle is calculated. effective identification area.
优选的,在上述的一种教育玩具套件中电路元件和电线的识别方法中,步骤四中检测位于彩色图像识别区域内的电路元器件的具步骤为:Preferably, in the above-mentioned method for identifying circuit components and wires in an educational toy kit, the specific steps for detecting circuit components located in the color image recognition area in step 4 are:
1,由于每个电路元器件外壳的颜色不同,因此通过颜色差异,分割出各个电路元器件,并提取每个电路元器件外壳的内轮廓;1. Since the color of each circuit component shell is different, each circuit component is divided according to the color difference, and the inner contour of each circuit component shell is extracted;
2,根据步骤1中提取出的电路元器件外壳的内轮廓,计算出每个电路元器件的位置和偏转角度;2. Calculate the position and deflection angle of each circuit component according to the inner contour of the circuit component housing extracted in step 1;
3,依据步骤2计算出的偏转角度旋转电路元器件,再分割电路元器件,通过颜色编码识别出电路元器件的类别。3. Rotate the circuit components according to the deflection angle calculated in step 2, then divide the circuit components, and identify the category of the circuit components by color coding.
优选的,在上述的一种教育玩具套件中电路元件和电线的识别方法中,步骤1中提取每个电路元器件外壳的内轮廓的具体步骤为:Preferably, in the above-mentioned method for identifying circuit components and electric wires in an educational toy kit, the specific steps of extracting the inner contour of each circuit component shell in step 1 are:
a)因为电路元器件的颜色在RGB颜色空间内不利于分割开来,对光照变化也比较敏感,所以,将提取出来的感兴趣区域图像由RGB颜色空间转换到侧重于色彩表示的HSV颜色空间,具体转换公式为:a) Because the color of circuit components is not conducive to segmentation in the RGB color space, and is also sensitive to illumination changes, the extracted image of the region of interest is converted from the RGB color space to the HSV color space that focuses on color representation , the specific conversion formula is:
V=max{C(R′)、C(G′)、C(B′)};V=max{C(R'), C(G'), C(B')};
其中,H表示色调值,S表示饱和度值,V表示亮度值,max{C(R′)、C(G′)、C(B′)}表示在原始图像中一个像素点在红、绿、蓝三个通道的像素最大值,min{C(R′)、C(G′)、C(B′)}表示在原始图像中一个像素点在红、绿、蓝三个通道的像素最小值,并且H的取值范围位于0-360之间;Among them, H represents the hue value, S represents the saturation value, V represents the brightness value, and max{C(R'), C(G'), C(B')} indicates that a pixel in the original image is in the red, green , the maximum pixel value of the three channels of blue, min{C(R'), C(G'), C(B')} means that in the original image, the pixel of a pixel in the three channels of red, green and blue is the smallest value, and the value range of H is between 0-360;
b)在HSV颜色空间内,根据电路元器件所涉及到的颜色在HSV空间内的先验阈值,将彩色图像进行二值化处理,具体公式如下:b) In the HSV color space, according to the prior threshold value of the color involved in the circuit components in the HSV space, the color image is binarized, and the specific formula is as follows:
在二进制图像中B(x,y)=B_H(x,y)&B_S(x,y)&B_V(x,y)时,即为生成二进制图像;When B(x, y)=B_H(x, y)&B_S(x, y)&B_V(x, y) in the binary image, it is to generate a binary image;
其中,B(x,y)表示图像像素点(x,y)的二进制像素值,H(x,y)、S(x,y)、V(x,y)分别表示图像像素点(x,y)在HSV颜色空间内的色调值、饱和度值、亮度值;B_H(x,y)、B_S(x,y)、B_V(x,y)分别表示图像像素点(x,y)是否分别在指定的H、S、V区域内,如果是,则取值为1,否则,取值为0;Hmin、Hmax分别表示某个元器件外壳的颜色在HSV颜色空间内色调的先验最小和最大值;Smin、Smax分别表示某个元器件外壳的颜色在HSV颜色空间内饱和度的先验最小和最大值;Vmin、Vmax分别表示某个元器件外壳的颜色在HSV颜色空间内亮度的先验最小和最大值。Among them, B(x, y) represents the binary pixel value of the image pixel point (x, y), and H(x, y), S(x, y), V(x, y) represent the image pixel point (x, y) respectively. y) The hue value, saturation value, and brightness value in the HSV color space; B_H(x, y), B_S(x, y), and B_V(x, y) indicate whether the image pixel points (x, y) are respectively In the specified H, S, V area, if it is, the value is 1, otherwise, the value is 0; H min and H max respectively represent the priori of the hue of the color of a certain component shell in the HSV color space The minimum and maximum values; S min and S max represent the prior minimum and maximum values of the saturation of the color of a certain component shell in the HSV color space; V min and V max respectively represent the color of a certain component shell in HSV A priori minimum and maximum values for luminance within the color space.
c)扫描二值化图像,找出所有边缘轮廓;c) scan the binarized image to find out all edge contours;
二值化图像可以看作是只有两个值的灰度图像,图像的边缘是指灰度图像中灰度变化比较剧烈的部分,灰度值的变化程度采用相邻像素间的梯度变化来定量表示,梯度是一阶二维导数的二维等效式,具体计算过程为:The binarized image can be regarded as a grayscale image with only two values. The edge of the image refers to the part of the grayscale image where the grayscale changes sharply. The degree of change in the grayscale value is quantified by the gradient change between adjacent pixels. Indicates that the gradient is the two-dimensional equivalent of the first-order two-dimensional derivative, and the specific calculation process is:
首先,计算相邻像素的差分,具体公式为:First, calculate the difference between adjacent pixels, the specific formula is:
Gx=f[i,j+1]-f[i,j]G x =f[i,j+1]-f[i,j]
Gy=f[i,j]-f[i+1,j]G y =f[i,j]-f[i+1,j]
其中,Gx表示相邻像素在x方向上的差分,Gy表示相邻像素在y方向上的差分,f[i,j+1]表示图像在第i行第j+1列的像素值,f[i,j]表示图像在第i行第j列的像素值;f[i+1,j]表示图像在第i+1行第j列的像素值;Among them, G x represents the difference between adjacent pixels in the x direction, G y represents the difference between adjacent pixels in the y direction, and f[i, j+1] represents the pixel value of the i-th row and j+1 column of the image , f[i, j] represents the pixel value of the image at row i, column j; f[i+1, j] represents the pixel value of the image at row i+1, column j;
进一步地,计算相邻像素间的梯度,具体公式为:Further, calculate the gradient between adjacent pixels, the specific formula is:
其中,G(x,y)表示表示图像的在(x,y)点上梯度值,表示像素值在x方向上求导,表示像素值在y方向上求导;Among them, G(x, y) represents the gradient value of the image at (x, y) point, Indicates that the pixel value is derived in the x direction, Indicates that the pixel value is derived in the y direction;
进一步地,计算边缘点的梯度幅值,所有边缘点的梯度幅值集合即为提取的边缘轮廓;Further, the gradient magnitude of the edge points is calculated, and the gradient magnitude set of all edge points is the extracted edge contour;
进一步地,计算非静止电风扇和其余电路元器件耳朵的方法是根据电路元器件耳朵轮廓形状、大小和离心率的先验知识,滤掉不合理的轮廓,从而获得电路元器件的2个耳朵的位置;Furthermore, the method of calculating the ears of non-stationary electric fans and other circuit components is to filter out unreasonable contours based on the prior knowledge of the contour shape, size and eccentricity of the circuit component ears, so as to obtain the two ears of circuit components s position;
由于静止电扇的耳朵有可能被扇叶遮住部分或者全部,因此需要对步骤b)进行颜色分割,分割出蓝色二值图和绿色二值图;Since the ears of the static fan may be partially or completely covered by the blades, it is necessary to perform color segmentation on step b), and segment the blue binary image and the green binary image;
进一步地,对蓝色二值图进行扫描,通过扇叶的轮廓形状、离心率、大小的先验知识,判定是否有扇叶的存在,如果有,则判定该电路元器件为风扇;否则,直接跳到步骤2;Further, scan the blue binary image, and determine whether there is a fan blade through the prior knowledge of the contour shape, eccentricity, and size of the fan blade. If so, it is determined that the circuit component is a fan; otherwise, Skip directly to step 2;
进一步地,判定该电路元器件为风扇后,对于静止风扇的耳朵的计算方法如下:对步骤1中绿色二值图进行聚类处理,将距离较近的绿色点聚成一类,通过同一类的点集数量、点集最小外包矩形的大小、离心率、点集位置的先验知识,对聚成一类的点集进行过滤,如果过滤后只剩下两类点集,则认为当前扇叶的位置有较大概率地遮住了电气元器件的耳朵,则通过两类点集的中心点位置和元器件的轮廓信息计算出电路元器件耳朵的中心点位置。Further, after it is determined that the circuit component is a fan, the calculation method for the ears of a stationary fan is as follows: cluster the green binary image in step 1, group the green points with closer distances into one group, and use the same class of The number of point sets, the size of the minimum enclosing rectangle of the point set, the eccentricity, and the prior knowledge of the position of the point set filter the point sets clustered into one class. If only two types of point sets are left after filtering, it is considered that the current fan blade If the position has a high probability of covering the ears of electrical components, the position of the center point of the ear of the circuit component is calculated based on the position of the center point of the two types of point sets and the contour information of the component.
优选的,在上述的一种教育玩具套件中电路元件和电线的识别方法中,步骤2计算每个电路元器件的位置和偏转角度的具体步骤为:Preferably, in the above-mentioned method for identifying circuit components and wires in an educational toy kit, the specific steps for calculating the position and deflection angle of each circuit component in step 2 are:
根据计算出的电路元器件的耳朵位置、中心点位置,以保证电路元器件的耳朵在水平方向为标准,计算得出电路元器件的旋转角度。According to the calculated ear position and center point position of the circuit component, the rotation angle of the circuit component is calculated to ensure that the ear of the circuit component is in the horizontal direction as a standard.
优选的,在上述的一种教育玩具套件中电路元件和电线的识别方法中,步骤3中识别出电路元器件类别的具体步骤为:Preferably, in the above-mentioned method for identifying circuit components and wires in an educational toy kit, the specific steps for identifying the category of circuit components in step 3 are:
首先,需要预先为所有电路元器件设置一种编码规则,使每个电路元器件都有唯一的编码;因为待识别电路元器件数量是有限的,故选取红、黄、蓝、绿四种易区分的颜色作为编码特征色;电路元器件的私印主要集中在上中,中中,下中三个地方,当这三个地方的某一颜色像素超过颜色像素阈值,则认为此颜色是该区域的颜色;First of all, it is necessary to set a coding rule for all circuit components in advance, so that each circuit component has a unique code; because the number of circuit components to be identified is limited, four easy-to-code rules of red, yellow, blue, and green are selected. The distinguished color is used as the coding feature color; the private printing of circuit components is mainly concentrated in the upper middle, middle middle, and lower middle. When a certain color pixel in these three places exceeds the color pixel threshold, the color is considered to be the the color of the area;
根据电路元器件外壳颜色,上中、中中和下中的私印颜色,红记为1,黄记为2,蓝记为3,绿记为4,无记为0,忽略当前颜色也记为0,可以将11个电路元器件进行编码,根据电路元器件编码,即可唯一确定当前检测电路元器件的类型;According to the color of the circuit component shell, the private printing color of the upper middle, middle middle and lower middle, red is marked as 1, yellow is marked as 2, blue is marked as 3, green is marked as 4, nothing is marked as 0, and the current color is also recorded regardless of the current color. If it is 0, 11 circuit components can be coded, and the type of the current detection circuit component can be uniquely determined according to the circuit component code;
过滤掉不符合编码的电路元器件,将剩余的电路元器件类型、电路元器件中心点、旋转角度一起传递给上层软件;Filter out the circuit components that do not conform to the code, and pass the remaining circuit component types, circuit component center points, and rotation angles to the upper-level software;
优选的,在上述的一种教育玩具套件中电路元件和电线的识别方法中,颜色像素阈值为九宫格中每个宫格面积的30%。Preferably, in the above-mentioned method for identifying circuit components and wires in an educational toy kit, the color pixel threshold is 30% of the area of each grid in the nine grids.
优选的,在上述的一种教育玩具套件中电路元件和电线的识别方法中,步骤五中检测位于彩色图像有效识别区域内电线的具体步骤为:Preferably, in the above-mentioned method for identifying circuit components and wires in an educational toy kit, the specific steps of detecting the wires located in the effective identification area of the color image in step five are:
步骤1),通过颜色差异分割出电线、提取骨骼;Step 1), segment wires and extract bones through color differences;
步骤2),通过提取到的骨骼,计算电线的端点和分岔点。Step 2), through the extracted bones, calculate the endpoints and bifurcation points of the wires.
优选的,在上述的一种教育玩具套件中电路元件和电线的识别方法中,步骤1)中通过颜色差异分割出电线、提取骨骼的具体步骤为:Preferably, in the above-mentioned method for identifying circuit elements and electric wires in an educational toy kit, the specific steps of segmenting electric wires and extracting bones through color differences in step 1) are:
首先,在步骤三的有效识别区域HSV空间内,根据电线的颜色在HSV空间内的先验阈值,将图像二值化处理,得到电线二值化图像;First, in the HSV space of the effective recognition area in step 3, according to the prior threshold value of the color of the wire in the HSV space, the image is binarized to obtain a binarized image of the wire;
进一步地,对电线二值化图像进行扫描,通过电线轮廓的形状、大小的先验知识滤除不符合电线特征的轮廓,对剩下的轮廓进行填充,得到新的只有电线的二值化图;Further, scan the binarized image of the wire, filter out the contours that do not conform to the characteristics of the wire through the prior knowledge of the shape and size of the wire contour, fill the remaining contours, and obtain a new binarized image with only wires ;
进一步地,对上述只有电线的二值化图进行骨骼细化,得到电线的骨骼。Further, bone thinning is carried out on the above-mentioned binary image with only electric wires to obtain the skeleton of electric wires.
优选的,在上述的一种教育玩具套件中电路元件和电线的识别方法中,步骤2)中通过提取到的骨骼,计算电线的端点和分岔点的具体步骤为:通过步骤1)中得到的电线骨骼,以及电线的端点、分岔点特征的先验知识,找到电线骨骼中的端点和分岔点,如果有分岔点,将电线骨骼从分岔点分开,分成多个线段,如果没有分岔点,原电线骨骼就是一个线段,将所有的线段以及线段端点在骨骼中的类型提供给上层软件。Preferably, in the above-mentioned method for identifying circuit elements and electric wires in a kind of educational toy kit, the specific steps for calculating the endpoints and bifurcation points of the electric wires through the extracted bones in step 2) are: through step 1) to obtain The wire skeleton, as well as the prior knowledge of the endpoints and bifurcation point features of the wire, find the endpoints and bifurcation points in the wire skeleton, if there is a bifurcation point, separate the wire skeleton from the bifurcation point, and divide it into multiple line segments, if Without bifurcation points, the original wire skeleton is a line segment, and all the line segments and the types of line segment endpoints in the bone are provided to the upper software.
优选的,在上述的一种教育玩具套件中电路元件和电线的识别方法中,步骤六中判断出电路元器件与电线的连接是否准确的具体步骤为:上层软件将步骤四识别出的电路元器件与步骤五识别出的电线连接在一起,然后与上层软件实现存储的电路图进行比较,如果与电路图一致,则认为电路连接准确。Preferably, in the above-mentioned method for identifying circuit components and wires in an educational toy kit, the specific steps for judging whether the connection between the circuit components and the wires in step 6 are accurate are as follows: the upper layer software recognizes the circuit components identified in step 4 The device is connected with the wires identified in step five, and then compared with the circuit diagram stored by the upper layer software. If it is consistent with the circuit diagram, the circuit connection is considered accurate.
本发明的有益效果:Beneficial effects of the present invention:
1、本发明巧妙的将应用计算机视觉图形识别技术与HSV颜色空间、二值化处理、图像切割技术相结合使用,能够判断出电路元器件的类型以及电线,并且能够判断出电路连接是否准确,具有运算速度快,定位准确,将硬件与软件技术很好地统一起来,游戏交互设计巧妙;美观简单,判断更加快速,增强孩子的想象力,增加游戏趣味性,使孩子可以学习到基础电路知识,培养孩子的兴趣。1. The present invention cleverly uses computer vision graphic recognition technology combined with HSV color space, binarization processing, and image cutting technology to judge the type of circuit components and wires, and to judge whether the circuit connection is accurate. It has fast calculation speed, accurate positioning, well unifies hardware and software technology, and ingenious game interaction design; beautiful and simple, faster judgment, enhances children's imagination, increases game fun, and enables children to learn basic circuit knowledge , Cultivate children's interest.
2、本发明检测算法更加科学、成熟,将图像的色彩转换、图像卷积、图像切割、骨骼细化等算法相结合使用,能够快速的判断出电路元器件的类型以及电线。2. The detection algorithm of the present invention is more scientific and mature. The combination of image color conversion, image convolution, image cutting, bone thinning and other algorithms can quickly determine the type of circuit components and wires.
3、本发明计算速度快;每次定位检测耗时在200ms左右,为玩家提供流畅的使用体验。3. The calculation speed of the present invention is fast; each positioning detection takes about 200ms, providing players with a smooth use experience.
4、本发明性能稳定,在不同光照、对不同平板电脑安装于教育玩具套件内的情况下,针对3千幅图片进行了采集测试,误识别率和漏检率在0.2%以下。4. The performance of the present invention is stable. Under different lighting conditions and different tablet computers installed in the educational toy kit, a collection test was carried out for 3,000 pictures, and the false recognition rate and missed detection rate were below 0.2%.
附图说明Description of drawings
下面结合附图和具体实施方式来详细说明本发明:Describe the present invention in detail below in conjunction with accompanying drawing and specific embodiment:
图1是本发明一种教育玩具套件的结构示意图。Fig. 1 is a schematic structural view of an educational toy kit according to the present invention.
图2是本发明一种教育玩具套件中电路元件和电线的识别方法的流程图。Fig. 2 is a flowchart of a method for identifying circuit elements and wires in an educational toy kit according to the present invention.
图3是本发明一种教育玩具套件中步骤四中步骤3的具体电路元器件编码的表格图。Fig. 3 is a tabular diagram of specific circuit component codes in step 3 of step 4 in an educational toy kit of the present invention.
其中,图1-3中的附图标记与部件名称之间的对应关系为:Wherein, the corresponding relationship between the reference numerals and the part names in Fig. 1-3 is:
底板1,电路元器件2,电线3。Base plate 1, circuit components 2, wires 3.
具体实施方式detailed description
为了使本发明技术实现的措施、创作特征、达成目的与功效易于明白了解,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the measures, creative features, goals and effects achieved by the technology of the present invention easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the The described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
图1是本发明一种教育玩具套件的结构示意图。Fig. 1 is a schematic structural view of an educational toy kit according to the present invention.
如图1所示,一种玩具套件及其电路元件和电线的识别方法,底板1、电路元器件2和电线3,底板1放置于平面上,电路元器件2和电线3放置于底板3上。As shown in Figure 1, a toy kit and its identification method for circuit components and wires, base plate 1, circuit components 2 and wires 3, base plate 1 is placed on a plane, circuit components 2 and wires 3 are placed on base plate 3 .
本实施例中,底板为具有圆角的矩形,在矩形的4个角上设置有校准角;优选的,校准角为红色圆弧线。In this embodiment, the bottom plate is a rectangle with rounded corners, and calibration corners are provided on the four corners of the rectangle; preferably, the calibration corners are red circular arc lines.
图2是本发明一种教育玩具套件中电路元件和电线的识别方法的流程图。Fig. 2 is a flowchart of a method for identifying circuit elements and wires in an educational toy kit according to the present invention.
如图2所示,一种教育玩具套件中电路元件和电线的识别方法,包括如下步骤:As shown in Figure 2, a method for identifying circuit elements and electric wires in an educational toy kit includes the following steps:
步骤一,在平板电脑中安装游戏程序,再将底板放置于平面上,保证校准角的一面朝上;Step 1, install the game program on the tablet computer, and then place the base plate on a flat surface, making sure that the calibration corner is facing up;
步骤二,在底板上完成电路元器件与电线的连接,通过平板电脑的后置摄像头实时采集彩色图像,移动平板电脑,保证后置摄像头采集的彩色图像中至少含有3个校准角,具体步骤为:Step 2, complete the connection of circuit components and wires on the base plate, collect color images in real time through the rear camera of the tablet computer, and move the tablet computer to ensure that the color images collected by the rear camera contain at least 3 calibration angles. The specific steps are as follows: :
后置摄像头采集的彩色图像为Ixy,Ixy=f(x,y)=(Rxy,Gxy,Bxy),其中,(x,y)表示彩色图像像素点的位置坐标,f(x,y)表示图像在像素点坐标位置处的像素值,Rxy表示图像像素点在红色通道的色彩值,Gxy表示图像像素点在绿色通道的色彩值,Bxy表示图像像素点在蓝色通道的色彩值;The color image collected by the rear camera is I xy , I xy = f(x, y) = (R xy , G xy , B xy ), where (x, y) represents the position coordinates of the color image pixel, 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, B xy represents the image pixel in the blue channel The color value of the color channel;
步骤三,从步骤二的彩色图像中提取出有效识别区域,具体步骤为:Step 3, extracting an effective recognition area from the color image in step 2, the specific steps are:
A)根据先验知识,在步骤二的彩色图像中分割出4块校准角区域,根据HSV空间内的先验阈值,将4块校准角区域图像进行二值化处理,得到4块校准角二值图;A) According to prior knowledge, segment 4 calibration corner regions from the color image in step 2, and perform binarization on the 4 calibration corner region images according to the prior threshold in HSV space, and obtain 4 calibration corner regions value map;
B)扫描步骤A)中得到的4块校准角二值图,得到相应的边缘轮廓图,再根据边缘轮廓的离心率和大小的先验知识,过滤掉不合理的轮廓;B) scanning the 4 blocks of calibration angle binary images obtained in step A) to obtain corresponding edge contour images, and then filtering out unreasonable contours according to the prior knowledge of the eccentricity and size of the edge contours;
C)根据步骤B)得到的剩余边缘轮廓,计算出4个校准角的外接矩形,在识别过程中,当至少有三个角标内都有符合条件的校准角时,其外接矩形即为计算出的有效识别区域;C) According to the remaining edge profile obtained in step B), calculate the circumscribed rectangle of 4 calibration corners. During the recognition process, when at least three corner marks have qualified calibration corners, the circumscribed rectangle is calculated. effective identification area;
步骤四,检测位于彩色图像有效识别区域内的电路元器件,具体步骤为:Step 4, detecting the circuit components located in the effective recognition area of the color image, the specific steps are:
1,由于每个电路元器件外壳的颜色不同,因此通过颜色差异,分割出各个电路元器件,并提取每个电路元器件外壳的内轮廓,具体步骤为:1. Since the color of each circuit component shell is different, each circuit component is divided according to the color difference, and the inner contour of each circuit component shell is extracted. The specific steps are:
a)因为电路元器件的颜色在RGB颜色空间内不利于分割开来,对光照变化也比较敏感,所以,将提取出来的感兴趣区域图像由RGB颜色空间转换到侧重于色彩表示的HSV颜色空间,具体转换公式为:a) Because the color of circuit components is not conducive to segmentation in the RGB color space, and is also sensitive to illumination changes, the extracted image of the region of interest is converted from the RGB color space to the HSV color space that focuses on color representation , the specific conversion formula is:
V=max{C(R′)、C(G′)、C(B′)};V=max{C(R'), C(G'), C(B')};
其中,H表示色调值,S表示饱和度值,V表示亮度值,max{C(R′)、C(G′)、C(B′)}表示在原始图像中一个像素点在红、绿、蓝三个通道的像素最大值,min{C(R′)、C(G′)、C(B′)}表示在原始图像中一个像素点在红、绿、蓝三个通道的像素最小值,并且H的取值范围位于0-360之间;Among them, H represents the hue value, S represents the saturation value, V represents the brightness value, and max{C(R'), C(G'), C(B')} indicates that a pixel in the original image is in the red, green , the maximum pixel value of the three channels of blue, min{C(R'), C(G'), C(B')} means that in the original image, the pixel of a pixel in the three channels of red, green and blue is the smallest value, and the value range of H is between 0-360;
b)在HSV颜色空间内,根据电路元器件的外壳所涉及到的颜色在HSV空间内的先验阈值,将彩色图像进行二值化处理,具体公式如下:b) In the HSV color space, the color image is binarized according to the prior threshold value of the color involved in the outer shell of the circuit component in the HSV space, and the specific formula is as follows:
在二进制图像中B(x,y)=B_H(x,y)&B_S(x,y)&B_V(x,y)时,即为生成二进制图像;When B(x, y)=B_H(x, y)&B_S(x, y)&B_V(x, y) in the binary image, it is to generate a binary image;
其中,B(x,y)表示图像像素点(x,y)的二进制像素值,H(x,y)、S(x,y)、V(x,y)分别表示图像像素点(x,y)在HSV颜色空间内的色调值、饱和度值、亮度值;B_H(x,y)、B_S(x,y)、B_V(x,y)分别表示图像像素点(x,y)是否分别在指定的H、S、V区域内,如果是,则取值为1,否则,取值为0;Hmin、Hmax分别表示某个元器件外壳的颜色在HSV颜色空间内色调的先验最小和最大值;Smin、Smax分别表示某个元器件外壳的颜色在HSV颜色空间内饱和度的先验最小和最大值;Vmin、Vmax分别表示某个元器件外壳的颜色在HSV颜色空间内亮度的先验最小和最大值;Among them, B(x, y) represents the binary pixel value of the image pixel point (x, y), and H(x, y), S(x, y), V(x, y) represent the image pixel point (x, y) respectively. y) The hue value, saturation value, and brightness value in the HSV color space; B_H(x, y), B_S(x, y), and B_V(x, y) indicate whether the image pixel points (x, y) are respectively In the specified H, S, V area, if it is, the value is 1, otherwise, the value is 0; H min and H max respectively represent the priori of the hue of the color of a certain component shell in the HSV color space The minimum and maximum values; S min and S max represent the prior minimum and maximum values of the saturation of the color of a certain component shell in the HSV color space; V min and V max respectively represent the color of a certain component shell in HSV a priori minimum and maximum values of brightness in the color space;
c)扫描二值化图像,找出所有边缘轮廓;c) scan the binarized image to find out all edge contours;
二值化图像可以看作是只有两个值得灰度图像,图像的边缘是指灰度图像中灰度变化比较剧烈的部分,灰度值的变化程度采用相邻像素间的梯度变化来定量表示,梯度是一阶二维导数的二维等效式,具体计算过程为:The binarized image can be regarded as only two worth grayscale images. The edge of the image refers to the part of the grayscale image where the grayscale changes sharply. The change degree of the grayscale value is quantitatively expressed by the gradient change between adjacent pixels. , the gradient is the two-dimensional equivalent of the first-order two-dimensional derivative, and the specific calculation process is:
首先,计算相邻像素的差分,具体公式为:First, calculate the difference between adjacent pixels, the specific formula is:
Gx=f[i,j+1]-f[i,j]G x =f[i,j+1]-f[i,j]
Gy=f[i,j]-f[i+1,j]G y =f[i,j]-f[i+1,j]
其中,Gx表示相邻像素在x方向上的差分,Gy表示相邻像素在y方向上的差分,f[i,j+1]表示图像在第i行第j+1列的像素值,f[i,j]表示图像在第i行第j列的像素值;f[i+1,j]表示图像在第i+1行第j列的像素值,Among them, G x represents the difference between adjacent pixels in the x direction, G y represents the difference between adjacent pixels in the y direction, and f[i, j+1] represents the pixel value of the i-th row and j+1 column of the image , f[i, j] represents the pixel value of the image at row i, column j; f[i+1, j] represents the pixel value of the image at row i+1, column j,
进一步地,计算相邻像素间的梯度,具体公式为:Further, calculate the gradient between adjacent pixels, the specific formula is:
其中,G(x,y)表示表示图像的在(x,y)点上梯度值,表示像素值在x方向上求导,表示像素值在y方向上求导;Among them, G(x, y) represents the gradient value of the image at (x, y) point, Indicates that the pixel value is derived in the x direction, Indicates that the pixel value is derived in the y direction;
进一步地,计算边缘点的梯度幅值,所有边缘点的梯度幅值集合即为提取的边缘轮廓;Further, the gradient magnitude of the edge points is calculated, and the gradient magnitude set of all edge points is the extracted edge contour;
进一步地,计算非静止电风扇和其余电路元器件耳朵的方法是根据电路元器件耳朵轮廓形状、大小和离心率的先验知识,滤掉不合理的轮廓,从而获得电路元器件的2个耳朵的位置;Furthermore, the method of calculating the ears of non-stationary electric fans and other circuit components is to filter out unreasonable contours based on the prior knowledge of the contour shape, size and eccentricity of the circuit component ears, so as to obtain the two ears of circuit components s position;
由于静止电扇的耳朵有可能被扇叶遮住部分或者全部,因此需要对步骤b)进行颜色分割,分割出蓝色二值图和绿色二值图;Since the ears of the static fan may be partially or completely covered by the blades, it is necessary to perform color segmentation on step b), and segment the blue binary image and the green binary image;
进一步地,对蓝色二值图进行扫描,通过扇叶的轮廓形状、离心率、大小的先验知识,判定是否有扇叶的存在,如果有,则判定该电路元器件为风扇;否则,直接跳到步骤2;Further, scan the blue binary image, and determine whether there is a fan blade through the prior knowledge of the contour shape, eccentricity, and size of the fan blade. If so, it is determined that the circuit component is a fan; otherwise, Skip directly to step 2;
进一步地,判定该电路元器件为风扇后,对于静止风扇的耳朵的计算方法如下:对步骤1中绿色二值图进行聚类处理,将距离较近的绿色点聚成一类,通过同一类的点集数量、点集最小外包矩形的大小、离心率、点集位置的先验知识,对聚成一类的点集进行过滤,如果过滤后只剩下两类点集,则认为当前扇叶的位置有较大概率地遮住了电气元器件的耳朵,则通过两类点集的中心点位置和元器件的轮廓信息计算出电路元器件耳朵的中心点位置;Further, after it is determined that the circuit component is a fan, the calculation method for the ears of a stationary fan is as follows: cluster the green binary image in step 1, group the green points with closer distances into one group, and use the same class of The number of point sets, the size of the minimum enclosing rectangle of the point set, the eccentricity, and the prior knowledge of the position of the point set filter the point sets clustered into one class. If only two types of point sets are left after filtering, it is considered that the current fan blade If the position has a high probability of covering the ear of the electrical component, the position of the center point of the ear of the circuit component is calculated based on the position of the center point of the two types of point sets and the contour information of the component;
2,根据步骤1中提取出的电路元器件的轮廓,计算出每个电路元器件的位置和偏转角度,具体步骤为:2. Calculate the position and deflection angle of each circuit component according to the outline of the circuit components extracted in step 1. The specific steps are:
根据计算出的电路元器件的耳朵位置、中心点位置,以保证电路元器件的耳朵在水平方向为标准,计算得出电路元器件的旋转角度。根据计算出的电路元器件的耳朵位置、中心点位置,以保证电路元器件的耳朵在水平方向为标准,计算得出电路元器件的旋转角度;According to the calculated ear position and center point position of the circuit component, the rotation angle of the circuit component is calculated to ensure that the ear of the circuit component is in the horizontal direction as a standard. According to the calculated ear position and center point position of the circuit component, the rotation angle of the circuit component is calculated to ensure that the ear of the circuit component is in the horizontal direction as a standard;
3,依据步骤2计算出的偏转角度旋转电路元器件,再分割电路元器件,通过颜色编码识别出电路元器件的类别,具体步骤为:3. Rotate the circuit components according to the deflection angle calculated in step 2, then divide the circuit components, and identify the category of the circuit components through color coding. The specific steps are:
首先,需要预先为所有电路元器件设置一种编码规则,使每个电路元器件都有唯一的编码;因为待识别电路元器件数量是有限的,故选取红、黄、蓝、绿四种易区分的颜色作为编码特征色;电路元器件的私印主要集中在上中,中中,下中三个地方,当这三个地方的某一颜色像素值超过先验阈值,则认为此颜色是该区域的颜色;First of all, it is necessary to set a coding rule for all circuit components in advance, so that each circuit component has a unique code; because the number of circuit components to be identified is limited, four easy-to-code rules of red, yellow, blue, and green are selected. The distinguished color is used as the coding feature color; the private printing of circuit components is mainly concentrated in the upper middle, middle middle, and lower middle places. When the pixel value of a certain color in these three places exceeds the prior threshold, the color is considered to be the color of the area;
根据电路元器件外壳颜色,上中、中中和下中的私印颜色,红记为1,黄记为2,蓝记为3,绿记为4,无记为0,忽略当前颜色也记为0,可以将11个电路元器件进行编码,根据电路元器件编码,即可唯一确定当前检测电路元器件的类型;According to the color of the circuit component shell, the private printing color of the upper middle, middle middle and lower middle, red is marked as 1, yellow is marked as 2, blue is marked as 3, green is marked as 4, nothing is marked as 0, and the current color is also recorded regardless of the current color. If it is 0, 11 circuit components can be coded, and the type of the current detection circuit component can be uniquely determined according to the circuit component code;
过滤掉不符合编码的电路元器件,将剩余的电路元器件类型、电路元器件中心点、旋转角度一起传递给上层软件,具体电路元器件编码如图3所示;Filter out the circuit components that do not conform to the coding, and pass the remaining circuit component types, circuit component center points, and rotation angles to the upper-level software. The specific circuit component coding is shown in Figure 3;
步骤五,检测位于彩色图像有效识别区域内的电线,具体步骤为:Step five, detect the electric wires located in the effective recognition area of the color image, the specific steps are:
步骤1),通过颜色差异分割出电线、提取骨骼,具体步骤为:Step 1), segment wires and extract bones through color differences, the specific steps are:
首先,在步骤三的有效识别区域HSV空间内,根据电线的颜色在HSV空间内的先验阈值,将图像二值化处理,得到电线二值化图像;First, in the HSV space of the effective recognition area in step 3, according to the prior threshold value of the color of the wire in the HSV space, the image is binarized to obtain a binarized image of the wire;
进一步地,对电线二值化图像进行扫描,通过电线轮廓的形状、大小的先验知识滤除不符合电线特征的轮廓,对剩下的轮廓进行填充,得到新的只有电线的二值化图;Further, scan the binarized image of the wire, filter out the contours that do not conform to the characteristics of the wire through the prior knowledge of the shape and size of the wire contour, fill the remaining contours, and obtain a new binarized image with only wires ;
进一步地,对上述只有电线的二值化图进行骨骼细化,得到电线的骨骼;Further, perform bone refinement on the above-mentioned binary image with only wires to obtain the skeleton of wires;
步骤2),通过提取到的骨骼,计算电线的端点和分岔点,具体步骤为:通过步骤1)中得到的电线骨骼,以及电线的端点、分岔点特征的先验知识,找到电线骨骼中的端点和分岔点,如果有分岔点,将电线骨骼从分岔点分开,分成多个线段,如果没有分岔点,原电线骨骼就是一个线段,将所有的线段以及线段端点在骨骼中的类型提供给上层软件;Step 2), through the extracted bones, calculate the endpoints and bifurcation points of the wires, the specific steps are: through the wire skeletons obtained in step 1), and the prior knowledge of the characteristics of the endpoints and bifurcation points of the wires, find the wire skeleton If there is a bifurcation point, separate the wire bone from the bifurcation point and divide it into multiple line segments. If there is no bifurcation point, the original wire bone is a line segment. Put all the line segments and line segment endpoints in the bone The type in is provided to the upper layer software;
步骤六,判断出电路元器件与电线的连接是否准确,具体步骤为:Step 6, determine whether the connection between circuit components and wires is accurate, the specific steps are:
上层软件将步骤四识别出的电路元器件与步骤五识别出的电线连接在一起,然后与上层软件实现存储的电路图进行比较,如果与电路图一致,则认为电路连接准确。The upper-layer software connects the circuit components identified in step 4 with the wires identified in step 5, and then compares it with the circuit diagram stored by the upper-layer software. If it is consistent with the circuit diagram, the circuit connection is considered accurate.
本实施例中,颜色像素阈值为九宫格中每个宫格面积的30%。In this embodiment, the color pixel threshold is 30% of the area of each grid in the nine grids.
本发明巧妙的将应用计算机视觉图形识别技术与HSV颜色空间、二值化处理、图像切割技术相结合使用,能够判断出电路元器件的类型以及电线,并且能够判断出电路连接是否准确,具有运算速度快,定位准确,将硬件与软件技术很好地统一起来,游戏交互设计巧妙;美观简单,判断更加快速,增强孩子的想象力,增加游戏趣味性,使孩子可以学习到基础电路知识,培养孩子的兴趣。The present invention cleverly combines computer vision graphic recognition technology with HSV color space, binarization processing, and image cutting technology to determine the type of circuit components and wires, and to determine whether the circuit connection is accurate. Fast speed, accurate positioning, good integration of hardware and software technology, ingenious game interaction design; beautiful and simple, faster judgment, enhance children's imagination, increase game fun, so that children can learn basic circuit knowledge, cultivate child's interest.
本发明检测算法更加科学、成熟,将图像的色彩转换、图像卷积、图像切割、骨骼细化等算法相结合使用,能够快速的判断出电路元器件的类型以及电线。The detection algorithm of the invention is more scientific and mature, and the image color conversion, image convolution, image cutting, bone thinning and other algorithms are used in combination, and the type of circuit components and wires can be quickly judged.
本发明计算速度快;每次定位检测耗时在200ms左右,为玩家提供流畅的使用体验。The calculation speed of the present invention is fast; each positioning detection takes about 200 ms, providing players with a smooth use experience.
本发明性能稳定,在不同光照、对不同平板电脑安装于教育玩具套件内的情况下,针对3千幅图片进行了采集测试,误识别率和漏检率在0.2%以下。The performance of the present invention is stable, and under the condition of different lighting and different tablet computers installed in the educational toy kit, a collection test is carried out for 3,000 pictures, and the misrecognition rate and missed detection rate are below 0.2%.
以上显示和描述了本发明的基本原理、主要特征和本发明的优点。本行业的技术人员应该了解,本发明不受上述实施例的限制,上述实施例和说明书中描述的只是说明本发明的原理,在不脱离本发明精神和范围的前提下本发明还会有各种变化和改进,这些变化和改进都落入要求保护的本发明范围内。本发明要求保护范围由所附的权利要求书及其等同物界定。The basic principles, main features and advantages of the present invention have been shown and described above. Those skilled in the industry should understand that the present invention is not limited by the above-mentioned embodiments, and that described in the above-mentioned embodiments and the description only illustrates the principles of the present invention, and the present invention also has various aspects without departing from the spirit and scope of the present invention. Variations and improvements all fall within the scope of the claimed invention. The protection scope of the present invention is defined by the appended claims and their equivalents.
Claims (10)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610698013.XA CN106355592B (en) | 2016-08-19 | 2016-08-19 | An educational toy kit and method for identifying its circuit components and wires |
PCT/CN2016/105741 WO2018032631A1 (en) | 2016-08-19 | 2016-11-14 | Teaching toy kit and circuit element and electric wire identification method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610698013.XA CN106355592B (en) | 2016-08-19 | 2016-08-19 | An educational toy kit and method for identifying its circuit components and wires |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106355592A true CN106355592A (en) | 2017-01-25 |
CN106355592B CN106355592B (en) | 2020-06-16 |
Family
ID=57845107
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610698013.XA Active CN106355592B (en) | 2016-08-19 | 2016-08-19 | An educational toy kit and method for identifying its circuit components and wires |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106355592B (en) |
WO (1) | WO2018032631A1 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106951836A (en) * | 2017-03-05 | 2017-07-14 | 北京工业大学 | Crop Coverage Extraction Method Based on Prior Threshold Optimizing Convolutional Neural Network |
CN107526888A (en) * | 2017-08-22 | 2017-12-29 | 珠海泓芯科技有限公司 | The generation method and generating means of circuit topological structure |
CN107590838A (en) * | 2017-08-18 | 2018-01-16 | 陕西维视数字图像技术有限公司 | A kind of metal surface colour vision detecting system |
CN108271765A (en) * | 2018-01-05 | 2018-07-13 | 湘潭大学 | A kind of multi-functional pawl head monitoring environment robot and its plants identification method |
CN114511695A (en) * | 2022-02-21 | 2022-05-17 | 上海锡鼎智能科技有限公司 | Wire detection method for electrical experiment evaluation |
CN114720473A (en) * | 2022-03-08 | 2022-07-08 | 武汉海微科技有限公司 | Defect detection method for vehicle screen backplane based on machine vision |
CN114882520A (en) * | 2022-07-08 | 2022-08-09 | 成都西交智汇大数据科技有限公司 | Method, system and equipment for detecting circuit diagram and readable storage medium |
CN116091470A (en) * | 2023-02-07 | 2023-05-09 | 深圳微步信息股份有限公司 | Intelligent industrial control method and device based on 5G technology, electronic equipment and storage medium |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110263608B (en) * | 2019-01-25 | 2023-07-07 | 天津职业技术师范大学(中国职业培训指导教师进修中心) | Automatic electronic component identification method based on image feature space variable threshold measurement |
CN114973223B (en) * | 2022-03-03 | 2024-11-05 | 上海精密计量测试研究所 | A component quantity identification and mixed batch detection system based on image recognition |
CN114677586B (en) * | 2022-03-15 | 2024-04-05 | 南京邮电大学 | A method for automatic identification of physical circuit experiments |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2428833Y (en) * | 2000-06-12 | 2001-05-02 | 南京玻璃纤维研究设计院 | Display-screen picture calibration clamp |
CN102049137A (en) * | 2009-11-09 | 2011-05-11 | 季春香 | Combined-block type electronic element |
JP5045422B2 (en) * | 2007-01-29 | 2012-10-10 | 富士ゼロックス株式会社 | Photomino piece image generation method, photomino image generation method, photomino piece rendering program, photomino puzzle piece rendering program |
CN204655822U (en) * | 2015-02-27 | 2015-09-23 | 苏州雷泰医疗科技有限公司 | A kind of compound quality assurance die body |
CN105498200A (en) * | 2016-01-26 | 2016-04-20 | 上海葡萄纬度科技有限公司 | Educational toy set and tangram color recognition method thereof |
CN105513086A (en) * | 2016-01-26 | 2016-04-20 | 上海葡萄纬度科技有限公司 | Educational toy suite and magic cube detecting and positioning method thereof on basis of shape matching |
CN105719307A (en) * | 2016-01-26 | 2016-06-29 | 上海葡萄纬度科技有限公司 | Educational toy set and method for detecting placing shape and position of tangram |
CN105852968A (en) * | 2016-04-06 | 2016-08-17 | 黄斌 | Trajectory tracking device for liver and gallbladder surgery |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8340420B2 (en) * | 2009-10-05 | 2012-12-25 | National Taiwan University | Method for recognizing objects in images |
CN104680519B (en) * | 2015-02-06 | 2017-06-23 | 四川长虹电器股份有限公司 | Seven-piece puzzle recognition methods based on profile and color |
CN205164140U (en) * | 2015-10-27 | 2016-04-20 | 上海葡萄纬度科技有限公司 | Education toy external member |
CN105194884A (en) * | 2015-10-27 | 2015-12-30 | 上海葡萄纬度科技有限公司 | Educational toy suite |
CN105719318B (en) * | 2016-01-26 | 2018-07-10 | 上海葡萄纬度科技有限公司 | Magic square color identification method based on HSV in a kind of Educational toy external member |
-
2016
- 2016-08-19 CN CN201610698013.XA patent/CN106355592B/en active Active
- 2016-11-14 WO PCT/CN2016/105741 patent/WO2018032631A1/en active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2428833Y (en) * | 2000-06-12 | 2001-05-02 | 南京玻璃纤维研究设计院 | Display-screen picture calibration clamp |
JP5045422B2 (en) * | 2007-01-29 | 2012-10-10 | 富士ゼロックス株式会社 | Photomino piece image generation method, photomino image generation method, photomino piece rendering program, photomino puzzle piece rendering program |
CN102049137A (en) * | 2009-11-09 | 2011-05-11 | 季春香 | Combined-block type electronic element |
CN204655822U (en) * | 2015-02-27 | 2015-09-23 | 苏州雷泰医疗科技有限公司 | A kind of compound quality assurance die body |
CN105498200A (en) * | 2016-01-26 | 2016-04-20 | 上海葡萄纬度科技有限公司 | Educational toy set and tangram color recognition method thereof |
CN105513086A (en) * | 2016-01-26 | 2016-04-20 | 上海葡萄纬度科技有限公司 | Educational toy suite and magic cube detecting and positioning method thereof on basis of shape matching |
CN105719307A (en) * | 2016-01-26 | 2016-06-29 | 上海葡萄纬度科技有限公司 | Educational toy set and method for detecting placing shape and position of tangram |
CN105852968A (en) * | 2016-04-06 | 2016-08-17 | 黄斌 | Trajectory tracking device for liver and gallbladder surgery |
Non-Patent Citations (2)
Title |
---|
LI SIQIANG 等: "Image Segmentation Based on the Mean-Shift in the HSV Space", 《2007 CHINESE CONTROL CONFERENCE》 * |
刘纯: "基于行为方式的交互式儿童玩具设计研究", 《万方学位论文》 * |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106951836A (en) * | 2017-03-05 | 2017-07-14 | 北京工业大学 | Crop Coverage Extraction Method Based on Prior Threshold Optimizing Convolutional Neural Network |
CN106951836B (en) * | 2017-03-05 | 2019-12-13 | 北京工业大学 | Crop Coverage Extraction Method Based on Prior Threshold Optimizing Convolutional Neural Network |
CN107590838A (en) * | 2017-08-18 | 2018-01-16 | 陕西维视数字图像技术有限公司 | A kind of metal surface colour vision detecting system |
CN107526888A (en) * | 2017-08-22 | 2017-12-29 | 珠海泓芯科技有限公司 | The generation method and generating means of circuit topological structure |
CN107526888B (en) * | 2017-08-22 | 2024-02-20 | 珠海泓芯科技有限公司 | Method and device for generating circuit topology structure |
CN108271765A (en) * | 2018-01-05 | 2018-07-13 | 湘潭大学 | A kind of multi-functional pawl head monitoring environment robot and its plants identification method |
CN114511695A (en) * | 2022-02-21 | 2022-05-17 | 上海锡鼎智能科技有限公司 | Wire detection method for electrical experiment evaluation |
CN114720473A (en) * | 2022-03-08 | 2022-07-08 | 武汉海微科技有限公司 | Defect detection method for vehicle screen backplane based on machine vision |
CN114882520A (en) * | 2022-07-08 | 2022-08-09 | 成都西交智汇大数据科技有限公司 | Method, system and equipment for detecting circuit diagram and readable storage medium |
CN116091470A (en) * | 2023-02-07 | 2023-05-09 | 深圳微步信息股份有限公司 | Intelligent industrial control method and device based on 5G technology, electronic equipment and storage medium |
CN116091470B (en) * | 2023-02-07 | 2025-06-20 | 深圳微步信息股份有限公司 | Intelligent industrial control method, device, electronic device and storage medium based on 5G technology |
Also Published As
Publication number | Publication date |
---|---|
WO2018032631A1 (en) | 2018-02-22 |
CN106355592B (en) | 2020-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106355592B (en) | An educational toy kit and method for identifying its circuit components and wires | |
CN110472623B (en) | Image detection method, device and system | |
CN105719318B (en) | Magic square color identification method based on HSV in a kind of Educational toy external member | |
US10740963B2 (en) | 3D virtual environment generating method and device | |
CN103279191B (en) | A kind of 3D virtual interacting method based on Gesture Recognition and system | |
WO2018032626A1 (en) | Teaching toy kit and number identification method thereof | |
WO2017128606A1 (en) | Educational toy kit and tangram color recognition method therefor | |
WO2018032630A1 (en) | Teaching toy kit and method for identifying programming module by using color and counter | |
US20080101693A1 (en) | Video image based tracking system for identifying and tracking encoded color surface | |
CN105498253B (en) | A kind of Educational toy external member and its positioning hole detection localization method | |
CN103198304A (en) | Palm print extraction and identification method | |
CN104299004B (en) | A kind of gesture identification method based on multiple features fusion and finger tip detection | |
CN106228195B (en) | Seven-piece puzzle pattern recognition method based on image processing | |
CN105513086B (en) | A kind of Educational toy external member and its localization method is detected based on the matched magic square of shape | |
CN107154058B (en) | Method for guiding user to restore magic cube | |
CN108256467B (en) | A traffic sign detection method based on visual attention mechanism and geometric features | |
CN102024156A (en) | Method for positioning lip region in color face image | |
CN110569907B (en) | Method and device for identifying splicing pattern, computer storage medium and electronic equipment | |
CN106529520A (en) | Marathon match associated photo management method based on athlete number identification | |
CN108830198A (en) | Recognition methods, device, equipment and the storage medium of video format | |
CN103955693B (en) | A kind of computer aided detection recognition methods of nine balls | |
WO2018032627A1 (en) | Teaching toy kit and marine mold identification method thereof | |
CN110807807A (en) | A pattern, method, device and equipment for target positioning of monocular vision | |
CN108345867A (en) | Gesture identification method towards Intelligent household scene | |
CN117202447A (en) | Atmosphere lamp equipment, corner color taking method thereof, corresponding device and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: Room 3001, building 22, No. 500 Jiajian Road, Jiading District, Shanghai Patentee after: Shanghai brocade Technology Group Co.,Ltd. Address before: 201822 room 3001, building 22, No. 500 Jiajian highway, Jiading District, Shanghai Patentee before: SHANGHAI PUTAO TECHNOLOGY Co.,Ltd. |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: An educational toy kit and its identification method for circuit components and wires Effective date of registration: 20230725 Granted publication date: 20200616 Pledgee: China Minsheng Banking Corp Shanghai branch Pledgor: Shanghai brocade Technology Group Co.,Ltd. Registration number: Y2023310000394 |
|
PC01 | Cancellation of the registration of the contract for pledge of patent right |
Granted publication date: 20200616 Pledgee: China Minsheng Banking Corp Shanghai branch Pledgor: Shanghai brocade Technology Group Co.,Ltd. Registration number: Y2023310000394 |