Image recognition method and image recognition device
By generating a restored image from image features detected in a specific image, and determining its consistency with the input image through matching processing, the problem of misrecognition caused by multiple identical image features in the prior art is solved, and high-accuracy specific images are achieved. Image recognition.
Patent Information
- Application Number
- CN202080031205.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-07-12
- Filing Date
- 2020-04-17
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-04-17
AI Technical Summary
In the existing technology, it is difficult to identify a specific image with high accuracy due to misrecognition problems caused by multiple identical image features in image recognition.
A restored image is generated by using multiple image features detected from a specific image, and the consistency between the restored image and the input image is determined through matching processing to identify whether it is a specific image. The method includes detecting multiple image features from an input image, selecting components corresponding to a specific image, generating a restored image, and determining its consistency with the input image through matching processing.
It achieves high-accuracy specific image recognition, avoids misrecognition, can efficiently generate restored images, and improves the accuracy of image recognition.
Smart Images

Figure CN113728356B_ABST
Abstract
Description
Technical Field
[0001] One aspect of the present invention relates to an image recognition method and an image recognition device. Background Art
[0002] As a technology related to an image recognition method for recognizing a specific image, for example, there is known an information processing device described in Patent Document 1. The information processing device described in Patent Document 1 extracts a partial image from an input image and compares the extracted partial image with a registered partial image to determine whether they are similar.
[0003] Patent Document 1: Japanese Patent No. 5082512
[0004] In the above-mentioned technology, image recognition is performed based on whether or not it contains various image features of a specific image. Therefore, even if an image can be easily distinguished as an image different from a specific image by human visual observation, if it contains multiple identical image features, there is a possibility that it will be mistakenly recognized as a specific image. Summary of the invention
[0005] An object of one aspect of the present invention is to provide an image recognition method and an image recognition device capable of recognizing a specific image with high accuracy.
[0006] An image recognition method according to one aspect of the present invention is a method for recognizing a specific image, comprising the following steps: a first step of detecting a plurality of image features from a specific image and storing each of the plurality of detected image features as a component in a memory; a second step of detecting a plurality of image features from an input image and selecting from the memory a component corresponding to each of the plurality of detected image features; a third step of generating a restored image using the plurality of components selected in the second step; and a fourth step of determining whether the restored image generated in the third step is consistent with the input image through a matching process, and if it is determined that the restored image is consistent with the input image, identifying the input image as a specific image.
[0007] In this image recognition method, when generating a restored image, components detected from a specific image are used. Therefore, when an input image other than the specific image is input as an input image, the input image cannot be correctly generated as a restored image. Therefore, by determining whether the input image and the restored image are consistent, it is possible to determine with high accuracy whether the input image and the specific image are consistent or inconsistent (whether the input image is the specific image or other than the specific image). That is, the specific image can be recognized with high accuracy.
[0008] In the image recognition method of one aspect of the present invention, in the first step, a component label may be assigned as a label to each of the plurality of components, and the component label may be stored in a memory together with the component, and in the second step, a selection label may be assigned as a label to each of the plurality of image features, and a component having a component label that matches the selection label may be selected. Thus, the generation process of the restored image can be efficiently performed.
[0009] In the image recognition method of one aspect of the present invention, the second step may also include an image extraction step of extracting an input image from a captured image as a distance image, and in the image extraction step, a point group whose depth distance in the captured image is within a predetermined range may be taken as an object, and an image of the object in the captured image may be extracted as an input image. Thus, the input image can be generated from the captured image.
[0010] In the image recognition method of one aspect of the present invention, the feature strength of each of the plurality of image features may be detected in the second step, and the restored image may be generated in the third step using the plurality of feature strengths detected in the second step. Thus, the restored image can be generated with high accuracy.
[0011] In the image recognition method of one aspect of the present invention, the specific image may be an image of at least a portion of a vehicle body of a traveling vehicle traveling along a predetermined traveling route. In this case, the image recognition method of one aspect of the present invention can be applied to image recognition of a vehicle body of a traveling vehicle.
[0012] An image recognition device according to one aspect of the present invention is a device for recognizing a specific image, comprising: a memory which pre-stores each of a plurality of image features detected from a specific image as a component; a feature detection unit which detects a plurality of image features from an input image; a restoration unit which selects from the memory components corresponding to each of the plurality of image features detected by the feature detection unit, and generates a restored image using the selected plurality of components; and a determination unit which determines, through a matching process, whether the restored image generated by the restoration unit is consistent with the input image, and identifies the input image as a specific image when it is determined that the restored image is consistent with the input image.
[0013] In this image recognition device, when generating a restored image, the components detected from the specific image are used. Therefore, when an input image other than the specific image is input as an input image, the input image cannot be correctly generated as a restored image. Therefore, by determining whether the input image is consistent with the restored image, it is possible to determine with high accuracy whether the input image is consistent with the specific image or not (whether the input image is the specific image or other than the specific image). That is, the specific image can be recognized with high accuracy.
[0014] In an image recognition device according to one aspect of the present invention, the memory may store the labels assigned to each of the plurality of components as component labels together with the components in advance, the feature detection unit may assign a selection label as a label to each of the plurality of image features, and the restoration unit may select the component having the component label that matches the selection label. Thus, the generation process of the restored image can be efficiently performed.
[0015] The image recognition device of one aspect of the present invention may also include an image extraction unit that extracts an input image from a captured image as a distance image, and the image extraction unit may also take a point group within a predetermined depth range in the captured image as an object and extract an image of the object in the captured image as an input image. Thus, the input image can be generated from the captured image.
[0016] In the image recognition device according to one aspect of the present invention, the feature detection unit may detect feature strengths of each of a plurality of image features, and the restoration unit may generate a restored image using the plurality of feature strengths detected by the feature detection unit. Thus, a restored image can be generated with high accuracy.
[0017] In the image recognition device of one aspect of the present invention, the specific image may be an image of at least a portion of a vehicle body traveling along a predetermined travel path. In this case, the image recognition device of one aspect of the present invention can be applied to image recognition of a vehicle body.
[0018] According to one aspect of the present invention, it is possible to provide an image recognition method and an image recognition device capable of recognizing a specific image with high accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 This is a schematic top view showing a traveling vehicle system to which an image recognition device according to one embodiment is applied.
[0020] Figure 2 Observed from the direction of travel Figure 1 A simplified front view of a moving vehicle.
[0021] Figure 3 Yes means Figure 1 Block diagram of the functional structure of the driving vehicle system.
[0022] Figure 4 It is explained by Figure 3 A diagram showing an example in which a feature detection unit of an image recognition device detects a plurality of image features from an input image.
[0023] Figure 5 It is explained by Figure 3 A diagram showing an example of a restored image generated by a restoration unit of an image recognition device.
[0024] Figure 6 Detailed description of the invention is given in the following figure.
[0025] Figure 7 (a) is a diagram showing an example of a captured image. Figure 7 (b) is a diagram showing an example of depth distance data.
[0026] Figure 8 (a) is a diagram showing an example of an input image. Figure 8 (b) means from Figure 8 (a) is a diagram of a restored image restored from the input image.
[0027] Fig. 9 (a) is a diagram showing an example of an input image. Fig. 9 (b) means from Fig. 9 (a) is a diagram of a restored image restored from the input image.
[0028] Fig.10 (a) is a diagram showing an example of an input image. Fig.10 (b) means from Fig.10 (a) is a diagram of a restored image restored from the input image. Fig.10 (c) is a diagram showing an example of an input image. Fig.10 (d) means from Fig.10 (c) is a diagram of a restored image restored from the input image. Fig.10 (e) is a diagram showing an example of an input image.
[0029] Fig.10 (f) means from Fig.10 (e) is a diagram of a restored image restored from the input image.
[0030] Fig.10 (g) is a diagram showing an example of an input image. Fig.10 (h) means from Fig.10 (g) is a diagram of a restored image restored from the input image. Fig.10 (i) is a diagram showing an example of an input image. Fig.10 The (j) indicates that Fig.10 Figure 3 is a diagram of a restored image restored from the input image (i). DETAILED DESCRIPTION
[0031] Hereinafter, one embodiment will be described in detail with reference to the drawings. In the following description, the same reference numerals are attached to the same or corresponding elements, and repeated descriptions are omitted.
[0032] The image recognition device of this embodiment is applied to a traveling vehicle system. Therefore, first, the traveling vehicle system is described. Figure 1 As shown, the vehicle system 1 is a system that uses a vehicle 6 that can move along a track 4 to transport articles 10 between loading sections 9, 9. Articles 10 include, for example, containers such as FOUPs (Front Opening Unified Pods) that store multiple semiconductor wafers and scriber boxes that store glass substrates, as well as general parts. The vehicle system 1 includes: a track 4, a plurality of vehicles 6, a plurality of loading sections 9, and a system control unit 60.
[0033] like Figure 2 As shown, the rail 4 is laid, for example, above the head space of workers in a factory, that is, near the ceiling. The rail 4 is, for example, suspended from the ceiling. The rail 4 is a predetermined travel path for the traveling vehicle 6 to travel. The rail 4 is, for example, a one-way travel path. The rail 4 is supported by pillars 40, 40.
[0034] The vehicle 6 travels along the track 4 to transport the article 10. The vehicle 6 is configured to be able to transfer the article 10. The vehicle 6 is a ceiling-traveling unmanned transport vehicle (overhead crane). The number of vehicles 6 that the vehicle system 1 has is not particularly limited, and may be a plurality. Figure 2 As shown in FIG. 1 , the traveling vehicle 6 has a vehicle body 2. The vehicle body 2 includes a traveling unit 18, a main body 7, a camera unit 8, and a traveling vehicle control unit 50 (see FIG. 1 ). Figure 3 ).
[0035] The main body 7 includes a main frame 22, a lateral conveying unit 24, a θ driver 26, a lifting drive unit 28, a lifting platform 30, and a fall prevention cover 33. The travel unit 18 includes a motor and the like, and causes the travel vehicle 6 to travel along the track 4. The travel unit 18 includes a power receiving communication unit 20 that receives power from the track 4 side by, for example, contactless power supply.
[0036] The lateral conveying unit 24 uniformly conveys the θ driver 26, the lifting driver 28, and the lifting platform 30 in a lateral direction perpendicular to the traveling direction of the track 4. The θ driver 26 rotates at least one of the lifting driver 28 and the lifting platform 30 within a predetermined angle range in a horizontal plane. The lifting driver 28 raises and lowers the lifting platform 30 by winding or releasing a slinging material such as a wire rope, a rope, or a belt. A chuck is provided on the lifting platform 30, which can hold or release the article 10. A pair of drop prevention covers 33 are provided, for example, in front and behind the traveling direction of the traveling vehicle 6. The drop prevention covers 33 extend and retract claws, etc., not shown in the figure, to prevent the article 10 from falling during transportation.
[0037] like Figure 1 as well as Figure 2As shown, the loading portion 9 is arranged along the track 4 and is set at a position where the article 10 can be delivered between it and the traveling vehicle 6. The loading portion 9 includes a buffer and a delivery port. The buffer is a loading portion for temporarily loading the article 10. The buffer is a loading portion for temporarily placing the article 10 when the article 10 transported by the traveling vehicle 6 cannot be loaded on the delivery port as the destination, for example, because other articles 10 are loaded on the delivery port. The delivery port is a loading portion for delivering the article 10 to a semiconductor processing device represented by, for example, a cleaning device, a film forming device, a photolithography device, an etching device, a heat treatment device, and a flattening device. For example, the loading portion 9 is arranged on the side of the track 4. In addition, the loading portion 9 can also be arranged directly below the track 4.
[0038] The photographing unit 8 photographs the front of its own traveling vehicle 6, and obtains a photographed image of the traveling vehicle 6 located in front of its own traveling vehicle 6. The photographed image here is a distance image. The photographing unit 8 is arranged on the anti-fall cover 33 provided on the front side of the traveling vehicle 6. The photographing unit 8 sends the photographed image to the traveling vehicle control unit 50. The photographing unit 8 is not particularly limited, and various well-known devices may be used. For example, the photographing unit 8 may also obtain a distance image in a stereoscopic manner. In addition, the distance image is also called a three-dimensional distance image or an image with three-dimensional information.
[0039] like Figure 2 as well as Figure 3 As shown, the vehicle control unit 50 is an electronic control unit composed of a CPU (Central Processing Unit), a ROM (Read Only Memory), and a RAM (Random Access Memory). The vehicle control unit 50 controls various actions of the vehicle 6. Specifically, the vehicle control unit 50 controls the travel unit 18, the lateral conveying unit 24, the θ driver 26, the lifting drive unit 28, and the lifting platform 30. The vehicle control unit 50 can be configured as software in which a program stored in the ROM is loaded on the RAM and executed by the CPU. The vehicle control unit 50 can also be configured as hardware (computer) based on electronic circuits, etc. The vehicle control unit 50 communicates with the system control unit 60 using the communication line (feeder) of the track 4, etc.
[0040] The system control unit 60 is an electronic control unit composed of a CPU, a ROM, and a RAM. The system control unit 60 can be configured as software that loads a program stored in the ROM into the RAM and is executed by the CPU. The system control unit 60 can also be configured as hardware (computer) based on an electronic circuit, etc. The system control unit 60 sends a conveying instruction for conveying an article 10 to the traveling vehicle 6. The system control unit 60 of this embodiment constitutes an image recognition device 100. The image recognition device 100 is described below. The image recognition device 100 can also be set on the traveling vehicle 6.
[0041] The image recognition device 100 is a device for recognizing a specific image as a specific image. As an example, the specific image is an image of the vehicle body 2 of the traveling vehicle 6. The image recognition device 100 includes a memory M, an image extraction unit 61, a feature detection unit 62, a restoration unit 63, and a determination unit 64.
[0042] The memory M stores each of the plurality of image features detected (extracted) from the specific image as a component in advance. The method for detecting the plurality of image features from the specific image is not particularly limited, and various known methods can be used. For example, the specific image can also be passed through an image filter to detect the plurality of image features. The memory M stores the labels assigned to each of the plurality of components as component labels together with the components in advance. The components function as seeds for image restoration performed by the restoration unit 63 as described later.
[0043] Image features are features that constitute an image, and are also called feature quantities or feature points of an image. Multiple components can also be acquired using a learning model (AI; artificial intelligence) obtained by deep learning using the L2 norm. A label represents information used to identify an object. Labels are not particularly limited, and may be numbers, for example.
[0044] The image extraction unit 61 extracts an input image from a captured image. Specifically, the image extraction unit 61 takes a point group (a block of points with similar distances) in the captured image whose depth distance is within a specified range as an object (object candidate). The image extraction unit 61 extracts the image of the object in the captured image as an input image. The specified range is not particularly limited and can be set in advance. The extraction of the input image from the captured image can also be performed using a learned model (AI; artificial intelligence) obtained by deep learning, such as YoloV3.
[0045] The feature detection unit 62 detects a plurality of image features from an input image. The method for detecting a plurality of image features from an input image is not particularly limited, and various known methods can be used. For example, the feature detection unit 62 may also pass the input image through an image filter to detect a plurality of image features. The feature detection unit 62 assigns a selection label to each of the plurality of image features as a label. The feature detection unit 62 detects the feature strength of each of the plurality of image features. The feature strength is an indicator indicating the strength of the image feature in relation to the input image. The feature strength can indicate the degree of contribution of the image feature in the input image.
[0046] The restoration unit 63 selects components corresponding to each of the plurality of image features detected by the feature detection unit 62 from the memory M. The restoration unit 63 selects components having component labels that are consistent with the labels for selecting the plurality of image features detected by the feature detection unit 62 from the memory M. The restoration unit 63 generates a restored image using the selected plurality of components. The restoration unit 63 also generates a restored image using the feature intensities of the plurality of image features detected by the feature detection unit 62. There is no particular limitation on the method for generating a restored image using the plurality of components, and various known methods, such as an autoencoder composed of a deep neural network, can be used.
[0047] The determination unit 64 determines whether the restored image generated by the restoration unit 63 is consistent with the input image through matching processing. When the determination unit 64 determines that the restored image is consistent with the input image, it recognizes that the input image is a specific image. The matching processing is not particularly limited, and various well-known methods such as L2 norm can be used. The determination unit 64 may also calculate the similarity of the restored image to the input image, and when the similarity is greater than a threshold value, it determines that the restored image is consistent with the input image.
[0048] Next, refer to Figure 4 An example in which the feature detection unit 62 detects a plurality of image features from an input image will be described.
[0049] like Figure 4 As shown, in the description here, for convenience, an image of the "number 7" is used as the input image. A plurality of image features are detected from the input image I1 by the feature detection unit 62. In the example shown in the figure, an image feature G1 with a selection label LS of "20", an image feature G2 with a selection label LS of "27", an image feature G3 with a selection label LS of "51", and an image feature G4 with a selection label LS of "58" are detected. And, they are obtained as the detection result H of the image feature. In the detection result H of the image feature, the feature intensity of each of the image features G1 to G4 is expressed as brightness. In this way, a plurality of image features G1 to G4 can be mechanically detected from the input image I1.
[0050] Next, refer to Figure 5 An example of restoring an image by the restoration unit 63 based on the plurality of image features G1 to G4 will be described.
[0051] like Figure 5 As shown, the restoration unit 63 selects the image features G1 to G4 (see FIG. 1 ) corresponding to the plurality of image features G1 to G4 from the memory M based on the detection result H of the image features. Figure 4 ) of the component label LP that matches the selected label LS. The restoration unit 63 generates the restored image O1 using the selected plurality of components P1 to P4. In this way, the restored image O1 can be restored from the plurality of image features G1 to G4.
[0052] Next, an image recognition method implemented by the image recognition device 100 will be described.
[0053] Image recognition methods are methods for identifying specific images. Figure 6 As shown, first, a plurality of image features are detected from a specific image, and each of the detected plurality of image features is stored as a component in a memory M (storage process: step S1). In the storage process, component labels are assigned to the plurality of components as labels, and the component labels are stored in the memory M together with the components.
[0054] Next, the image extraction unit 61 extracts an input image from the captured image obtained by the imaging unit 8 (image extraction process: step S2). In the image extraction process, a point group within a predetermined depth range in the captured image is taken as an object, and an image of the object in the captured image is extracted as an input image.
[0055] Next, the feature detection unit 62 detects a plurality of image features from the input image extracted by the image extraction process (image feature detection process: step S3). In the image feature detection process, a selection label is assigned to each of the plurality of image features as a label. In the image feature detection process, the feature strength of each of the plurality of image features is detected.
[0056] Next, the restoration unit 63 selects components corresponding to the plurality of image features detected in the image feature detection step from the memory M (component selection step: step S4). In the component selection step, components having component labels that match the selection label are selected.
[0057] Next, the restoration unit 63 generates a restored image using the multiple components selected in the component selection process (restoration process: step S5). In the restoration process, the restored image is also generated using the multiple feature intensities detected in the image feature detection process. Finally, the determination unit 64 determines whether the restored image generated in the restoration process is consistent with the input image through matching processing (determination process: step S6). In the determination process, if it is determined that the restored image is consistent with the input image, the input image is identified as a specific image.
[0058] In the above, the storage step constitutes the first step, the image extraction step, the image feature detection step and the component selection step constitute the second step, the restoration step constitutes the third step, and the determination step constitutes the fourth step.
[0059] Next, an example of a case where a specific image is recognized by the above-mentioned image recognition method will be described. Hereinafter, an example of a case where the vehicle body 2 of the traveling vehicle 6 is recognized as a specific image will be described.
[0060] like Figure 7 As shown in (a) of FIG. 1 , the imaging unit 8 obtains an image K1 including the traveling vehicle 6 located in front of the traveling vehicle 6 itself. Figure 7 As shown in (b), the image extraction unit 61 calculates the depth distance data K2 in the captured image K1, and the point group within the specified depth distance range is regarded as the object OB. Figure 7 (a) and Figure 8 As shown in (a) of FIG. 1 , the image of the object OB in the captured image K1 is extracted as the input image I2 .
[0061] like Figure 8 As shown in (b), the feature detection unit 62 detects multiple image features from the input image I2, and the restoration unit 63 generates the restored image O2. The determination unit 64 determines whether the restored image O2 is consistent with the input image I2 by matching processing. Figure 8 (a) and Figure 8 In the example shown in (b), it is determined that the restored image O2 is consistent with the input image I2 (the similarity is greater than or equal to the threshold value), and the input image I2 is recognized as a specific image (an image of the vehicle body 2 of the traveling vehicle 6).
[0062] On the other hand, Fig. 9 As shown in (a) of FIG. 1 , when an image other than the vehicle body 2 of the traveling vehicle 6 (for example, an image of the user's body, etc.) is input as the input image I3, as shown in FIG. Fig. 9As shown in (b), the restored image O3 generated by the restoration unit 63 is not an image of the restored input image I3, and has significant image damage and blur. Therefore, in this example, it is determined that the restored image O2 is inconsistent with the input image I2 (the similarity is less than the threshold value), and the input image I3 is not recognized as a specific image (the image of the vehicle body 2 of the traveling vehicle 6).
[0063] Fig.10 (a)~ Fig.10 (j) is a diagram for explaining the robustness of the feature detection unit 62 and the restoration unit 63 to noise. According to the image recognition device 100 and the image recognition method thereof, the feature detection unit 62 can detect the input image I4 (refer to Fig.10 (a)) detects multiple image features, and can generate a restored image O4 (see Fig.10 (b)). The feature detection unit 62 can detect the input image I5 (refer to Fig.10 (c)) detects multiple image features, and can generate a restored image O5 (refer to Fig.10 (d)). The feature detection unit 62 can detect the input image I6 (refer to Fig.10 (e)) detects multiple image features, and can generate a restored image O6 (refer to Fig.10 (f)). The feature detection unit 62 can detect the input image I7 (refer to Fig.10 (g)) detects multiple image features, and can generate a restored image O7 (refer to Fig.10 (h)). The feature detection unit 62 can detect the input image I8 (refer to Fig.10 (i)) detects multiple image features, and can generate a restored image O8 (refer to Fig.10 Based on the above results, according to the image recognition device 100 and the image recognition method thereof, even if the input images I4 to I8 have noise, it is possible to confirm that they have the ability to capture features and generate restored images O4 to O8 with high accuracy.
[0064] As described above, in the image recognition device 100 and the image recognition method thereof, components detected from a specific image are used when generating a restored image. Therefore, the image is restored using the patterns shown in (i), (ii), and (iii) below.
[0065] (i) When a specific image is an input image, the input image is restored with high accuracy as a restored image.
[0066] (ii) When an input image other than a specific image is input, the input image and the restored image do not match.
[0067] (iii) In particular, when an incorrect image having image features of a specific image but not being a specific image is input as an input image, the input image and the restored image do not match, and the specific image is restored as the restored image.
[0068] Therefore, according to the image recognition device 100 and its image recognition method, it is determined whether the input images I1 to I8 are consistent with the restored images O1 to O8, so that it is possible to determine with high accuracy whether the input images I1 to I8 are consistent with the specific image or not (whether the input images I1 to I8 are specific images or other than specific images). In other words, it is possible to recognize the specific image with high accuracy. If the input images I1 to I8 satisfy the image features of the specific image, they are only determined to be specific images. In the above-mentioned case (iii), misrecognition may occur, but the image recognition device 100 and its image recognition method can avoid such misrecognition.
[0069] In the image recognition device 100 and the image recognition method thereof, component labels LP are assigned to each of the plurality of components P1 to P4 as labels, and the component labels LP are stored together with the components P1 to P4 in the memory M. Selection labels LS are assigned to each of the plurality of image features G1 to G4 as labels, and the components P1 to P4 having component labels LP that match the selection labels LS are selected. In this way, the generation process of the restored images O1 to O8 can be efficiently performed.
[0070] In the image recognition device 100 and the image recognition method thereof, an input image I2 is extracted from a captured image K1 as a distance image. Specifically, a point group within a predetermined depth range in the captured image K1 is taken as an object OB, and an image of the object OB in the captured image K1 is extracted as the input image I2. Thus, the input image I2 can be generated from the captured image K1.
[0071] In the image recognition device 100 and the image recognition method thereof, the feature strength of each of the plurality of image features G1 to G4 is detected, and the restored images O1 to O8 are generated using the detected plurality of feature strengths. Thus, the restored images O1 to O8 can be generated with high accuracy.
[0072] In the image recognition device 100 and the image recognition method thereof, the specific image is an image of the vehicle body 2 of the traveling vehicle 6. In this case, the image recognition device 100 and the image recognition method thereof can be applied to image recognition of the vehicle body 2 of the traveling vehicle 6. In addition, the specific image may be an image of the entire vehicle body 2 of the traveling vehicle 6 or an image of at least a portion of the vehicle body 2 of the traveling vehicle 6.
[0073] Although one embodiment has been described above, one embodiment of the present invention is not limited to the above embodiment, and various modifications can be made without departing from the spirit of the invention.
[0074] In the above embodiment, although the image recognition device 100 is applied to the traveling vehicle system 1 to recognize the vehicle body 2 of the traveling vehicle 6, the image recognition device 100 can also be applied to various other devices or systems, and the images of various objects can be used as specific images. For example, the image recognition device 100 can also be applied to an automatic winder to use the image of the wound package as a specific image. For example, the image recognition device 100 can also be applied to a lathe to use the image of a qualified processed product as a specific image, thereby determining the quality of the processed product. For example, the image recognition device 100 can also be applied to extract a specific image area from an image read by a scanner.
[0075] In the above embodiment, the input image is extracted from the captured image as the range image, but such an image extraction step and the image extraction unit 61 may be omitted. For example, a general single-lens reflex camera may be used as the capture unit 8. The input image may be a range image or a two-dimensional image.
[0076] In the vehicle system 1 of the above-described embodiment and modified example, an overhead crane is described as an example of the vehicle 6 . Other examples of the vehicle 6 include unmanned vehicles and tower cranes that travel on rails installed on the ground or on a platform.
[0077] Description of Reference Numerals
[0078] 2…vehicle body, 4…track (driving path), 6…traveling vehicle, 61…image extraction unit, 62…feature detection unit, 63…restoration unit, 64…judgment unit, 100…image recognition device, G1~G4…image features, I1~I8…input image, K1…captured image, LS…selection label, LP…component label, M…memory, O1~O8…restored image, OB…object, P1~P4…component.
Claims
1. An image recognition method, which is a method for recognizing a specific image, comprising the following steps: A first step of detecting a plurality of image features from the specific image, and storing each of the plurality of image features detected from the specific image as a component in a memory; A second step of detecting a plurality of image features from an input image and selecting from the memory the components corresponding to each of the plurality of image features detected from the input image; A third step of generating a restored image using the plurality of components selected in the second step; and A fourth step is to determine whether the restored image generated in the third step is consistent with the input image through matching processing, and if it is determined that the restored image is consistent with the input image, recognize that the input image is the specific image.
2. The image recognition method according to claim 1, wherein: In the first step, a component label is assigned to each of the plurality of components, and the component label is stored in the memory together with the component. In the second step, a selection label is assigned to each of the plurality of image features detected from the input image, and the component having the component label that matches the selection label is selected.
3. The image recognition method according to claim 1 or 2, wherein: The second step includes an image extraction step of extracting an input image from a captured image as a range image. In the image extraction step, a point group having a depth distance within a predetermined range in the captured image is taken as a target, and an image of the target in the captured image is extracted as the input image.
4. The image recognition method according to claim 1 or 2, wherein: In the second step, the feature strength of each of the plurality of image features detected from the input image is detected. In the third step, the restored image is generated by further using the plurality of feature intensities detected in the second step.
5. The image recognition method according to claim 1 or 2, wherein: The specific image is an image of at least a portion of a vehicle body of a traveling vehicle traveling along a predetermined traveling route.
6. An image recognition device, which is a device for recognizing a specific image, comprising: a memory that pre-stores each of a plurality of image features detected from the specific image as a component; a feature detection unit, which detects a plurality of image features from an input image; a restoration unit that selects, from the memory, the components corresponding to each of the plurality of image features detected from the input image by the feature detection unit, and generates a restored image using the selected plurality of components; and A determination unit determines whether the restored image generated by the restoration unit matches the input image through matching processing, and recognizes that the input image is the specific image when it is determined that the restored image matches the input image.
7. The image recognition device according to claim 6, wherein: The memory stores in advance the labels assigned to the plurality of components as component labels together with the components. The feature detection unit assigns a selection label to each of the plurality of image features detected from the input image. The restoration unit selects the component having the component label that matches the selection label.
8. The image recognition device according to claim 6 or 7, wherein: An image extraction unit is provided for extracting the input image from a captured image as a range image, The image extraction unit targets a point group whose depth distance in the captured image is within a predetermined range, and extracts an image of the target in the captured image as the input image.
9. The image recognition device according to claim 6 or 7, wherein: The feature detection unit detects the feature strength of each of the plurality of image features detected from the input image. The restoration unit further generates the restored image using the plurality of feature intensities detected by the feature detection unit.
10. The image recognition device according to claim 6 or 7, wherein: The specific image is an image of at least a portion of a vehicle body of a traveling vehicle traveling along a predetermined traveling route.
