WO2021082231A1 - 目标检测方法及装置、电子设备和存储介质 - Google Patents
目标检测方法及装置、电子设备和存储介质 Download PDFInfo
- Publication number
- WO2021082231A1 WO2021082231A1 PCT/CN2019/127181 CN2019127181W WO2021082231A1 WO 2021082231 A1 WO2021082231 A1 WO 2021082231A1 CN 2019127181 W CN2019127181 W CN 2019127181W WO 2021082231 A1 WO2021082231 A1 WO 2021082231A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- feature
- processing
- image
- target detection
- level
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 98
- 238000001514 detection method Methods 0.000 claims abstract description 417
- 238000012545 processing Methods 0.000 claims description 246
- 238000005070 sampling Methods 0.000 claims description 137
- 230000008569 process Effects 0.000 claims description 65
- 238000011176 pooling Methods 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 16
- 238000000605 extraction Methods 0.000 claims description 8
- 238000013507 mapping Methods 0.000 claims description 8
- 230000004927 fusion Effects 0.000 claims description 6
- 238000013528 artificial neural network Methods 0.000 description 19
- 238000010586 diagram Methods 0.000 description 18
- 230000006870 function Effects 0.000 description 12
- 239000000284 extract Substances 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 230000001902 propagating effect Effects 0.000 description 2
- RYGMFSIKBFXOCR-UHFFFAOYSA-N Copper Chemical compound [Cu] RYGMFSIKBFXOCR-UHFFFAOYSA-N 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 229910052802 copper Inorganic materials 0.000 description 1
- 239000010949 copper Substances 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000010606 normalization Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20112—Image segmentation details
- G06T2207/20164—Salient point detection; Corner detection
Definitions
- the present disclosure relates to the field of computer vision technology, and in particular to a target detection method and device, electronic equipment and storage medium.
- Computer vision is a technology that uses computers and related equipment to simulate biological vision.
- the three-dimensional information of the corresponding scene can be obtained by processing the collected images or videos.
- the collected images or videos can be used for target detection to determine the target object category and position in the image.
- the target detection technology can use neural networks to directly determine the target object's category and location detection frame.
- the present disclosure proposes a technical solution for target detection.
- a target detection method including: acquiring a detection image to be processed; determining, based on the image characteristics of the detection image, the size feature and corner point feature corresponding to the target detection object; The feature and the corner point feature are used to extract the object feature corresponding to the target detection object from the image feature; the category of the target detection object is determined based on the object feature.
- the determining the size feature and corner point feature corresponding to the target detection object according to the image feature of the detection image includes: performing at least one level of convolution processing on the detection image to obtain the The image feature of the detection image; corner pooling processing is performed on the image feature of the detection image to obtain the size feature and the corner feature corresponding to the target detection object.
- the convolution processing includes up-sampling processing and down-sampling processing; the performing at least one level of convolution processing on the detection image to obtain the image characteristics of the detection image includes: The detection image is subjected to at least one level of down-sampling processing to obtain a first feature map after at least one level of down-sampling processing; based on the first feature map after at least one level of up-sampling processing, at least one level of down-sampling processing is obtained The second feature map; based on the first feature map after the at least one level of down-sampling processing and the second feature map after the at least one level of up-sampling processing, the image features of the detection image are obtained.
- each level of the down-sampling process outputs a first feature image
- each level of the up-sampling process outputs a second feature image
- Sampling the first feature map after sampling processing to obtain the second feature map after at least one level of downsampling processing includes: for the first level of upsampling processing in the at least one level of upsampling processing, subtracting the at least one level of downsampling processing The first feature map after the last downsampling process in the sampling process is used as the input of the first upsampling process; the second feature map output after the first upsampling process is obtained; for the at least one In the Nth-stage upsampling process, the Nth-stage upsampling processing is performed by combining the second feature map output after the upper-stage up-sampling processing of the N-th stage The first feature map of the second feature map is used as the input of the Nth upsampling process; the second feature map output by the Nth upsampling process is obtained, where N is a
- the second feature map output after the upper-stage up-sampling processing of the Nth-stage up-sampling processing and the second feature map outputted after the upper-stage up-sampling processing of the Nth-stage upsampling processing are matched
- the first feature map of the feature map, as the input of the Nth level of upsampling processing includes: the second feature map output after the upper level of upsampling processing of the Nth level of upsampling processing is matched with the Feature fusion is performed on the first feature map of the second feature map output after the N-th level upsampling processing to obtain the input of the N-th level upsampling processing.
- the performing corner pooling processing on the image features of the detected image to obtain the size feature and corner feature corresponding to the target detection object includes: performing the image feature of the detected image Corner pooling processing to obtain the processing result; using the first branch network to perform convolution processing on the processing result to obtain the size feature corresponding to the target detection object; using the second branch network to perform convolution processing on the processing result to obtain The corner point feature corresponding to the target detection object; wherein, the number of channels of the first branch network and the second branch network are different.
- the extracting the object feature corresponding to the target detection object from the image feature based on the size feature and the corner feature includes: according to the size feature and the The corner point feature determines a feature area that has a mapping relationship with the image area of the target detection object in the detection image; and extracts the object feature corresponding to the target detection object in the feature area of the image feature.
- the corner feature corresponding to the target detection object includes at least a first corner feature and a second corner feature corresponding to the target object;
- the size feature corresponding to the target detection object includes: The length feature and width feature of the target detection object corresponding to the first corner feature, and the length feature and width feature of the target detection object corresponding to the second corner feature.
- the method further includes: determining the target based on the length feature and width feature corresponding to the first corner point feature and the length feature and width feature corresponding to the second corner point feature The detection frame of the detection object in the detection image; determining the intersection ratio between any two overlapping detection frames; in the case that the intersection ratio is greater than a preset threshold, the any two overlapping The detection frame is combined into one detection frame.
- the determining the category of the target detection object based on the object feature includes: performing at least one level of convolution processing on the object feature to obtain the target detection object The probability of belonging to at least one preset category; according to the probability that the target detection object belongs to at least one preset category, the category of the target detection object is determined from the preset category.
- a target detection device including: an acquisition module for acquiring a detection image to be processed; a determination module for determining the size of the target detection object according to the image characteristics of the detection image Features and corner features; an extraction module for extracting the object features corresponding to the target detection object from the image features based on the size features and the corner features; a classification module for extracting object features based on the object features Determine the category of the target detection object.
- the determining module is specifically configured to perform at least one level of convolution processing on the detection image to obtain the image characteristics of the detection image; and perform corner points on the image characteristics of the detection image. Pooling process to obtain the size feature and corner feature corresponding to the target detection object.
- the convolution processing includes up-sampling processing and down-sampling processing; the determining module is specifically configured to perform at least one level of down-sampling processing on the detection image to obtain at least one level of down-sampling processing.
- the first feature map and the second feature map after the at least one level upsampling process are used to obtain the image feature of the detection image.
- each level of the down-sampling process outputs a first feature image
- each level of the up-sampling process outputs a second feature image
- the determining module is specifically configured to: Regarding the first-stage up-sampling processing in the at least one-stage up-sampling processing, the first feature map after the last-stage down-sampling processing in the at least one-stage down-sampling processing is used as the first-stage up-sampling processing
- the second feature map output after the first-level upsampling processing is obtained; for the N-th up-sampling processing in the at least one-level up-sampling processing, the previous one of the N-th upsampling processing is
- the second feature map output after the stage upsampling processing and the first feature map matching the second feature map output after the Nth stage upsampling processing are used as the input of the Nth stage upsampling processing; to obtain the The second feature map output by the N-th upsampling process, where N is a positive integer greater than
- it is specifically used to compare the second feature map output after the upper-level up-sampling processing of the N-th level up-sampling processing with the second feature map output after the upper-level up-sampling processing of the N-th stage up-sampling processing. Perform feature fusion on the first feature map of the second feature map to obtain the input of the Nth level upsampling processing.
- the determining module is specifically configured to perform corner pooling processing on the image features of the detected image to obtain a processing result; use the first branch network to convolve the processing result Processing to obtain the size feature corresponding to the target detection object; use the second branch network to perform convolution processing on the processing result to obtain the corner feature corresponding to the target detection object; wherein the number of channels of the first branch network and the second branch network different.
- the extraction module is specifically configured to determine, based on the size feature and the corner point feature, that there is a mapping relationship with the target detection object in the image area of the detection image Feature area; extract the object feature corresponding to the target detection object in the feature area of the image feature.
- the corner feature corresponding to the target detection object includes at least a first corner feature and a second corner feature corresponding to the target object;
- the size feature corresponding to the target detection object includes: The length feature and width feature of the target detection object corresponding to the first corner feature, and the length feature and width feature of the target detection object corresponding to the second corner feature.
- the device further includes: a merging module, configured to be based on the length feature and width feature corresponding to the first corner point feature and the length feature and width feature corresponding to the second corner point feature , Determine the detection frame of the target detection object in the detection image; determine the intersection ratio between any two overlapping detection frames; when the intersection ratio is greater than a preset threshold, combine the Any two overlapping detection frames are merged into one detection frame.
- a merging module configured to be based on the length feature and width feature corresponding to the first corner point feature and the length feature and width feature corresponding to the second corner point feature , Determine the detection frame of the target detection object in the detection image; determine the intersection ratio between any two overlapping detection frames; when the intersection ratio is greater than a preset threshold, combine the Any two overlapping detection frames are merged into one detection frame.
- the classification module is specifically configured to perform at least one level of convolution processing on the object feature to obtain the probability that the target detection object belongs to at least one preset category; according to the target The detection object belongs to the probability of at least one preset category, and the category of the target detection object is determined from the preset category.
- an electronic device including: a processor; a memory for storing executable instructions of the processor; wherein the processor is configured to execute the above-mentioned target detection method.
- a computer-readable storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, the foregoing target detection method is realized.
- a computer program wherein the computer program includes computer-readable code, and when the computer-readable code runs in an electronic device, a processor in the electronic device executes To achieve the above-mentioned target detection method.
- Fig. 1 shows a flowchart of a target detection method according to an embodiment of the present disclosure.
- Fig. 2 shows a block diagram of a detection frame of a target detection object according to an embodiment of the present disclosure.
- Fig. 3 shows a block diagram of using a neural network to obtain a target detection object category according to an embodiment of the present disclosure.
- Fig. 4 shows a block diagram of a target detection device according to an embodiment of the present disclosure.
- Fig. 5 shows a block diagram of an example of an electronic device according to an embodiment of the present disclosure.
- the target detection solution provided by the embodiments of the present disclosure can obtain the detection image to be processed, and then determine the size feature and corner point feature corresponding to the target detection object according to the image feature of the detection image, and then based on the size feature and corner point feature, it can be obtained from From the image feature, the object feature corresponding to the target detection object is extracted, and then based on the object feature corresponding to the target detection object, the category of the target detection object is determined, so that the detection result of the target detection can be obtained.
- the object characteristics corresponding to the target detection object can be determined first, and then the target detection objects can be classified according to the corresponding object characteristics, so that the object characteristics and target objects of the target detection object can be determined non-parallel in the target detection
- the category makes the detection result obtained more accurate and can improve the accuracy of the detection result.
- target detection usually requires intensive collection of anchor points forming a preliminary detection frame, but there will be many invalid anchor points in a large number of anchor points, which will consume processing time and storage space.
- the detection frame and category of the target detection object are determined in parallel, so that the information of the detection frame cannot be considered when determining the category of the target detection object, resulting in insufficient detection results.
- the target detection solution provided by the embodiments of the present disclosure can first determine the object characteristics of the target detection object by determining the corner points and the size of the target detection object, thereby reducing the waste of time and storage space caused by collecting a large number of anchor points, and
- the object features obtained through the corner points and the size can reduce the difficulty of distinguishing different target detection objects through the center point determined by the anchor point when two target detection objects are found to be coincident, so that the embodiments of the present disclosure provide
- the target detection scheme can distinguish different target detection objects by corner features, which can save time and storage space for acquiring anchor points, improve the efficiency of obtaining detection results, and obtain detection results with higher accuracy.
- the information processing solution provided by the embodiments of the present disclosure can be applied to any scene that requires target detection.
- it can be applied to the scene of performing target detection on the collected video, and the trajectory of the target detection object in the video can be obtained according to the detection result.
- it can be applied to security scenarios, and suspects can be identified and tracked based on the detection results.
- the target detection solution provided by the present disclosure will be described below through embodiments.
- Fig. 1 shows a flowchart of a target detection method according to an embodiment of the present disclosure.
- the target detection method can be executed by a terminal device, server or other target detection device, where the terminal device can be a user equipment (UE), mobile device, user terminal, terminal, cellular phone, cordless phone, personal digital processing ( Personal Digital Assistant, PDA), handheld devices, computing devices, vehicle-mounted devices, wearable devices, etc.
- the target detection method may be implemented by a processor invoking computer-readable instructions stored in the memory.
- the target detection method in the embodiment of the present disclosure will be described below by taking the target detection device as the execution subject as an example.
- the target detection method includes the following steps:
- Step S11 Obtain a detection image to be processed.
- the target detection device may have an image acquisition function, and may shoot the current scene to obtain the detected image to be processed.
- the target detection apparatus may obtain the detection image to be processed by other equipment.
- the detection image may be a separately collected image, or may be an image frame in the video stream.
- the acquired detection image to be processed may be a preprocessed detection image, for example, may undergo preprocessing such as image scaling, image enhancement, and image filtering.
- preprocessing such as image scaling, image enhancement, and image filtering.
- the length and width of the detected image can be adjusted to an appropriate size to obtain a pre-processed detected image.
- Step S12 Determine the size feature and corner point feature corresponding to the target detection object according to the image feature of the detection image.
- a neural network can be used to extract the image features of the detection image. From the image features of the detection image, the size feature corresponding to the target detection object can be determined, and the corner feature corresponding to the target detection object can be determined.
- the target detection object may be an object that needs to be detected in the detection image, for example, an image of a pedestrian, a vehicle, a building, a sign, etc.
- the size feature of the target detection object can represent the size feature of the image area where the target detection object is located.
- the size feature corresponding to the target detection object may be the length feature and/or the width feature corresponding to the quadrilateral.
- the corner point feature can characterize the position information of the diagonal point of the image area where the target detection object is located.
- the corner feature corresponding to the target detection object includes at least a first corner feature and a second corner feature corresponding to the target object.
- the size feature corresponding to the target detection object includes: the length feature and the width feature corresponding to the first corner feature of the target detection object, and the length feature and the width feature corresponding to the second corner feature of the target detection object.
- the corner point may include a first corner point and a second corner point, and the first corner point and the second corner point may be a pair of opposite corner points.
- the corner point feature may include the first corner point feature And the second corner point feature, in this way, the first corner point feature and the second corner point feature together represent the position information of the diagonal point of the image area where the target detection object is located, which can reduce the difficulty of distinguishing different target detection objects. happened.
- the size feature corresponding to the target detection object can include the length feature and width feature corresponding to the first corner feature, and the length feature and width feature corresponding to the second corner feature of the target detection object. In this way, it can be detected according to the target. The size characteristics of the object at different corner features can further distinguish different target detection objects, so that the detection result of the target detection object is more accurate.
- the first corner point may be the upper left corner point or the lower right corner point of the target detection object; correspondingly, the second corner point may be the upper right corner point or the lower left corner point corresponding to the target object.
- the first corner point and the second corner point may be a pair of diagonal points, that is, the first corner point may be the upper left corner point, and the second corner point may be the lower right corner point.
- the first corner point may be the upper right corner point
- the second corner point may be the lower left corner point.
- Step S13 based on the size feature and the corner point feature, extract the object feature corresponding to the target detection object from the image feature.
- the image size corresponding to the target detection object can be determined according to the size feature corresponding to the target detection object, and the image position of the target detection object in the detection image can be determined according to the corner feature corresponding to the target detection object, so that Combining the size feature corresponding to the target detection object and the corner point feature can determine the object feature corresponding to the target detection object.
- the object feature can characterize the feature of the target detection object in the image area of the detection image.
- the object feature can indicate the target detection.
- the image position of the object can be determined according to the size feature corresponding to the target detection object, and the image position of the target detection object in the detection image can be determined according to the corner feature corresponding to the target detection object, so that Combining the size feature corresponding to the target detection object and the corner point feature can determine the object feature corresponding to the target detection object.
- the object feature can characterize the feature of the target detection object in the image area of the detection image.
- the object feature can indicate the target detection.
- the image position of the object can be
- the feature area that has a mapping relationship with the image area of the target detection object in the detection image can be determined according to the size feature and the corner point feature, and then the feature area in the image The feature area of the feature extracts the object feature corresponding to the target detection object.
- the image feature of the detection image can be obtained, and the image feature can be expressed as a feature map.
- the feature area indicated by the size feature and the corner feature can be determined in the feature map, and the feature area corresponds to the image area of the target detection object in the detection image. Extracting the image feature of the feature area in the feature map can be used as the object feature corresponding to the target detection object. According to the characteristics of the object, the image area of the target detection object in the detection image can be determined.
- the detection frame of the target detection object in the detection image can be determined based on the length feature and width feature corresponding to the first corner point feature and the length feature and width feature corresponding to the second corner point feature. , And then determine the intersection ratio between any two overlapping detection frames, and when the intersection ratio is greater than the preset threshold, merge any two overlapping detection frames into one detection frame.
- the length feature and width feature corresponding to the first corner point feature can indicate a feature area in the feature map
- the length feature and width feature corresponding to the second corner feature can indicate a feature in the feature map.
- Area, the characteristic area indicated by the first corner point feature and the characteristic area indicated by the second corner point characteristic may be the same characteristic area, or may be different characteristic areas.
- the detection frame can be used to frame the image area of the target detection object in the detection image in the detection image.
- the detection frame can be a closed figure, for example , Square, rectangular and other quadrilaterals.
- the detection frame can identify that the target detection object is in the image area of the detection image
- the aforementioned corner point feature can indicate the positions of two diagonal points of the detection frame
- the aforementioned size feature can indicate the length and width of the detection frame.
- the same target detection object may have multiple detection frames, and multiple detection frames may overlap. Therefore, when the detection frames of the target detection object overlap, the difference between any two overlapping detection frames can be calculated. Intersection ratio, if the calculated intersection ratio is greater than the preset threshold, it can be considered that the two overlapping detection frames identify the same target detection object, and the larger detection frame of the two overlapping detection frames can be used as the target detection The detection frame of the object, delete the small detection frame.
- a new detection frame can be synthesized based on two mutually overlapping detection frames, and the new detection frame is used as the detection frame of the target detection object, and the new detection frame includes the two detection frames before merging. In this way, the obtained detection frames can be further screened, and the detection frames of the same target detection object can be combined, so that one target detection object corresponds to one detection frame.
- Fig. 2 shows a block diagram of a detection frame of a target detection object according to an embodiment of the present disclosure.
- the detection frame as shown in FIG. 2 can be formed.
- Step S14 Determine the category of the target detection object based on the characteristics of the object.
- a neural network can be used to further perform feature feature extraction on the extracted object features, for example, convolution processing, normalization processing, etc. can be performed on the object features to obtain the target detection object category, for example, the target
- the detection objects belong to categories such as vehicles, pedestrians, buildings, and public facilities. In this way, the category of the target detection object can be obtained from the object characteristics, and the target detection of the target detection object in the detection image can be realized.
- the embodiment of the present disclosure determines the size feature and corner point feature corresponding to the target detection object by detecting the image feature of the image, and then extracts the object feature corresponding to the target detection object from the image feature based on the size feature and the corner point feature, and further based on the extracted object
- the feature determines the category of the target detection object, so that the object characteristics of the target detection object and the classification of the target detection object are non-parallel. When the target detection object is classified, the object characteristics of the target detection object can be considered to obtain the classification result More accurate and improve the accuracy of target detection.
- At least one level of convolution processing may be performed on the object feature to obtain the probability that the target detection object belongs to at least one preset category, and then according to the target detection object belonging to at least one preset category The probability of the category is to determine the category of the target detection object from the preset category.
- the neural network can be used to further perform at least one level of convolution processing on the extracted object features, and the probability that the target detection object belongs to at least one predicted category can be obtained.
- the preset category is pedestrian, vehicle, building, etc.
- the probability that the target detection object belongs to multiple preset categories among pedestrians, vehicles, and buildings can be obtained. Then, the preset category with the highest probability can be determined as the category of the target detection object.
- the object characteristics corresponding to the target detection object can be determined first, and then the target detection object can be used to classify the target detection object, and the category of the target detection object can be determined. In this way, a higher accuracy detection can be obtained. result.
- a neural network can be used to obtain the category of the target detection object. The process of obtaining the category of the target detection object by using the neural network will be described below.
- At least one level of convolution processing may be performed on the detection image to obtain the image characteristics of the detection image, and then corner pooling processing is performed on the image characteristics of the detection image to obtain target detection The corresponding size feature and corner feature of the object.
- the neural network can include a multi-level convolutional layer and a corner pooling layer.
- the detection image can be used as the input of the neural network, and then the neural network can be used to perform multi-level convolution processing on the detection image to obtain the detection image.
- the corner pooling layer of the neural network is used to perform corner pooling processing on the image features of the detected image, and the size features and corner features corresponding to the target detection object can be obtained.
- the convolution processing includes up-sampling processing and down-sampling processing;
- the performing at least one level of convolution processing on the detection image to obtain the image characteristics of the detection image may include: Perform at least one level of down-sampling processing on the detected image to obtain a first feature map after at least one level of down-sampling processing; and obtain at least one level of down-sampling processing based on the first feature map after at least one level of up-sampling processing After the second feature map; based on the first feature map after the at least one level of down-sampling processing and the second feature map after the at least one level of up-sampling processing, the image feature of the detection image is obtained.
- the convolution processing can include up-sampling processing and down-sampling processing.
- a neural network can be used to perform multi-level down-sampling processing on the detection image to obtain the first feature map after each level of down-sampling processing.
- the first feature map obtained after the last downsampling process in the level downsampling process is subjected to multi-level upsampling processing, and the second feature map obtained after each level of upsampling process can be obtained.
- the image features of the detection image can be obtained according to the first feature map after multi-level down-sampling processing and the second feature map after multi-level up-sampling processing.
- the first feature map after multi-level down-sampling processing can be combined with multiple The second feature map after the up-sampling process is subjected to feature fusion to obtain the image feature of the detection image.
- the up-sampling process can be performed using the bilinear difference method, so that a more accurate second feature map can be obtained.
- each level of the down-sampling process outputs a first feature image
- each level of the up-sampling process outputs a second feature image, for the first feature image in the at least one level of up-sampling process
- the second feature map output after the upper level of upsampling processing of the Nth level of upsampling processing is matched to the Nth level
- the first feature map of the second feature map output after the sampling process is used as the input of the Nth upsampling process to obtain the second feature map output by the Nth upsampling process, where N is greater than 1. Positive integer.
- the multi-level down-sampling process on the detection image can obtain the first feature map after each level down-sampling processing.
- you can Up-sampling the first feature map by the first-level up-sampling process in the multi-level up-sampling process is used to obtain the second feature map after the first-level up-sampling process, and then can be based on the first-level up-sampling process
- Two feature maps and the first feature map matching the second feature map to obtain the input of the second-level upsampling process for example, the second feature map is merged with the first feature map to obtain the second-level upsampling
- the processed input, or the first feature map is subjected to convolution processing and then fused with the second feature map to obtain the input of the second level of upsampling processing.
- the first feature map matching the second feature map may be the first feature map matching the image size of the second feature map.
- the input is up-sampled by the second-level up-sampling process, and the second feature map after the second-level up-sampling process can be obtained.
- the input of the third upsampling process is obtained, and so on, the Nth upsampling process can be obtained
- N is a positive integer greater than 1. In this way, in the up-sampling process, the image features obtained by the down-sampling process can be considered, so that the extracted image features are more accurate.
- corner pooling processing can be performed on the image features of the detection image to obtain the processing result, and then the first branch network is used to perform convolution processing on the processing result to obtain the target detection object corresponding Using the second branch network to perform convolution processing on the processing result to obtain the corner feature corresponding to the target detection object.
- the number of channels in the first branch network and the second branch network are different.
- the aforementioned neural network may include two branch networks, namely, a first branch network and a second branch network.
- the first branch network can be used to convolve the image features of the detection image to obtain the feature map of the first branch network.
- the feature map can correspond to 4 channels, of which one The channel corresponds to the length feature of the first corner point, one channel corresponds to the width feature of the first corner point, one channel corresponds to the length feature of the second corner point, and one channel corresponds to the width feature of the second corner point.
- the second branch network can be used to perform convolution processing on the image features of the detected image to obtain a feature map of the second branch network.
- the feature map can correspond to two channels, where one channel corresponds to the first corner feature. Indicate the position of the first corner point in the detection image, and the other channel corresponds to the second corner point feature, which can indicate the position of the second corner point in the detection image.
- the image area where the target detection object is located can be determined according to the size feature and corner feature corresponding to the target detection object, and the possibility that different target detection objects cannot be distinguished can be reduced.
- FIG. 3 shows a block diagram of obtaining a detection result of a target detection object by using a neural network according to an embodiment of the present disclosure.
- the following describes the process of obtaining the category of the target detection object by using the above-mentioned neural network with an example.
- the length and width of the detection image can be adjusted to an appropriate size without changing the aspect ratio of the detection image, for example, the width of the detection image can be adjusted to 800 pixels.
- the neural network can include multi-level convolutional layers.
- the neural network can be used to down-sampling the detection image. Each level of down-sampling processing can get a first feature map.
- Four-level convolution processing can obtain four first feature maps of different sizes, which are respectively denoted as C 2 , C 3 , C 4 , and C 5 .
- C 2 both length and width is twice the C 3
- C 3 are the length and width of twice the C 4
- C 4 are the length and width of twice the C 5.
- C 5 can be passed through a 1*1 convolution kernel to obtain a new feature map F 5
- F 5 has the same length and width as C 5 .
- F 5 of multistage sampling process the sampling process on each stage may have a second characteristic of FIG. That is, the up-sampling process of double linear interpolation can be performed on F 5 to obtain a second feature map whose length and width are both magnified twice, which can be denoted as F′ 5 .
- C 4 is calculated by a 1*1 convolution kernel to obtain a new feature map C′ 4 , C′ 4 and F′ 5 have the same size, and C′ 4 and F′ 5 are added together to obtain The input F 4 of the second upsampling process.
- the second feature map F 2 output after the last-stage up-sampling processing can be obtained. F 2 length and width of the same C 2.
- the second feature map F 2 can be subjected to corner pooling processing to obtain the processing result.
- the processing result can go through the first branch network and the second branch network respectively.
- Each branch network can include a 3*3 convolution kernel.
- the first branch network can form a 4-channel feature map location
- the second branch network can form A 2-channel feature map mask.
- the two channels of the feature map mask respectively represent the upper left corner point feature and the lower right corner point feature
- the four channels of the feature map location respectively represent the width feature dw and the length feature dh corresponding to the upper left corner point, and the width feature corresponding to the lower right corner point. dw and length characteristics dh.
- the upper left corner and lower right corner feature point feature, the upper left corner corresponding to the width and length of features characteristic features and the width and length corresponding to the lower right corner feature, a feature region may be determined, F 2 extracts the second characteristic feature in FIG.
- the image features of the area can be used to obtain the object features of the target detection object. For example, after the RoI Align layer, the corresponding image features in the feature area of the second feature map F 2 can be obtained, and then the 3*3 convolution kernel is used to perform the object features Classification, you can get the category of the target detection object in the detection image.
- the detection frame of the target detection object can be obtained from the upper left corner point feature and the lower right corner point feature, as well as the dw and dh corresponding to the upper left corner point, and the dw and dh corresponding to the lower right corner point.
- the width of the detection frame is calculated by the following formula (1):
- w is the image width of the detection frame
- s, ⁇ , and ⁇ can be mapping parameters, which can be obtained through network parameters
- dw is the width feature.
- non-maximum value suppression processing can be performed on the multiple detection frames of the target detection object, and the multiple detection frames of the target detection object can be merged into one to obtain the final target detection object.
- the test results can be performed on the multiple detection frames of the target detection object, and the multiple detection frames of the target detection object can be merged into one to obtain the final target detection object.
- the target detection solution provided by the embodiments of the present disclosure can more effectively predict the detection frame of the target detection object.
- the detection frame is obtained through the corner points, thereby making the predicted detection frame more accurate and effectively alleviating the The problem of low accuracy of the predicted detection frame caused by overlap.
- the prediction of the detection frame and the classification of the target detection object are performed non-parallel, that is, the size feature and corner feature indicating the position of the detection frame are first obtained, and then the target detection is performed by the object feature determined by the size feature and the corner feature Objects are classified, so that more accurate classification results can be obtained.
- the present disclosure also provides target detection devices, electronic equipment, computer-readable storage media, and programs, all of which can be used to implement any target detection method provided in the present disclosure.
- target detection devices electronic equipment, computer-readable storage media, and programs, all of which can be used to implement any target detection method provided in the present disclosure.
- the writing order of the steps does not mean a strict execution order but constitutes any limitation on the implementation process.
- the specific execution order of each step should be based on its function and possibility.
- the inner logic is determined.
- Fig. 4 shows a block diagram of a target detection device according to an embodiment of the present disclosure.
- the target detection device includes:
- the obtaining module 41 is used to obtain the detected image to be processed
- the determining module 42 is configured to determine the size feature and corner point feature corresponding to the target detection object according to the image feature of the detection image;
- the extraction module 43 is configured to extract the object feature corresponding to the target detection object from the image feature based on the size feature and the corner point feature;
- the classification module 44 is configured to determine the category of the target detection object based on the characteristics of the object.
- the determining module 42 is specifically configured to perform at least one level of convolution processing on the detection image to obtain the image characteristics of the detection image;
- the point pooling process obtains the size feature and corner point feature corresponding to the target detection object.
- the convolution processing includes up-sampling processing and down-sampling processing;
- the determining module 42 is specifically configured to perform at least one level of down-sampling processing on the detection image to obtain at least one level A first feature map after downsampling processing; based on the first feature map after at least one level of upsampling processing, a second feature map after at least one level of down sampling processing is obtained; based on the at least one level of down sampling processing
- the first feature map of and the second feature map after the at least one level of up-sampling processing are used to obtain the image feature of the detection image.
- each level of the down-sampling process outputs a first feature image
- each level of the up-sampling process outputs a second feature image
- the determining module 42 is specifically configured to For the first-stage up-sampling process in the at least one-stage up-sampling process, the first feature map after the last-stage down-sampling process in the at least one-stage down-sampling process is used as the first-stage up-sampling process
- the processed input; the second feature map output after the first-level upsampling processing is obtained; for the N-th up-sampling processing in the at least one-level up-sampling processing, the up-sampling processing of the N-th stage is up
- the second feature map output after the first level upsampling processing and the first feature map matching the second feature map output after the Nth level upsampling processing are used as the input of the Nth level upsampling processing; to obtain the The second feature map output by the Nth upsampling process, where N is a
- the determining module 42 is specifically configured to match the second feature map output after the upper-level upsampling processing of the Nth level of upsampling processing with the second feature map that matches the Nth level of upsampling processing.
- Feature fusion is performed on the first feature map of the second feature map output after the upsampling processing to obtain the input of the Nth level of upsampling processing.
- the determining module 42 is specifically configured to perform corner pooling processing on the image features of the detected image to obtain a processing result; and use the first branch network to roll up the processing result.
- the extraction module 43 is specifically configured to determine, according to the size feature and the corner point feature, that there is a mapping relationship with the target detection object in the image area of the detection image The feature area of the image; extract the object feature corresponding to the target detection object in the feature area of the image feature.
- the corner feature corresponding to the target detection object includes at least a first corner feature and a second corner feature corresponding to the target object;
- the size feature corresponding to the target detection object includes: The length feature and width feature of the target detection object corresponding to the first corner feature, and the length feature and width feature of the target detection object corresponding to the second corner feature.
- the device further includes: a merging module, configured to be based on the length feature and width feature corresponding to the first corner point feature and the length feature and width feature corresponding to the second corner point feature , Determine the detection frame of the target detection object in the detection image; determine the intersection ratio between any two overlapping detection frames; when the intersection ratio is greater than a preset threshold, combine the Any two overlapping detection frames are merged into one detection frame.
- a merging module configured to be based on the length feature and width feature corresponding to the first corner point feature and the length feature and width feature corresponding to the second corner point feature , Determine the detection frame of the target detection object in the detection image; determine the intersection ratio between any two overlapping detection frames; when the intersection ratio is greater than a preset threshold, combine the Any two overlapping detection frames are merged into one detection frame.
- the classification module 44 is specifically configured to perform at least one level of convolution processing on the object feature to obtain the probability that the target detection object belongs to each preset category; according to the target The detection object belongs to the probability of each preset category, and the category of the target detection object is determined from the preset category.
- the functions or modules contained in the device provided in the embodiments of the present disclosure can be used to execute the methods described in the above method embodiments.
- the functions or modules contained in the device provided in the embodiments of the present disclosure can be used to execute the methods described in the above method embodiments.
- An embodiment of the present disclosure also provides an electronic device, including: a processor; a memory for storing executable instructions of the processor; wherein the processor is configured as the above method.
- the electronic device can be provided as a terminal, server or other form of device.
- Fig. 5 is a block diagram showing an electronic device 1900 according to an exemplary embodiment.
- the electronic device 1900 may be provided as a server. 5
- the electronic device 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932, for storing instructions executable by the processing component 1922, such as application programs.
- the application program stored in the memory 1932 may include one or more modules each corresponding to a set of instructions.
- the processing component 1922 is configured to execute instructions to perform the above-described methods.
- the electronic device 1900 may also include a power supply component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to the network, and an input output (I/O) interface 1958 .
- the electronic device 1900 can operate based on an operating system stored in the memory 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.
- a volatile computer-readable storage medium or a non-volatile computer-readable storage medium is also provided, such as the memory 1932 including computer program instructions, which can be processed by the electronic device 1900.
- the component 1922 executes to complete the above method.
- a computer program is also provided.
- the computer program includes computer-readable code.
- a processor in the electronic device executes to implement the foregoing method.
- the present disclosure may be a system, method and/or computer program product.
- the computer program product may include a computer-readable storage medium loaded with computer-readable program instructions for enabling a processor to implement various aspects of the present disclosure.
- the computer-readable storage medium may be a tangible device that can hold and store instructions used by the instruction execution device.
- the computer-readable storage medium may be, for example, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
- Non-exhaustive list of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) Or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device, such as a printer with instructions stored thereon
- RAM random access memory
- ROM read-only memory
- EPROM erasable programmable read-only memory
- flash memory flash memory
- SRAM static random access memory
- CD-ROM compact disk read-only memory
- DVD digital versatile disk
- memory stick floppy disk
- mechanical encoding device such as a printer with instructions stored thereon
- the computer-readable storage medium used here is not interpreted as the instantaneous signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (for example, light pulses through fiber optic cables), or through wires Transmission of electrical signals.
- the computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to various computing/processing devices, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and/or a wireless network.
- the network may include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers.
- the network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network, and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing/processing device .
- the computer program instructions used to perform the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or in one or more programming languages.
- Source code or object code written in any combination, the programming language includes object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as "C" language or similar programming languages.
- Computer-readable program instructions can be executed entirely on the user's computer, partly on the user's computer, executed as a stand-alone software package, partly on the user's computer and partly executed on a remote computer, or entirely on the remote computer or server carried out.
- the remote computer can be connected to the user's computer through any kind of network-including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to connect to the user's computer) connection).
- LAN local area network
- WAN wide area network
- an electronic circuit such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), can be customized by using the status information of the computer-readable program instructions.
- FPGA field programmable gate array
- PDA programmable logic array
- the computer-readable program instructions are executed to realize various aspects of the present disclosure.
- These computer-readable program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine that makes these instructions when executed by the processor of the computer or other programmable data processing device , A device that implements the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams is produced. It is also possible to store these computer-readable program instructions in a computer-readable storage medium. These instructions make computers, programmable data processing apparatuses, and/or other devices work in a specific manner. Thus, the computer-readable medium storing the instructions includes An article of manufacture, which includes instructions for implementing various aspects of the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams.
- each block in the flowchart or block diagram may represent a module, program segment, or part of an instruction, and the module, program segment, or part of an instruction contains one or more components for realizing the specified logical function.
- Executable instructions may also occur in a different order than the order marked in the drawings. For example, two consecutive blocks can actually be executed substantially in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved.
- each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or actions Or it can be realized by a combination of dedicated hardware and computer instructions.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Quality & Reliability (AREA)
- Biophysics (AREA)
- Mathematical Physics (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Biomedical Technology (AREA)
- Computational Linguistics (AREA)
- Software Systems (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Image Analysis (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
- Storage Device Security (AREA)
Abstract
Description
Claims (23)
- 一种目标检测方法,包括:获取待处理的检测图像;根据所述检测图像的图像特征,确定目标检测对象对应的尺寸特征和角点特征;基于所述尺寸特征和所述角点特征,从所述图像特征中提取所述目标检测对象对应的对象特征;基于所述对象特征确定所述目标检测对象的类别。
- 根据权利要求1所述的方法,其特征在于,所述根据所述检测图像的图像特征,确定目标检测对象对应的尺寸特征和角点特征,包括:对所述检测图像进行至少一级卷积处理,得到所述检测图像的图像特征;对所述检测图像的图像特征进行角点池化处理,得到目标检测对象对应的尺寸特征和角点特征。
- 根据权利要求2所述的方法,其特征在于,所述卷积处理包括上采样处理和下采样处理;所述对所述检测图像进行至少一级卷积处理,得到所述检测图像的图像特征,包括:对所述检测图像进行至少一级下采样处理,得到至少一级下采样处理后的第一特征图;基于所述至少一级上采样处理后的第一特征图,得到至少一级下采样处理后的第二特征图;基于所述至少一级下采样处理后的第一特征图和所述至少一级上采样处理后的第二特征图,得到所述检测图像的图像特征。
- 根据权利要求3所述的方法,其特征在于,每一级所述下采样处理后输出一个第一特征图,每一级所述上采样处理后输出一个第二特征图像;所述基于所述至少一级上采样处理后的第一特征图,得到至少一级下采样处理后的第二特征图,包括:针对所述至少一级上采样处理中的第一级上采样处理,将所述至少一级下采样处理中最后一级下采样处理后的第一特征图,作为所述第一级上采样处理的输入;得到所述第一级上采样处理后输出的第二特征图;针对所述至少一级上采样处理中的第N级上采样处理,将所述第N级上采样处理的上一级上采样处理后输出的第二特征图以及匹配于所述第N级上采样处理后输出的第二特征图的第一特征图,作为所述第N级上采样处理的输入;得到所述第N级上采样处理输出的第二特征图,其中,N为大于1的正整数。
- 根据权利要求4所述的方法,其特征在于,所述将所述第N级上采样处理的上一级上采样处理后输出的第二特征图以及匹配于所述第N级上采样处理后输出的第二特征图的第一特征图,作为所述第N级上采样处理的输入,包括:将所述第N级上采样处理的上一级上采样处理后输出的第二特征图,与匹配于所述第N级上采样处理后输出的第二特征图的第一特征图进行特征融合,得到所述第N级上采样处理的输入。
- 根据权利要求2所述的方法,其特征在于,所述对所述检测图像的图像特征进行角点池化处理,得到目标检测对象对应的尺寸特征和角点特征,包括:对所述检测图像的图像特征进行角点池化处理,得到处理结果;利用第一分支网络对所述处理结果进行卷积处理,得到目标检测对象对应的尺寸特征;利用第二分支网络对所述处理结果进行卷积处理,得到目标检测对象对应的角点特征;其中,第一分支网络与第二分支网络的通道数不同。
- 根据权利要求1至6任意一项所述的方法,其特征在于,所述基于所述尺寸特征和所述角点特征,从所述图像特征中提取所述目标检测对象对应的对象特征,包括:根据所述尺寸特征和所述角点特征,确定与所述目标检测对象在所述检测图像中的图像区域存在映射关系的特征区域;在所述图像特征的特征区域提取所述目标检测对象对应的对象特征。
- 根据权利要求7所述的方法,其特征在于,所述目标检测对象对应的角点特征包括至少所述目标对象对应的第一角点特征和第二角点特征;所述目标检测对象对应的尺寸特征包括:所述目标检测对象在第一角点特征对应的长度特征和宽度特征,以及所述目标检测对象在第二角点特征对应的长度特征和宽度特征。
- 根据权利要求8所述的方法,其特征在于,所述方法还包括:基于所述第一角点特征对应的长度特征和宽度特征以及所述第二角点特征对应的长度特征和宽度特征,确定所述目标检测对象在所述检测图像中的检测框;确定任意两个相互重叠的检测框之间的交并比;在所述交并比大于预设阈值的情况下,将所述任意两个重叠的检测框合并为一个检测框。
- 根据权利要求1至9任意一项所述的方法,其特征在于,所述基于所述对象特征确定所述目标检测对象的类别,包括:对所述对象特征进行至少一级卷积处理,得到所述目标检测对象属于至少一个预设类别的概率;根据所述目标检测对象属于至少一个预设类别的概率,从所述预设类别中确定所述目标检测对象的类别。
- 一种目标检测装置,包括:获取模块,用于获取待处理的检测图像;确定模块,用于根据所述检测图像的图像特征,确定目标检测对象对应的尺寸特征和角点特征;提取模块,用于基于所述尺寸特征和所述角点特征,从所述图像特征中提取所述目标检测对象对应的对象特征;分类模块,用于基于所述对象特征确定所述目标检测对象的类别。
- 根据权利要求11所述的装置,其特征在于,所述确定模块,具体用于对所述检测图像进行至少一级卷积处理,得到所述检测图像的图像特征;对所述检测图像的图像特征进行角点池化处理,得到目标检测对象对应的尺寸特征和角点特征。
- 根据权利要求12所述的装置,其特征在于,所述卷积处理包括上采样处理和下采样处理;所述确定模块,具体用于,对所述检测图像进行至少一级下采样处理,得到至少一级下采样处理后的第一特征图;基于所述至少一级上采样处理后的第一特征图,得到至少一级下采样处理后的第二特征图;基于所述至少一级下采样处理后的第一特征图和所述至少一级上采样处理后的第二特征图,得到所述检测图像的图像特征。
- 根据权利要求13所述的装置,其特征在于,每一级所述下采样处理后输出一个第一特征图,每一级所述上采样处理后输出一个第二特征图像;所述确定模块,具体用于,针对所述至少一级上采样处理中的第一级上采样处理,将所述至少一级下采样处理中最后一级下采样处理后的第一特征图,作为所述第一级上采样处理的输入;得到所述第一级上采样处理后输出的第二特征图;针对所述至少一级上采样处理中的第N级上采样处理,将所述第N级上采样处理的上一级上采样处理后输出的第二特征图以及匹配于所述第N级上采样处理后输出的第二特征图的第一特征图,作为所述第N级上采样处理的输入;得到所述第N级上采样处理输出的第二特征图,其中,N为大于1的正整数。
- 根据权利要求14所述的装置,其特征在于,所述确定模块,具体用于将所述第N级上采样处理的上一级上采样处理后输出的第二特征图,与匹配于所述第N级上采样处理后输出的第二特征图的第一特征图进行特征融合,得到所述第N级上采样处理的输入。
- 根据权利要求12所述的装置,其特征在于,所述确定模块,具体用于,对所述检测图像的图像特征进行角点池化处理,得到处理结果;利用第一分支网络对所述处理结果进行卷积处理,得到目标检测对象对应的尺寸特征;利用第二分支网络对所述处理结果进行卷积处理,得到目标检测对象对应的角点特征;其中,第一分支网络与第二分支网络的通道数不同。
- 根据权利要求11至16任意一项所述的装置,其特征在于,所述提取模块,具体用于,根据所述尺寸特征和所述角点特征,确定与所述目标检测对象在所述检测图像中的图像区域存在映射关系的特征区域;在所述图像特征的特征区域提取所述目标检测对象对应的对象特征。
- 根据权利要求17所述的装置,其特征在于,所述目标检测对象对应的角点特征包括至少所述目标对象对应的第一角点特征和第二角点特征;所述目标检测对象对应的尺寸特征包括:所述目标检测对象在第一角点特征对应的长度特征和宽度特征,以及所述目标检测对象在第二角点特征对应的长度特征和宽度特征。
- 根据权利要求18所述的装置,其特征在于,所述装置还包括:合并模块,用于基于所述第一角点特征对应的长度特征和宽度特征以及所述第二角点特征对应的长度特征和宽度特征,确定所述目标检测对象在所述检测图像中的检测框;确定任意两个相互重叠的检测框之间的交并比;在所述交并比大于预设阈值的情况下,将所述任意两个重叠的检测框合并为一个检测框。
- 根据权利要求11至19任意一项所述的装置,其特征在于,所述分类模块,具体用于,对所述对象特征进行至少一级卷积处理,得到所述目标检测对象属于至少一个预设类别的概率;根据所述目标检测对象属于至少一个预设类别的概率,从所述预设类别中确定所述目标检测对象的类别。
- 一种电子设备,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为调用所述存储器存储的指令,以执行权利要求1至10中任意一项所述的方法。
- 一种计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现权利要求1至10中任意一项所述的方法。
- 一种计算机程序,所述计算机程序包括计算机可读代码,当所述计算机可读代码在电子设备中运行时,所述电子设备中的处理器执行用于实现权利要求1至10中任意一项所述的方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022519510A JP2022549728A (ja) | 2019-10-29 | 2019-12-20 | 目標検出方法及び装置、電子機器、並びに記憶媒体 |
KR1020227009421A KR20220050960A (ko) | 2019-10-29 | 2019-12-20 | 목표 검출 방법, 장치, 전자 기기 및 기억 매체 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911038042.3A CN110796649B (zh) | 2019-10-29 | 2019-10-29 | 目标检测方法及装置、电子设备和存储介质 |
CN201911038042.3 | 2019-10-29 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021082231A1 true WO2021082231A1 (zh) | 2021-05-06 |
Family
ID=69441803
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/127181 WO2021082231A1 (zh) | 2019-10-29 | 2019-12-20 | 目标检测方法及装置、电子设备和存储介质 |
Country Status (5)
Country | Link |
---|---|
JP (1) | JP2022549728A (zh) |
KR (1) | KR20220050960A (zh) |
CN (1) | CN110796649B (zh) |
TW (1) | TWI772757B (zh) |
WO (1) | WO2021082231A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113591843A (zh) * | 2021-07-12 | 2021-11-02 | 中国兵器工业计算机应用技术研究所 | 仿初级视觉皮层的目标检测方法、装置及设备 |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111401224B (zh) * | 2020-03-13 | 2023-05-23 | 北京字节跳动网络技术有限公司 | 目标检测方法、装置及电子设备 |
CN111582263A (zh) * | 2020-05-12 | 2020-08-25 | 上海眼控科技股份有限公司 | 车牌识别方法、装置、电子设备及存储介质 |
CN113066086B (zh) * | 2021-04-26 | 2022-08-30 | 深圳市商汤科技有限公司 | 道路病害检测方法及装置、电子设备和存储介质 |
CN113140005B (zh) * | 2021-04-29 | 2024-04-16 | 上海商汤科技开发有限公司 | 目标对象定位方法、装置、设备及存储介质 |
CN113936042B (zh) * | 2021-12-16 | 2022-04-05 | 深圳佑驾创新科技有限公司 | 一种目标跟踪方法、装置和计算机可读存储介质 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010182078A (ja) * | 2009-02-05 | 2010-08-19 | Olympus Corp | 画像処理装置及び画像処理プログラム |
CN108648163A (zh) * | 2018-05-17 | 2018-10-12 | 厦门美图之家科技有限公司 | 一种人脸图像的增强方法及计算设备 |
CN108846440A (zh) * | 2018-06-20 | 2018-11-20 | 腾讯科技(深圳)有限公司 | 图像处理方法及装置、计算机可读介质和电子设备 |
CN109034266A (zh) * | 2018-08-16 | 2018-12-18 | 新智数字科技有限公司 | 一种目标图像检测方法、装置及*** |
CN109118456A (zh) * | 2018-09-26 | 2019-01-01 | 北京字节跳动网络技术有限公司 | 图像处理方法和装置 |
CN109344727A (zh) * | 2018-09-07 | 2019-02-15 | 苏州创旅天下信息技术有限公司 | 身份证文本信息检测方法及装置、可读存储介质和终端 |
CN109344762A (zh) * | 2018-09-26 | 2019-02-15 | 北京字节跳动网络技术有限公司 | 图像处理方法和装置 |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108107571B (zh) * | 2013-10-30 | 2021-06-01 | 株式会社摩如富 | 图像处理装置及方法及非暂时性计算机可读记录介质 |
EP3511903A4 (en) * | 2016-09-12 | 2019-10-02 | Panasonic Intellectual Property Management Co., Ltd. | DEVICE FOR PRODUCING A THREE-DIMENSIONAL MODEL AND METHOD FOR GENERATING A THREE-DIMENSIONAL MODEL |
US10402943B2 (en) * | 2016-10-20 | 2019-09-03 | Htc Corporation | Image enhancement device and method for convolutional network apparatus |
US9946539B1 (en) * | 2017-05-23 | 2018-04-17 | Google Llc | Accessing data in multi-dimensional tensors using adders |
CN109145928B (zh) * | 2017-06-16 | 2020-10-27 | 杭州海康威视数字技术股份有限公司 | 一种基于图像的车头朝向识别方法及装置 |
CN107909093B (zh) * | 2017-10-27 | 2021-02-02 | 浙江大华技术股份有限公司 | 一种物品检测的方法及设备 |
CN108305260B (zh) * | 2018-03-02 | 2022-04-12 | 苏州大学 | 一种图像中角点的检测方法、装置及设备 |
CN108520229B (zh) * | 2018-04-04 | 2020-08-07 | 北京旷视科技有限公司 | 图像检测方法、装置、电子设备和计算机可读介质 |
CN109977997B (zh) * | 2019-02-13 | 2021-02-02 | 中国科学院自动化研究所 | 基于卷积神经网络快速鲁棒的图像目标检测与分割方法 |
CN110136136B (zh) * | 2019-05-27 | 2022-02-08 | 北京达佳互联信息技术有限公司 | 场景分割方法、装置、计算机设备及存储介质 |
-
2019
- 2019-10-29 CN CN201911038042.3A patent/CN110796649B/zh active Active
- 2019-12-20 KR KR1020227009421A patent/KR20220050960A/ko not_active Application Discontinuation
- 2019-12-20 JP JP2022519510A patent/JP2022549728A/ja not_active Withdrawn
- 2019-12-20 WO PCT/CN2019/127181 patent/WO2021082231A1/zh active Application Filing
-
2020
- 2020-02-27 TW TW109106534A patent/TWI772757B/zh active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010182078A (ja) * | 2009-02-05 | 2010-08-19 | Olympus Corp | 画像処理装置及び画像処理プログラム |
CN108648163A (zh) * | 2018-05-17 | 2018-10-12 | 厦门美图之家科技有限公司 | 一种人脸图像的增强方法及计算设备 |
CN108846440A (zh) * | 2018-06-20 | 2018-11-20 | 腾讯科技(深圳)有限公司 | 图像处理方法及装置、计算机可读介质和电子设备 |
CN109034266A (zh) * | 2018-08-16 | 2018-12-18 | 新智数字科技有限公司 | 一种目标图像检测方法、装置及*** |
CN109344727A (zh) * | 2018-09-07 | 2019-02-15 | 苏州创旅天下信息技术有限公司 | 身份证文本信息检测方法及装置、可读存储介质和终端 |
CN109118456A (zh) * | 2018-09-26 | 2019-01-01 | 北京字节跳动网络技术有限公司 | 图像处理方法和装置 |
CN109344762A (zh) * | 2018-09-26 | 2019-02-15 | 北京字节跳动网络技术有限公司 | 图像处理方法和装置 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113591843A (zh) * | 2021-07-12 | 2021-11-02 | 中国兵器工业计算机应用技术研究所 | 仿初级视觉皮层的目标检测方法、装置及设备 |
CN113591843B (zh) * | 2021-07-12 | 2024-04-09 | 中国兵器工业计算机应用技术研究所 | 仿初级视觉皮层的目标检测方法、装置及设备 |
Also Published As
Publication number | Publication date |
---|---|
CN110796649B (zh) | 2022-08-30 |
CN110796649A (zh) | 2020-02-14 |
JP2022549728A (ja) | 2022-11-28 |
TWI772757B (zh) | 2022-08-01 |
TW202117595A (zh) | 2021-05-01 |
KR20220050960A (ko) | 2022-04-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021082231A1 (zh) | 目标检测方法及装置、电子设备和存储介质 | |
CN109255352B (zh) | 目标检测方法、装置及*** | |
TWI766201B (zh) | 活體檢測方法、裝置以及儲存介質 | |
WO2021022983A1 (zh) | 图像处理方法和装置、电子设备、计算机可读存储介质 | |
US8406554B1 (en) | Image binarization based on grey membership parameters of pixels | |
CN111583097A (zh) | 图像处理方法、装置、电子设备及计算机可读存储介质 | |
WO2019214320A1 (zh) | 车辆损伤识别的处理方法、处理设备、客户端及服务器 | |
CN112784670A (zh) | 基于像素差异的对象检测 | |
CN110163188B (zh) | 视频处理以及在视频中嵌入目标对象的方法、装置和设备 | |
WO2021035812A1 (zh) | 一种图像处理方法及装置、电子设备和存储介质 | |
Yeh et al. | Real-time background modeling based on a multi-level texture description | |
JP2014531097A (ja) | マルチレイヤ連結成分をヒストグラムと共に用いるテキスト検出 | |
Xiao et al. | Defocus blur detection based on multiscale SVD fusion in gradient domain | |
WO2022217876A1 (zh) | 实例分割方法及装置、电子设备及存储介质 | |
US20220254251A1 (en) | Method of recognizing illegal parking of vehicle, device and storage medium | |
CN114663952A (zh) | 对象分类方法、深度学习模型的训练方法、装置和设备 | |
Zhang et al. | A crowd counting framework combining with crowd location | |
WO2019188053A1 (en) | Method, system and computer readable medium for integration and automatic switching of crowd estimation techniques | |
CN110879986A (zh) | 人脸识别的方法、设备和计算机可读存储介质 | |
CN117218622A (zh) | 路况检测方法、电子设备及存储介质 | |
WO2018058573A1 (zh) | 对象检测方法、对象检测装置以及电子设备 | |
WO2022111688A1 (zh) | 人脸活体检测方法、装置及存储介质 | |
CN111340044A (zh) | 图像处理方法、装置、电子设备及存储介质 | |
CN112052863B (zh) | 一种图像检测方法及装置、计算机存储介质、电子设备 | |
CN113256662A (zh) | 病理切片图像分割方法、装置、计算机设备和存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19950615 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 20227009421 Country of ref document: KR Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 2022519510 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19950615 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 05.09.2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19950615 Country of ref document: EP Kind code of ref document: A1 |