[go: up one dir, main page]

CN103577797B - Image recognition system and image recognition method thereof - Google Patents

Image recognition system and image recognition method thereof Download PDF

Info

Publication number
CN103577797B
CN103577797B CN201210276146.XA CN201210276146A CN103577797B CN 103577797 B CN103577797 B CN 103577797B CN 201210276146 A CN201210276146 A CN 201210276146A CN 103577797 B CN103577797 B CN 103577797B
Authority
CN
China
Prior art keywords
search
image
setting module
image recognition
module
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.)
Active
Application number
CN201210276146.XA
Other languages
Chinese (zh)
Other versions
CN103577797A (en
Inventor
郑贵鸿
陈信翰
黄志源
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Glomerocryst Semiconductor Ltd Co
Original Assignee
Altek Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Altek Corp filed Critical Altek Corp
Priority to CN201210276146.XA priority Critical patent/CN103577797B/en
Publication of CN103577797A publication Critical patent/CN103577797A/en
Application granted granted Critical
Publication of CN103577797B publication Critical patent/CN103577797B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Analysis (AREA)

Abstract

The invention discloses an image identification system and an image identification method thereof. The image recognition system comprises a setting module and a recognition module. The setting module divides an image setting area into a plurality of search areas and selectively sets a search interval for each search area respectively. The identification module is connected with the setting module, and when the identification module identifies the image in a first identification mode, a search window moves in each search area according to the corresponding search interval so as to detect and identify the pixel point corresponding to the position to which the search window moves. The invention can effectively improve the efficiency of the whole image identification and can maintain the quality of the identification and detection.

Description

影像辨识系统及其影像辨识方法Image recognition system and image recognition method thereof

技术领域technical field

本发明是有关于一种影像辨识系统及其影像辨识方法,特别是有关于一种可以一特定移动方式或一遮罩来进行影像辨识,进而达到快速且精确的影像辨识系统及其影像辨识方法。The present invention relates to an image recognition system and its image recognition method, in particular to a fast and accurate image recognition system and its image recognition method which can perform image recognition with a specific moving mode or a mask .

背景技术Background technique

随着科技的发达,影像处理技术也越来越多元,其用途也越加的广泛。可将影像处理软体/系统安装或嵌设于个人电脑、手机或相机等装置之中,或自组为一影像处理装置。影像处理技术中包含了影像辨识功能,其可用于侦测影像照片中的特定特征,以与其它基准影像进行辨识比对。例如:可用以执行人物脸部特征比对,进而进行身份查检的作业等等。With the development of science and technology, image processing technology has become more and more diversified, and its uses have become more and more extensive. The image processing software/system can be installed or embedded in devices such as personal computers, mobile phones, or cameras, or self-assembled into an image processing device. The image processing technology includes an image recognition function, which can be used to detect specific features in an image photo for identification and comparison with other reference images. For example: it can be used to compare the facial features of people, and then perform identity checks, etc.

目前,以现有的影像辨识技术来说,在执行影像辨识作业时,大多是使用单一或固定方式循序地移动一搜寻视窗,以对影像中每一个影像单元(包含像素数量为22*22)进行辨识处理,如此没弹性取舍的作业方式,将使得处理的资料变多,同时需要存取执行时间也相对地变得冗长。可见图1,影像100可分为若干个影像单元101,在进行影像辨识时,则是移动搜寻视窗200来对每一个影像单元101进行影像辨识。其中,此图仅为较简略的标示法,实际上相邻的影像单元101具有部分重迭。例如,假设最左上第一个影像单元101的左上角像素位置为影像100中的座标(0,0),其相邻右边的影像单元101的左上角像素位置则为坐标(1,0),相邻下方的影像单元101的左上角像素位置则为座标(0,1)。而搜寻视窗200则是以一个像素点为其行动距离,例如第一点对左上角像素位置(0,0)的影像单元101做辨识处理,执行完后则移动一像素点对左上角位置(1,0)的影像单元101进行辨识。At present, in terms of existing image recognition technologies, when performing image recognition operations, most of them use a single or fixed method to sequentially move a search window to search for each image unit (including 22*22 pixels) in the image. The identification process, such an inflexible operation method, will increase the amount of data to be processed, and at the same time, the time required for access and execution will be relatively lengthy. As shown in FIG. 1 , the image 100 can be divided into several image units 101 , and when performing image recognition, the search window 200 is moved to perform image recognition on each image unit 101 . Wherein, this figure is only a simplified notation, and actually adjacent image units 101 partially overlap each other. For example, assuming that the pixel position of the upper left corner of the first image unit 101 on the upper left is the coordinate (0,0) in the image 100, the pixel position of the upper left corner of the adjacent right image unit 101 is the coordinate (1,0). , the pixel position of the upper left corner of the image unit 101 below is the coordinate (0,1). The search window 200 uses one pixel as its moving distance. For example, the first point performs identification processing on the image unit 101 at the pixel position (0,0) in the upper left corner. After the execution, it moves one pixel to the position in the upper left corner ( 1, 0) image unit 101 for identification.

另外,为进一步加速影像辨识处理作业,有些影像辨识法可使搜寻视窗200以一搜寻间隔300方式移动,以对移动到的影像单元101进行辨识,如图2所示。然而,此种方式仅可对全影像100做设定单一的搜寻间隔300,让系统利用此搜寻间隔300对影像100进行侦测辨识,而无法对影像100的不同区域分别设定不同的搜寻间隔300,在处理作业弹性上较为不足,且有可能造成影像辨识不精确的问题。In addition, in order to further speed up the image recognition processing, some image recognition methods allow the search window 200 to move at a search interval 300 to identify the moved image unit 101 , as shown in FIG. 2 . However, this method can only set a single search interval 300 for the entire image 100, allowing the system to use this search interval 300 to detect and identify the image 100, but it is not possible to set different search intervals for different regions of the image 100 300, the processing flexibility is relatively insufficient, and it may cause the problem of inaccurate image recognition.

发明内容Contents of the invention

有鉴于上述已知技术问题,本发明的目的就是在提供影像辨识系统及其影像辨识方法,以解决已知的影像辨识技术仅可以单一或固定模式循序移动搜寻视窗以进行辨识所造成的处理效率慢,以及仅可对全影像设定单一搜寻间隔所造成处理作业弹性不足的问题。In view of the above-mentioned known technical problems, the purpose of the present invention is to provide an image recognition system and its image recognition method to solve the processing efficiency caused by the known image recognition technology that can only move the search window sequentially in a single or fixed mode for recognition. Slow, and only a single search interval can be set for the full image, resulting in insufficient processing flexibility.

为实现上述目的,本发明采用以下技术方案:To achieve the above object, the present invention adopts the following technical solutions:

一种影像辨识系统,其包含一设定模块及一辨识模块。设定模块将一影像设定区分为若干个搜寻区域,并选择性地对各搜寻区域分别设定一搜寻间隔。辨识模块连接设定模块,当辨识模块于一第一辨识模式下对影像进行辨识时,使一搜寻视窗于各搜寻区域中依据所对应的搜寻间隔进行移动,以对搜寻视窗移动到的位置所对应的像素点进行侦测辨识。其中,设定模块还选择性地将各搜寻区域分别设定区分为若干个搜寻方块,且各搜寻方块分别包含有若干个搜寻单元。设定模块并对各搜寻方块分别设定一对应的搜寻遮罩,使辨识模块于一第二辨识模式下对影像进行辨识时,是利用各搜寻遮罩来分别对各对应的搜寻方块中的若干个搜寻单元进行选择性地侦测辨识。An image recognition system includes a setting module and a recognition module. The setting module divides an image setting into several search areas, and selectively sets a search interval for each search area. The identification module is connected to the setting module. When the identification module identifies the image in a first identification mode, a search window is moved in each search area according to the corresponding search interval, so as to determine the location where the search window moves to. Corresponding pixel points are detected and identified. Wherein, the setting module also selectively divides each search area into a plurality of search blocks, and each search block includes a plurality of search units. Setting the module and setting a corresponding search mask for each search box, so that when the identification module recognizes the image in a second identification mode, each search mask is used to respectively search for each corresponding search box Several search units selectively detect and identify.

较佳地,设定模块可提供使用者活动性地分别设定各搜寻区域的范围大小及各对应的该搜寻间隔的区间。Preferably, the setting module can provide the user with the flexibility to separately set the range size of each search area and each corresponding interval of the search interval.

较佳地,设定模块还对各搜寻遮罩分别设定包含至少一个搜寻视窗,使辨识模块以各搜寻遮罩来对各对应的搜寻方块执行影像侦测时,仅对各搜寻方块中对应于搜寻视窗的搜寻单元的像素点进行侦测辨识。Preferably, the setting module also sets each search mask to include at least one search window, so that when the recognition module uses each search mask to perform image detection on each corresponding search box, only the corresponding search window in each search box Perform detection and recognition on the pixels of the search unit in the search window.

较佳地,设定模块可提供使用者活动性地分别设定各搜寻方块的范围大小,以进而决定各搜寻方块所对应的搜寻单元的数量,并提供使用者活动性地分别设定各搜寻遮罩中所包含搜寻视窗的数量。Preferably, the setting module can allow the user to flexibly set the range size of each search box respectively, so as to further determine the number of search units corresponding to each search box, and provide the user to flexibly set the range of each search box respectively. The number of search windows included in the mask.

较佳地,设定模块可提供使用者选择设定辨识模块是以第一辨识模式或二辨识模式进行辨识。Preferably, the setting module can provide users with options to set the identification module to perform identification in the first identification mode or the second identification mode.

根据本发明的目的,又提出一种影像辨识方法,其包含下列步骤:利用一设定模块将一影像设定区分为若干个搜寻区域,并对各搜寻区域分别设定一搜寻间隔;以及当一辨识模块对影像进行辨识时,使一搜寻视窗于各搜寻区域中依据所对应的搜寻间隔进行移动,以对搜寻视窗移动到的位置所对应的像素点进行侦测辨识。其中,还经由该设定模块让使用者分别设定各该搜寻区域中横向的该搜寻间隔及纵向的该搜寻间隔。According to the purpose of the present invention, an image recognition method is proposed, which includes the following steps: using a setting module to divide an image setting into several search areas, and setting a search interval for each search area; and when When a recognition module recognizes an image, it moves a search window in each search area according to the corresponding search interval, so as to detect and recognize the pixel corresponding to the position where the search window moves. Wherein, the user is also allowed to respectively set the horizontal search interval and the vertical search interval in each of the search areas through the setting module.

根据本发明的目的,再提出一种影像辨识方法,其包含下列步骤:利用一设定模块将一影像设定区分为若干个搜寻区域,并将各搜寻区域分别设定区分为若干个搜寻方块,各搜寻方块分别包含为若干个搜寻单元;利用设定模块对各搜寻方块分别设定一对应的搜寻遮罩;以及当一辨识模块对影像进行辨识时,是利用各搜寻遮罩来分别对各对应的搜寻方块中的若干个搜寻单元进行选择性地侦测辨识。According to the purpose of the present invention, an image recognition method is proposed, which includes the following steps: using a setting module to divide an image setting into several search areas, and setting each search area into several search squares , each search box consists of several search units; use the setting module to set a corresponding search mask for each search box; and when an identification module identifies an image, it uses each search mask to respectively A plurality of search units in each corresponding search block are selectively detected and identified.

承上所述,依本发明的影像辨识系统及其影像辨识方法,其可具有一或多个下述优点:Based on the above, according to the image recognition system and its image recognition method of the present invention, it may have one or more of the following advantages:

(1)此影像辨识系统及其影像辨识方法,可提供使用者将影像设定区分为若干个搜寻区域,再将各搜寻区域分别设定为不同的搜寻间隔,以利用此搜寻间隔进行影像辨识的处理,可避免浪费时间于不重要的区域做搜寻,以主要针对可能有特征的区域进行辨识侦测,如此一来,可有效地提升整体影像辨识的效率,并可维持辨识侦测的品质。(1) This image recognition system and its image recognition method can provide users with the ability to divide the image setting into several search areas, and then set each search area to a different search interval, so as to use this search interval for image recognition The processing can avoid wasting time searching for unimportant areas, and mainly identify and detect areas that may have features. In this way, the efficiency of overall image recognition can be effectively improved, and the quality of recognition and detection can be maintained. .

(2)此影像辨识系统及其影像辨识方法,可提供使用者设定不同的辨识模式,以进一步将影像设定为不同的影像区域、方块、单元等,可更有效地使用辨识侦测处理资源,使效率有效地提升。(2) This image recognition system and its image recognition method can provide users with setting different recognition modes, so as to further set the image into different image areas, blocks, units, etc., and can use the recognition and detection processing more effectively resources to effectively improve efficiency.

附图说明Description of drawings

图1为本发明的已知的影像辨识方式的第一示意图。FIG. 1 is a first schematic diagram of a known image recognition method of the present invention.

图2为本发明的已知的影像辨识方式的第二示意图。FIG. 2 is a second schematic diagram of a known image recognition method of the present invention.

图3为本发明的影像辨识系统的方块图。FIG. 3 is a block diagram of the image recognition system of the present invention.

图4为本发明的影像辨识方法的第一流程图。FIG. 4 is a first flowchart of the image recognition method of the present invention.

图5为本发明的影像辨识方法的第二流程图。FIG. 5 is a second flowchart of the image recognition method of the present invention.

图6为本发明的影像辨识系统及其影像辨识方法的第一实施例的示意图。FIG. 6 is a schematic diagram of a first embodiment of the image recognition system and its image recognition method of the present invention.

图7为本发明的影像辨识系统及其影像辨识方法的第二实施例的示意图。FIG. 7 is a schematic diagram of a second embodiment of the image recognition system and its image recognition method of the present invention.

图8为本发明的影像辨识系统及其影像辨识方法的另外一实施例的示意图。FIG. 8 is a schematic diagram of another embodiment of the image recognition system and its image recognition method of the present invention.

图9为本发明的影像辨识系统及其影像辨识方法的再一实施例的示意图。FIG. 9 is a schematic diagram of another embodiment of the image recognition system and its image recognition method of the present invention.

具体实施方式detailed description

为说明本发明的技术特征、内容与优点及其所能达成的功效,以下将本发明配合附图,并以实施例的表达形式详细说明如下,而其中所使用的附图,其主旨仅为示意及辅助说明书之用,未必为本发明实施后的真实比例与精准配置,故不应就附图的比例与配置关系解读、局限本发明于实际实施上的权利范围,事先声明。In order to illustrate the technical features, content and advantages of the present invention and the effects that can be achieved, the present invention will be described in detail below in conjunction with the accompanying drawings, and in the form of embodiments, and the accompanying drawings used herein are only intended to The purpose of illustration and auxiliary description is not necessarily the true proportion and precise configuration of the present invention after implementation, so it should not be interpreted or limited to the scope of rights of the present invention in actual implementation based on the proportion and configuration relationship of the drawings, and it should be stated in advance.

请参阅图3,其为本发明的影像辨识系统的方块图。图中,影像辨识系统1包含有一设定模块11及一辨识模块12,设定模块11与辨识模块12连接。此影像辨识系统1可为软件或电路晶片等,以安装或嵌设于个人电脑、手机或相机等装置之中,或自组为一影像处理装置。设定模块11可包含实体按键或虚拟按键及其所对应的处理电路。Please refer to FIG. 3 , which is a block diagram of the image recognition system of the present invention. In the figure, the image recognition system 1 includes a setting module 11 and a recognition module 12 , and the setting module 11 is connected to the recognition module 12 . The image recognition system 1 can be software or circuit chips, etc., to be installed or embedded in devices such as personal computers, mobile phones, or cameras, or self-assembled as an image processing device. The setting module 11 may include physical keys or virtual keys and corresponding processing circuits.

上述中,使用者欲对一影像2进行侦测辨识时,可利用设定模块11对影像2设定区分为若干个搜寻区域21,并选择性地对各搜寻区域21分别设定一搜寻间隔3。当使用者以此方式设定完成后,辨识模块12可以第一辨识模式121对影像2进行辨识,以使一搜寻视窗于各搜寻区域21中,分别依据使用者所设定的搜寻间隔3进行移动,以对搜寻视窗移动到的位置所对应的影像2的像素点进行侦测辨识。其中,设定模块11可提供使用者活动性地分别设定各搜寻区域21的范围大小及各对应的搜寻间隔3的区间,以及设定模块11可提供使用者分别设定各搜寻区域21中横向的搜寻间隔3及纵向的搜寻间隔3。In the above, when the user wants to detect and identify an image 2, he can use the setting module 11 to divide the image 2 into several search areas 21, and selectively set a search interval for each search area 21 3. After the user completes the settings in this way, the identification module 12 can identify the image 2 in the first identification mode 121, so that a search window can be searched in each search area 21 according to the search interval 3 set by the user. Move to detect and identify the pixels of image 2 corresponding to the position to which the search window is moved. Among them, the setting module 11 can provide the user to set the range size of each search area 21 and the interval of each corresponding search interval 3 respectively, and the setting module 11 can provide the user to set the range of each search area 21 respectively. Horizontal search interval 3 and vertical search interval 3.

此外,此影像辨识系统1也可以另一种形式对影像2进行侦测辨识。使用者可利用设定模块11对影像2设定区分为若干个搜寻区域21,再将各搜寻区域21分别设定区分为若干个搜寻方块211,且使各搜寻方块211分别包含有若干个搜寻单元2111。使用者可再通过设定模块11对各搜寻方块211分别设定一对应的搜寻遮罩4。接着,辨识模块12可以一第二辨识模式122对影像2进行侦测辨识,以利用各搜寻遮罩4来分别对各对应的搜寻方块211中的若干个搜寻单元2111进行选择性地侦测辨识。更详细地说,设定模块11可提供使用者对各搜寻遮罩4分别设定包含至少一个搜寻视窗,如此一来,在辨识模块12以各搜寻遮罩4来对各对应的搜寻方块211执行影像侦测时,辨识模块12仅对各搜寻方块211中,对应于搜寻遮罩4中的搜寻视窗的搜寻单元2111的像素点进行侦测辨识。其中,设定模块11可提供使用者活动性地分别设定各搜寻方块211的范围大小,如此便可进而决定各搜寻方块211所对应的搜寻单元2111的数量。且设定模块11还可提供使用者活动性地分别设定各搜寻遮罩4中所包含搜寻视窗的数量。In addition, the image recognition system 1 can also detect and recognize the image 2 in another form. The user can use the setting module 11 to set and divide the image 2 into several search areas 21, and then divide each search area 21 into several search blocks 211, and make each search block 211 contain several search blocks 211. Unit 2111. The user can set a corresponding search mask 4 for each search box 211 through the setting module 11 . Then, the identification module 12 can detect and identify the image 2 in a second identification mode 122, so as to use each search mask 4 to selectively detect and identify several search units 2111 in each corresponding search box 211. . In more detail, the setting module 11 can provide the user to set at least one search window for each search mask 4, so that in the recognition module 12, each search mask 4 can be used for each corresponding search box 211 When performing image detection, the recognition module 12 only detects and recognizes the pixels in each search block 211 corresponding to the search unit 2111 of the search window in the search mask 4 . Wherein, the setting module 11 can provide the user to flexibly set the range size of each search box 211 respectively, so that the number of search units 2111 corresponding to each search box 211 can be further determined. And the setting module 11 can also provide the user with the flexibility to respectively set the number of search windows included in each search mask 4 .

上述中,设定模块11可提供使用者先设定好影像2的区域分割并予以储存,届时,使用者要使用影像辨识功能时,使用者仅需通过设定模块11来选择设定辨识模块12是要以第一辨识模式121或第二辨识模式122进行辨识,辨识模块12便会根据使用者所预先设定的影像2设定模式进行影像辨识。Among the above, the setting module 11 can provide the user to set the area division of the image 2 first and store it. At that time, when the user wants to use the image recognition function, the user only needs to select and set the recognition module through the setting module 11 12 is to perform identification in the first identification mode 121 or the second identification mode 122 , and the identification module 12 will perform image identification according to the image 2 setting mode preset by the user.

上述中,设定模块11提供使用者对影像2进行区分设定的方式仅为举例,设定模块11也可提供使用者直接对影像2设定区分为若干个搜寻单元2111,再设定辨识模块12对影像2中的部分或全部搜寻单元2111做影像侦测辨识。以上所述皆不应以本发明所举例而有所限制。In the above, the method that the setting module 11 provides for the user to distinguish and set the image 2 is only an example. The setting module 11 can also provide the user to directly set the image 2 and divide it into several search units 2111, and then set the identification The module 12 performs image detection and recognition on part or all of the search units 2111 in the image 2 . All the above should not be limited by the examples of the present invention.

请参阅图4,其为本发明的影像辨识方法的第一流程图,其流程步骤为:Please refer to FIG. 4, which is the first flow chart of the image recognition method of the present invention, and its process steps are:

S41:利用一设定模块将一影像设定区分为若干个搜寻区域,并对各搜寻区域分别设定一搜寻间隔。S41: Use a setting module to divide an image setting into several search areas, and set a search interval for each search area.

S42:当一辨识模块对影像进行辨识时,使一搜寻视窗于各搜寻区域中依据所对应的搜寻间隔进行移动,以对搜寻视窗移动到的位置所对应的像素点进行侦测辨识。S42: When a recognition module recognizes the image, move a search window in each search area according to the corresponding search interval, so as to detect and recognize the pixel corresponding to the position where the search window moves.

请参阅图5,其为本发明的影像辨识方法的第二流程图,其流程步骤为:Please refer to FIG. 5, which is a second flow chart of the image recognition method of the present invention, and its process steps are:

S51:利用一设定模块将一影像设定区分为若干个搜寻区域,并将各搜寻区域分别设定区分为若干个搜寻方块,各搜寻方块分别包含若干个搜寻单元。S51: Use a setting module to divide an image setting into several search areas, and set and divide each search area into several search blocks, and each search block respectively includes several search units.

S52:利用设定模块对各搜寻方块分别设定一对应的搜寻遮罩。S52: Use the setting module to set a corresponding search mask for each search box.

S53:当一辨识模块对影像进行辨识时,利用各搜寻遮罩来分别对各对应的搜寻方块中的若干个搜寻单元进行选择性地侦测辨识。S53: When a recognition module recognizes the image, use each search mask to selectively detect and recognize several search units in each corresponding search block.

请参阅图6,其为本发明的影像辨识系统及其影像辨识方法的第一实施例的示意图。于此实施例中,具有一影像A,使用者可经由本发明的影像辨识系统对此影像A进行设定,可选择性地将影像A分别设定为第一搜寻区域A1、第二搜寻区域A2、第三搜寻区域A3及第四搜寻区域A4。其中,以上搜寻区域数量及范围大小的设定可不予限定,在此图中仅为示意。使用者可再分别对第一搜寻区域A1、第二搜寻区域A2、第三搜寻区域A3及第四搜寻区域A4分别设定一个对应的搜寻间隔C1、C2、C3及C4。接着,此影像辨识系统便会根据使用者的设定,将一搜寻视窗B分别于第一搜寻区域A1、第二搜寻区域A2、第三搜寻区域A3及第四搜寻区域A4中,依据各所对应的搜寻间隔C1、C2、C3及C4进行移动,并对搜寻视窗B所移动到的像素点进行侦测辨识。如图6所示,第一搜寻区域A1所对应的搜寻间隔C1为横向及纵向分别相距2个像素位置,第二搜寻区域A2所对应的搜寻间隔C2为横向及纵向分别相距3个像素位置,第三搜寻区域A3所对应的搜寻间隔C3为横向及纵向分别相距1个像素位置,而第四搜寻区域A4所对应的搜寻间隔C4则为横向及纵向分别相距2个像素位置。其中,在此搜寻间隔C1、C2、C3及C4的设定仅为一实施例,不以此而有所限制。Please refer to FIG. 6 , which is a schematic diagram of a first embodiment of the image recognition system and its image recognition method of the present invention. In this embodiment, there is an image A, and the user can set the image A through the image recognition system of the present invention, and can selectively set the image A as the first search area A1 and the second search area A2, the third search area A3 and the fourth search area A4. Wherein, the above setting of the number of search areas and the size of the range may not be limited, and this figure is only for illustration. The user can further set a corresponding search interval C1 , C2 , C3 and C4 for the first search area A1 , the second search area A2 , the third search area A3 and the fourth search area A4 respectively. Then, the image recognition system will place a search window B in the first search area A1, the second search area A2, the third search area A3, and the fourth search area A4 according to the settings of the user. The search intervals C1, C2, C3 and C4 are moved, and the pixel point to which the search window B is moved is detected and identified. As shown in FIG. 6 , the search interval C1 corresponding to the first search area A1 is 2 pixel positions in the horizontal and vertical directions respectively, and the search interval C2 corresponding to the second search area A2 is 3 pixel positions in the horizontal and vertical directions respectively, The search interval C3 corresponding to the third search area A3 is 1 pixel position apart horizontally and vertically, and the search interval C4 corresponding to the fourth search area A4 is 2 pixel positions apart horizontally and vertically. Wherein, the setting of the search intervals C1 , C2 , C3 and C4 is just an example, and is not limited thereto.

请参阅图7,其为本发明的影像辨识系统及其影像辨识方法的第二实施例的示意图。于此实施例中,具有一影像D,使用者可经由本发明的影像辨识系统对此影像D进行设定,可选择性地将影像D分别设定为第一搜寻区域D1、第二搜寻区域D2、第三搜寻区域D3及第四搜寻区域D4。使用者还可将各搜寻区域区分为若干个搜寻方块,以第一搜寻区域D1举例而言,使用者可将其区分设定为第一搜寻方块D11、第二搜寻方块D12、第三搜寻方块D13及第四搜寻方块D14。各搜寻方块中进一步包含有若干个搜寻单元,以第一搜寻方块D11举例而言,其包含有九个搜寻单元D111。接着,使用者可进一步地对各搜寻方块设定一个对应的搜寻遮罩,以第一搜寻方块D11举例而言,对其设定一搜寻遮罩E,并于搜寻遮罩E中选择性地设定至少一个搜寻视窗,在此设定了搜寻视窗E1、E2、E3及E4。其中,各搜寻视窗位置的设定可不以此为限定,在此仅为一实施例。在对各搜寻方块设定完其对应的搜寻遮罩后,此影像辨识系统便将利用所设定的各搜寻遮罩,来分别对各对应的搜寻方块中的该些搜寻单元进行选择性地侦测辨识。以第一搜寻方块D11举例而言,第一搜寻方块D11分为九个搜寻单元D111,其对应的搜寻遮罩E也区分为九个区块,部分区块设定了搜寻视窗E1、E2、E3及E4,然而,此影像辨识系统便根据此搜寻遮罩E,来对第一搜寻方块D11进行影像侦测辨识,以辨识对应于搜寻视窗E1、E2、E3及E4位置的搜寻单元D111是否具有特征存在(人物特征等)。Please refer to FIG. 7 , which is a schematic diagram of a second embodiment of the image recognition system and its image recognition method of the present invention. In this embodiment, there is an image D, and the user can set the image D through the image recognition system of the present invention, and can selectively set the image D as the first search area D1 and the second search area D2, the third search area D3 and the fourth search area D4. The user can also divide each search area into several search blocks. Taking the first search area D1 as an example, the user can set the division as the first search block D11, the second search block D12, and the third search block D13 and the fourth search block D14. Each search block further includes several search units, taking the first search block D11 as an example, it includes nine search units D111. Then, the user can further set a corresponding search mask for each search box, take the first search box D11 as an example, set a search mask E for it, and selectively select At least one search window is set, here, the search windows E1, E2, E3 and E4 are set. Wherein, the setting of the position of each search window may not be limited thereto, and this is only an embodiment. After setting the corresponding search masks for each search box, the image recognition system will use the set search masks to selectively select the search units in each corresponding search box Detect and identify. Taking the first search block D11 as an example, the first search block D11 is divided into nine search units D111, and its corresponding search mask E is also divided into nine blocks, some of which are set with search windows E1, E2, E3 and E4, however, the image recognition system then performs image detection and recognition on the first search block D11 according to the search mask E, so as to identify whether the search unit D111 corresponding to the positions of the search windows E1, E2, E3 and E4 is Has a characteristic presence (characteristics, etc.).

上述中,本发明的影像辨识系统及其影像辨识方法,经由对影像进行设定,进而以不同的搜寻间隔或搜寻遮罩来对影像进行侦测辨识,主要就是要提升影像辨识的效率,同时也不失去辨识正确率。让使用者可针对影像中,较有可能出现特征的位置,设定较高的搜寻密度,较不可能出现特征的位置,搜寻密度便可设定降低,如此便可有效地提升影像辨识的效率,如图8所示。图中,影像中的方块若为斜线暗底即为欲侦测辨识点500(可为本发明所述的搜寻视窗)。Among the above, the image recognition system and its image recognition method of the present invention, by setting the image, and then detect and recognize the image with different search intervals or search masks, mainly to improve the efficiency of image recognition, and at the same time The accuracy of recognition is not lost. Allows users to set a higher search density for positions where features are more likely to appear in the image, and for positions where features are less likely to appear, the search density can be set to decrease, which can effectively improve the efficiency of image recognition , as shown in Figure 8. In the figure, if the square in the image has a dark background with oblique lines, it is the identification point 500 to be detected (which may be the search window described in the present invention).

此外,在为各搜寻方块决定搜寻遮罩时,可依据下列两种方式来决定,但此仅为实施范例,不以此为限。In addition, when determining the search mask for each search box, it can be determined according to the following two methods, but this is only an implementation example and is not limited thereto.

方式一:method one:

使用软件设定,软件可依各种需求及不同的应用,选择其要适用的搜寻遮罩。此种方式的变动的弹性大,想要用什么样的搜寻遮罩,就可以预先用软件判断方式准备好要使用的搜寻遮罩。当硬件执行时就会依制作好的搜寻遮罩去进行影像处理,但是此方法需要耗费中央处理器CPU的资源,可依据不同的需求去判断寻求较为符合的搜寻遮罩。Using software settings, the software can select the applicable search mask according to various needs and different applications. The flexibility of this method is large, what kind of search mask you want to use, you can use the software judgment method to prepare the search mask to be used in advance. When the hardware is executed, image processing will be performed according to the prepared search mask, but this method consumes CPU resources of the central processing unit, and a more suitable search mask can be determined according to different needs.

方式二:Method 2:

硬件依照权重(priority)去决定每个3x3搜寻遮罩中哪些像素对应到的搜寻单元(此搜寻单元举例为22x22的一个window,不以此限)需要被处理。例如若我们将第5、1及9像素点设为高权重(即为本发明所述设定的搜寻视窗),当此三点对应的搜寻单元中含有人脸讯息或是其为有重要讯息存在的影像,则接着再处理其余的点所对应的搜寻单元,如图9所示。若此三点(5、1及9)对应的搜寻单元都没有人脸讯息或都不重要,则就不再处理其他在3x3搜寻遮罩对应的点(例如第4、6、2、3、8及7像素点)。当然我们也可以只设定第5像素点这1个像素点为高权重,其他的像素点就依照各别的权重高低进行判断,判断出有重要的讯息时再做处理。这样可以使硬件依照个规则将影像自动地处理完,CPU就不需耗费资源去做判断了。The hardware determines which pixels in each 3x3 search mask correspond to the search unit (the search unit is, for example, a 22x22 window, but not limited thereto) to be processed according to the weight (priority). For example, if we set the 5th, 1st and 9th pixel points as high weight (that is, the search window set according to the present invention), when the search unit corresponding to these three points contains face information or it is important information If there are existing images, the search units corresponding to the remaining points are then processed, as shown in FIG. 9 . If the search units corresponding to these three points (5, 1, and 9) have no face information or are not important, then other points corresponding to the 3x3 search mask (for example, 4, 6, 2, 3, 8 and 7 pixels). Of course, we can also set only one pixel, the fifth pixel, as a high weight, and the other pixels will be judged according to their respective weights, and they will be processed when it is judged that there is important information. In this way, the hardware can automatically process the image according to a rule, and the CPU does not need to consume resources to make judgments.

综合上述,本发明的影像辨识系统及其影像辨识方法,可提供使用者对影像进行设定,并进一步设定所需的辨识模式,可以不同的搜寻间隔或搜寻遮罩来对影像进行侦测辨识,如此一来,可有效地提升影像辨识的效率,也可同时兼顾侦测辨识时的品质。To sum up the above, the image recognition system and its image recognition method of the present invention can provide users with settings for images, and further set the required recognition mode, and can detect images at different search intervals or search masks Recognition, in this way, can effectively improve the efficiency of image recognition, and can also take into account the quality of detection and recognition at the same time.

以上所述仅为举例性,而非为限制性者。任何未脱离本发明的精神与范畴,而对其进行的等效修改或变更,均应包含于后附的权利要求范围中。The above descriptions are illustrative only, not restrictive. Any equivalent modifications or changes made without departing from the spirit and scope of the present invention shall be included in the scope of the appended claims.

Claims (9)

1.一种影像辨识系统,其特征在于,它包含:1. An image recognition system, characterized in that it comprises: 设定模块,将影像设定区分为若干个搜寻区域,并选择性地对各该搜寻区域分别设定搜寻间隔;以及a setting module, which divides the image setting into several search areas, and selectively sets the search interval for each of the search areas; and 辨识模块,连接该设定模块,当该辨识模块于第一辨识模式下对该影像进行辨识时,使搜寻视窗于各该搜寻区域中依据所对应的该搜寻间隔进行移动,以对该搜寻视窗移动到的位置所对应的像素点进行侦测辨识;The identification module is connected to the setting module. When the identification module identifies the image in the first identification mode, the search window is moved in each search area according to the corresponding search interval, so that the search window The pixels corresponding to the moved position are detected and identified; 其中,该设定模块还选择性地将各该搜寻区域分别设定区分为若干个搜寻方块,且各该搜寻方块分别包含有若干个搜寻单元,该设定模块并对各该搜寻方块分别设定一对应的搜寻遮罩,使该辨识模块于第二辨识模式下对该影像进行辨识时,利用各该搜寻遮罩来分别对各对应的该搜寻方块中的该些搜寻单元进行选择性地侦测辨识。Wherein, the setting module also selectively divides each of the search areas into several search boxes, and each of the search boxes contains a number of search units, and the setting module sets each of the search boxes respectively. Determining a corresponding search mask, so that when the recognition module recognizes the image in the second recognition mode, each search mask is used to selectively select the search units in each corresponding search box Detect and identify. 2.如权利要求1所述的影像辨识系统,其特征在于,该设定模块提供使用者活动性地分别设定各该搜寻区域的范围大小及各对应的该搜寻间隔的区间。2 . The image recognition system according to claim 1 , wherein the setting module allows the user to dynamically set the range size of each of the search areas and the corresponding interval of the search interval. 3.如权利要求1所述的影像辨识系统,其特征在于,该设定模块还对各该搜寻遮罩分别设定包含至少一个该搜寻视窗,使该辨识模块以各该搜寻遮罩来对各对应的该搜寻方块执行影像侦测时,仅对各该搜寻方块中对应于该搜寻视窗的该搜寻单元的像素点进行侦测辨识。3. The image recognition system according to claim 1, wherein the setting module further sets each of the search masks to include at least one search window, so that the recognition module uses each of the search masks to When each corresponding search block performs image detection, only the pixel points corresponding to the search unit of the search window in each search block are detected and identified. 4.如权利要求3所述的影像辨识系统,其特征在于,该设定模块提供使用者活动性地分别设定各该搜寻方块的范围大小,以进而决定各该搜寻方块所对应的该搜寻单元的数量,并提供使用者活动性地分别设定各该搜寻遮罩中所包含该搜寻视窗的数量。4. The image recognition system according to claim 3, wherein the setting module allows the user to dynamically set the range size of each of the search boxes, so as to further determine the search corresponding to each of the search boxes. The number of units, and provide the user with the flexibility to separately set the number of the search windows included in each of the search masks. 5.如权利要求1所述的影像辨识系统,其特征在于,该设定模块提供使用者选择设定该辨识模块是以该第一辨识模式或该二辨识模式进行辨识。5 . The image recognition system according to claim 1 , wherein the setting module provides users with options to set the recognition module to perform recognition in the first recognition mode or in the second recognition mode. 6 . 6.一种影像辨识方法,其特征在于,包含下列步骤:6. An image recognition method, characterized in that it comprises the following steps: 利用设定模块将影像设定区分为若干个搜寻区域,并对各该搜寻区域分别设定搜寻间隔;以及Use the setting module to divide the image setting into several search areas, and set the search interval for each search area; and 当辨识模块对该影像进行辨识时,使搜寻视窗于各该搜寻区域中依据所对应的该搜寻间隔进行移动,以对该搜寻视窗移动到的位置所对应的像素点进行侦测辨识;When the identification module identifies the image, the search window is moved in each of the search areas according to the corresponding search interval, so as to detect and identify the pixel corresponding to the position to which the search window moves; 其中,还经由该设定模块让使用者分别设定各该搜寻区域中横向的该搜寻间隔及纵向的该搜寻间隔。Wherein, the user is also allowed to respectively set the horizontal search interval and the vertical search interval in each of the search areas through the setting module. 7.一种影像辨识方法,其特征在于,包含下列步骤:7. An image recognition method, characterized in that it comprises the following steps: 利用设定模块将影像设定区分为若干个搜寻区域,并将各该搜寻区域分别设定区分为若干个搜寻方块,各该搜寻方块分别包含若干个搜寻单元;Use the setting module to divide the image setting into several search areas, and divide each of the search areas into several search boxes, and each of the search boxes includes several search units; 利用该设定模块对各该搜寻方块分别设定对应的搜寻遮罩;以及using the setting module to set a corresponding search mask for each of the search boxes; and 当辨识模块对该影像进行辨识时,利用各该搜寻遮罩来分别对各对应的该搜寻方块中的该些搜寻单元进行选择性地侦测辨识。When the identification module identifies the image, each of the search masks is used to selectively detect and identify the search units in the corresponding search blocks. 8.如权利要求7所述的影像辨识方法,其特征在于,还包含下列步骤:8. The image recognition method according to claim 7, further comprising the following steps: 利用该设定模块对各该搜寻遮罩分别设定包含至少一搜寻视窗,使该辨识模块以各该搜寻遮罩来对各对应的该搜寻方块执行影像侦测时,仅对各该搜寻方块中有对应于该搜寻视窗的该搜寻单元的像素点进行侦测辨识。Use the setting module to set at least one search window for each of the search masks, so that when the identification module uses each of the search masks to perform image detection on each of the corresponding search boxes, only for each of the search boxes The pixel points corresponding to the search unit in the search window are detected and identified. 9.如权利要求8所述的影像辨识方法,其特征在于,还包含下列步骤:9. The image recognition method according to claim 8, further comprising the following steps: 提供该设定模块让使用者活动性地分别设定各该搜寻方块的范围大小,以进而决定各该搜寻方块所对应的该搜寻单元的数量,并提供使用者活动性地分别设定各该搜寻遮罩中所包含该搜寻视窗的数量。The setting module is provided to allow users to dynamically set the range size of each of the search boxes, so as to further determine the number of the search units corresponding to each of the search boxes, and provide the user to actively set each of the search boxes The number of search windows to include in the search mask.
CN201210276146.XA 2012-08-03 2012-08-03 Image recognition system and image recognition method thereof Active CN103577797B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210276146.XA CN103577797B (en) 2012-08-03 2012-08-03 Image recognition system and image recognition method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210276146.XA CN103577797B (en) 2012-08-03 2012-08-03 Image recognition system and image recognition method thereof

Publications (2)

Publication Number Publication Date
CN103577797A CN103577797A (en) 2014-02-12
CN103577797B true CN103577797B (en) 2016-08-24

Family

ID=50049552

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210276146.XA Active CN103577797B (en) 2012-08-03 2012-08-03 Image recognition system and image recognition method thereof

Country Status (1)

Country Link
CN (1) CN103577797B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107680118B (en) * 2017-08-29 2020-10-20 苏州佳世达光电有限公司 Image identification tracking method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4590717B2 (en) * 2000-11-17 2010-12-01 ソニー株式会社 Face identification device and face identification method
TW201224955A (en) * 2010-12-15 2012-06-16 Ind Tech Res Inst System and method for face detection using face region location and size predictions and computer program product thereof

Also Published As

Publication number Publication date
CN103577797A (en) 2014-02-12

Similar Documents

Publication Publication Date Title
CN110866496B (en) Robot positioning and mapping method and device based on depth image
US11861919B2 (en) Text recognition method and device, and electronic device
KR102401617B1 (en) Dynamic gradual degradation of augmented reality effects
TW201915816A (en) QR code positioning method and apparatus
WO2019222889A1 (en) Image feature extraction method and device
WO2018049801A1 (en) Depth map-based heuristic finger detection method
CN109919002B (en) Yellow stop line identification method and device, computer equipment and storage medium
CN112966654B (en) Lip movement detection method, device, terminal equipment and computer-readable storage medium
CN103577797B (en) Image recognition system and image recognition method thereof
CN105338236A (en) Method and apparatus for detecting object in image and electronic device
CN112101139B (en) Human shape detection method, device, equipment and storage medium
US20200286246A1 (en) Fingertip detection method, fingertip detection device, and medium
CN105096355A (en) Image processing method and system
CN110989880B (en) Interface element processing method and device and readable storage medium
CN101727668B (en) Method and device for detecting image boundary
JP6365117B2 (en) Information processing apparatus, image determination method, and program
CN104461197B (en) A kind of Rapid Screen Multiresidue Method for Determination of large scale capacitance touching control film
US20160357822A1 (en) Using locations to define moments
CN116385538A (en) A dynamic scene-oriented visual SLAM method, system and storage medium
TWI466036B (en) Image identification system and image identification method thereof
KR20250004031A (en) Vehicle license plate recognition method, device, terminal and computer-readable storage medium
CN115456983A (en) Water surface floater detection method, system, equipment and medium
CN115601319A (en) PCB surface defect detection method and device based on sample and feature equalization
CN108734164A (en) Card, identification card method, paint this reading machine people and storage device
CN104732188B (en) Text Extraction and device

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
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20161222

Address after: China Taiwan Hsinchu Science Park Hsinchu City Road No. 12 5 floor

Patentee after: Glomerocryst semiconductor limited company

Address before: China Taiwan Hsinchu Science Park Hsinchu City Road No. 12

Patentee before: Huajing Science & Technology Co., Ltd.