Identification method, device, equipment, medium, program product and vehicle

By combining gesture feature and temporal feature detection on multiple images, the problem of low single-frame image recognition accuracy is solved and higher accuracy of pedestrian gesture recognition is achieved.

CN118570866AInactive Publication Date: 2024-08-30BEIJING CO WHEELS TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310196048.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2024-08-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing pedestrian posture recognition methods have low accuracy when processing single-frame images, especially in complex road conditions, where it is difficult to accurately identify pedestrian postures.

Method used

By acquiring multiple images, gesture feature detection and timing feature detection are performed, and the gesture features and timing features are combined for classification detection to improve the recognition accuracy of pedestrian gestures.

Benefits of technology

Through the processing of multi-frame images, the posture category of pedestrians can be more accurately determined and the accuracy of pedestrian posture recognition can be improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570866A
    Figure CN118570866A
Patent Text Reader

Abstract

The invention discloses an identification method and device, equipment, a medium, a program product and a vehicle. The method comprises the following steps: firstly, acquiring a plurality of first images, detecting the plurality of first images to obtain first object attitude information of a target object, then carrying out time sequence feature detection on the first object attitude information to obtain second object attitude information, and further combining attitude feature detection and time sequence feature detection to obtain the target object attitude information. According to the invention, the posture of the target object in the plurality of first images is identified, that is, the posture classification result of the target object is determined through the posture information of the second object, so that the posture category of the target object is judged more accurately, and the accuracy of pedestrian posture identification is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of data processing technology, and in particular, relates to an identification method, device, equipment, medium, program product and vehicle. Background Art

[0002] Pedestrian posture recognition is one of the important tasks in computer vision and video surveillance, and it is also a field that has received much attention in recent years.

[0003] At present, the existing pedestrian posture recognition method uses a deep neural network to learn the representation of a single frame image, and learns the pedestrian feature information in a single frame image to extract a discriminative pedestrian representation. However, the walking posture of pedestrians is highly diverse, and the walking posture of pedestrians in some special road conditions (such as climbing stairs, going uphill, etc.) is also highly complex. Therefore, only recognizing a single frame image is likely to lead to errors in the recognition result. Therefore, the existing pedestrian posture recognition method has low accuracy. Summary of the invention

[0004] Embodiments of the present application provide an identification method, apparatus, device, medium, program product, and vehicle to improve identification accuracy.

[0005] In a first aspect, an embodiment of the present application provides an identification method, the method comprising:

[0006] Acquire a plurality of first images, each of the first images being an image including a target object;

[0007] For each of the first images, performing posture feature detection on the target object of the first image to obtain first object posture information corresponding to the first image;

[0008] For each of the first object posture information, perform time series feature detection on the first object posture information to obtain second object posture information corresponding to each of the first object posture information;

[0009] Classify and detect the plurality of pieces of the second object posture information to obtain a posture recognition result of the target object.

[0010] In a second aspect, an embodiment of the present application provides an identification device, the device comprising:

[0011] An acquisition module, used for acquiring a plurality of first images, each of which is an image including a target object;

[0012] A first detection module, configured to perform posture feature detection on each of the first images for a target object, and obtain first object posture information corresponding to the first image;

[0013] A second detection module is used to perform time series feature detection on each of the first object posture information to obtain second object posture information corresponding to each of the first object posture information;

[0014] The third detection module is used to classify and detect the plurality of the second object posture information to obtain the posture recognition result of the target object.

[0015] In a third aspect, an embodiment of the present application provides an identification device, the device comprising: a processor and a memory storing program instructions;

[0016] When the processor executes the program instructions, the method of the first aspect as described above is implemented.

[0017] In a fourth aspect, an embodiment of the present application provides a storage medium, characterized in that computer program instructions are stored on the storage medium, and when the computer program instructions are executed by a processor, the method of the first aspect described above is implemented.

[0018] In a fifth aspect, an embodiment of the present application provides a computer program product, characterized in that the computer program product includes computer program instructions, and when the computer program instructions are executed by a processor, the method of the first aspect described above is implemented.

[0019] In a sixth aspect, an embodiment of the present application provides a vehicle, comprising: the identification device of the second aspect or the identification equipment of the third aspect.

[0020] The recognition method, apparatus, equipment, medium, program product and vehicle of the embodiments of the present application can first detect multiple first images to obtain first object posture information of the target object, then perform time series feature detection on the first object posture information to obtain second object posture information, and then combine the posture feature detection and time series feature detection to recognize the posture of the target object in the multiple first images, that is, determine the posture classification result of the target object through the second object posture information, so as to more accurately judge the posture category of the target object and improve the accuracy of pedestrian posture recognition. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0022] Figure 1 is a flowchart of an identification method provided by an embodiment of the present application;

[0023] Figure 2is a flowchart of an identification method provided by another embodiment of the present application;

[0024] Figure 3 is a schematic diagram of the structure of an identification device provided in an embodiment of the present application;

[0025] Figure 4 It is a schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0026] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0027] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0028] Transformer is a model used for machine translation. The internal structure of Transformer is essentially an Encoder-Decoder structure.

[0029] Embodiments of the present application provide an identification method, apparatus, device, storage medium, and vehicle for improving identification accuracy.

[0030] The following first introduces the identification method provided in the embodiment of the present application.

[0031] Figure 1 The following is a flow chart of the identification method provided in the embodiment of the present application. Figure 1 As shown, the method is applied to the server and may include the following steps S101 to S104:

[0032] In S101 , a plurality of first images are acquired, each of which is an image including a target object.

[0033] Here, the multiple first images may be obtained from video data, which may be surveillance video or video shot by other equipment, and the video data may be a video including the target object, or may be obtained from images shot by a camera, which is not limited here.

[0034] Specifically, multiple first images are obtained. For video data, one image may be extracted every preset number of frames, so that multiple first images may be obtained. Optionally, the preset number of frames may be, for example, 10, and the preset number of frames is not specifically limited here. In this way, the efficiency of recognition may be effectively improved. The image may be an image obtained by shooting the target object.

[0035] Each first image is an image including a target object, and the target object is an object capable of moving, such as a pedestrian, an animal, a machine, etc. The first object is not specifically limited here.

[0036] In S102, for each first image, posture feature detection for the target object is performed on the first image to obtain first object posture information corresponding to the first image.

[0037] Specifically, after obtaining a plurality of first images, the posture features of the target objects in the first images are firstly detected.

[0038] Here, a variety of detection methods can be used for the posture detection of the target object, such as: yolov5 detection algorithm, multimodal binary classification network model, convolutional neural network (Convolutional Neural Networks, CNN), etc., to perform posture feature detection on the target object in the first image.

[0039] In some embodiments, S102 may include the following steps:

[0040] Using a convolutional neural network to extract features of the target object from each first image, and obtain initial object posture information corresponding to the first image;

[0041] For each initial object posture information, a dimensionality reduction operation is performed on the initial object posture information to obtain first object posture information corresponding to the first image, where the first object posture information includes a feature map whose number of channels is a target value.

[0042] Specifically, multiple first images are input into the convolutional neural network to obtain the initial object posture information of the target object in each image. Since the data dimension of the initial object posture information is relatively high, in order to simplify the calculation process, the initial object posture information can be subjected to dimensionality reduction processing to obtain the first object posture information. Object posture information Object posture information

[0043] In this embodiment, the initial object posture information can be reduced in dimension to reduce the error caused by redundant information and improve the recognition accuracy.

[0044] In some embodiments, the dimensionality reduction operation may be a 1*1 convolution operation on the initial object posture information to reduce the channels of the initial object posture information to a preset value. The number of channels (thickness) of the initial object posture information is reduced by a 1*1 convolution kernel without changing the width and height of the image, thereby reducing parameters, compressing the initial object posture information, obtaining the first object posture information, and improving the efficiency of recognition.

[0045] In some embodiments, the dimensionality reduction operation can also be a linear mapping to achieve dimensionality reduction. For example, the principal component analysis algorithm (PCA) maps high-dimensional data to a low-dimensional space through a certain linear projection, and expects the variance of the data to be the largest in the projected dimension, thereby using fewer data dimensions while retaining more characteristics of the original data points; linear discriminant analysis (LDA) can make the data easily distinguishable after dimensionality reduction. The data dimensionality reduction method can be based on user needs, and this application does not limit it.

[0046] In one example, the initial object posture information can be the feature map obtained by CNN of the first image. N images are passed through the convolutional neural network to obtain n feature maps, and the dimension of each feature map is C×H×W. Then, the channel of each feature map is reduced to 1 through 1*1 convolution operation, that is, the dimension of each feature map is H×W. In CNN, the dimension of the feature map is C×H×W, where C is the channel and also represents the number of convolution kernels. H and W are the height and width of the image after the original image is scaled.

[0047] In S103, for each piece of first object posture information, time series feature detection is performed on the first object posture information to obtain second object posture information corresponding to each piece of first object posture information.

[0048] Specifically, the multiple first images obtained are images including the target object, there is a time sequence relationship between the images, and the postures of the target objects in each image also have a time sequence relationship. Based on the complexity of pedestrian walking postures, the accuracy of judging pedestrian walking postures by a single frame image is not high. Therefore, in order to improve the accuracy of human body posture recognition, after performing posture feature detection on the target objects in the multiple first images, a time sequence detection of the target objects in the multiple first images is also added to obtain the posture information of the second object.

[0049] In some embodiments, S103 may include the following steps:

[0050] Performing position encoding on each first object posture information to obtain third object posture information corresponding to each first object posture information;

[0051] Performing linear mapping processing on each third object posture information to obtain fourth object posture information corresponding to each third object posture information;

[0052] Performing category word embedding processing on each fourth object posture information to obtain fifth object posture information corresponding to each fourth object posture information;

[0053] A time series feature detection is performed on each fifth object posture information to obtain the second object posture information corresponding to each fifth object posture information.

[0054] Specifically, before performing temporal feature detection on the second object posture information of the target object, the second object posture information needs to be processed by position encoding, linear mapping, and category word embedding. By performing position encoding on the second object posture information to obtain the third object posture information, the position of the feature element in the object posture information is increased. By performing linear mapping on the third object posture information to obtain the fourth object posture information, the high-dimensional feature vector in the third object posture information can be mapped to a low-dimensional feature vector, and the main features (principal element or principal component) of the original spatial data are extracted, reducing data redundancy, so that the data is processed in a low-dimensional feature space, while maintaining most of the useful information of the original data, thereby reducing the dimension of the third object posture information; performing category word embedding on the fourth object posture information to obtain the fifth object posture information is to map the features of the words in the fourth object posture information to a lower dimension. Word embedding is equivalent to embedding a word into a multidimensional feature matrix, and the value of each dimension represents the feature of the word in this dimension, thereby obtaining the fifth object posture information, and then performing temporal feature detection on the fifth object posture information to obtain the second object posture information including the temporal feature information of the target object in each first image.

[0055] Among them, the order of the steps of position encoding processing, linear mapping processing, and category word embedding processing can be adjusted according to actual conditions, and this application does not limit it.

[0056] Here, performing temporal feature detection on the fifth object posture information may be inputting a plurality of fifth object posture information into a Transformer encoder, and outputting the temporal feature of the fifth object posture information.

[0057] In some embodiments, the above

[0058] Position encoding is performed on each first object posture information to obtain third object posture information corresponding to each first object posture information, including:

[0059] Based on each first object posture information, using trigonometric functions, generating position coding information corresponding to each first object posture information;

[0060] Each first object posture information is fused with the corresponding position encoding information to obtain the third object posture information corresponding to each first object posture information. Among them, positional encoding can tell the Transformers model the position or location of an entity / word in the sequence, so that a unique representation is assigned to each position. Positional encoding maps each position / index to a vector. So the output of the position encoding layer is a matrix, where each row in the matrix is ​​the sum of the encoded word in the sequence and its position information.

[0061] Among them, positional encoding can include: sinusoidal positional encoding, which is processed by sin and cos functions; learned positional encoding: using positional encoding as a training parameter to generate a positional encoding matrix of "maximum length x encoding dimension", which is updated during training; triangular positional encoding (Sinusoidal Positional Encoding), etc.

[0062] In an embodiment of the present application, a position code may be generated for the object posture information of the target object to indicate the original position of the feature in the feature object posture information, so as to perform subsequent time series detection on the target object.

[0063] Position encoding is performed on each first object posture information to obtain third object posture information corresponding to each first object posture information, including:

[0064] Based on each first object posture information, using a pre-learned coding model, generating position coding information corresponding to each first object posture information, the coding model being learned by an initial coding matrix;

[0065] Each first object posture information is fused with the corresponding position coding information to obtain the third object posture information corresponding to each first object posture information.

[0066] In addition to the above-mentioned method of using trigonometric functions to generate position coding, the position coding information of the first object posture information can also be generated by machine learning. Specifically, an initial coding matrix is ​​first generated, and multiple first object posture information are input into a pre-learned coding model to obtain the second object posture information. That is, the corresponding coding position information is inserted into each first object posture information to obtain the third object posture information corresponding to the first object posture information.

[0067] In one example, the position encoding is a learnable position encoding, that is, the position matrix is ​​initialized directly through parameters (max_sequence_length, embedding_size), and the position encoding model can be obtained by letting the model learn.

[0068] In some embodiments, the above-mentioned performing the category word embedding process on each fourth object posture information to obtain the fifth object posture information corresponding to each fourth object posture information includes:

[0069] extracting category feature information from each fourth object posture information;

[0070] For each category feature information in the fourth object posture information, generate a word embedding representation corresponding to each fourth object posture information;

[0071] Each fourth object posture information is fused with the corresponding word embedding representation to obtain the fifth object posture information corresponding to each fourth object posture information.

[0072] Among them, word embedding is a type of word representation. Words with similar meanings have similar representations. It is a general term for methods of mapping vocabulary to real vectors. Word embedding can map the features of words to lower dimensions. Word embedding is equivalent to embedding a word into a multidimensional feature matrix, where the value of each dimension represents the features of the word in this dimension. Identifiers must be digitized so that they can be processed by machines.

[0073] Therefore, in this embodiment, the features of the category-related words in the object posture information of the target object can be mapped to a lower dimension, thereby reducing the difficulty of calculation and improving the recognition efficiency.

[0074] In S104, the plurality of second object posture information is classified and detected to obtain a posture recognition result of the target object.

[0075] Specifically, the second object posture information obtained after posture feature detection and timing feature detection includes the posture features and timing features of the target object in multiple images. By combining the posture features and timing features of the target object, the posture category of the target object in multiple first images is detected, which can improve the accuracy of posture recognition of the target object.

[0076] Here, performing posture category detection may be inputting the posture information of the second object into a multi-layer perceptron, so that the multi-layer perceptron detects the posture information of the second object to obtain a classification result.

[0077] In one example, if Figure 2 As shown, human body posture can be recognized through the following steps:

[0078] S201. Obtain n images captured by a camera (ie, obtain multiple first images).

[0079] S202.n images are passed through a convolutional neural network to obtain n feature maps, each of which has a dimension of CxHxW. Then, a 1*1 convolution operation is used to reduce the channel of each feature map to 1, that is, the dimension of each feature map is HxW (that is, a convolutional neural network is used to extract features of the target object for each first image to obtain initial object posture information corresponding to the first image; for each initial object posture information, a dimensionality reduction operation is performed on the initial object posture information to obtain first object posture information corresponding to the first image, and the first object posture information includes a feature map whose number of channels is a target value).

[0080] S203. Define a position encoding matrix of HxW dimensions. It can be manually defined using sincos, or the matrix can be initialized and obtained by learning (based on each first object posture information, using trigonometric functions, generating position encoding information corresponding to each first object posture information; fusing each first object posture information with the corresponding position encoding information, respectively, to obtain the third object posture information corresponding to each first object posture information; or, based on each first object posture information, using a pre-learned encoding model, generating position encoding information corresponding to each first object posture information, the encoding model is learned through the initial encoding matrix;

[0081] Each first object posture information is fused with the corresponding position coding information to obtain the third object posture information corresponding to each first object posture information).

[0082] S204. The feature map is fused with the corresponding position encoding matrix by summing to obtain new feature information X with a dimension of n×H0×W0 (i.e., each first object posture information is fused with the corresponding position encoding information to obtain the third object posture information corresponding to each first object posture information).

[0083] S205. Obtain feature information Y by linear mapping the new feature information X, with a dimension of n×L (ie, perform linear mapping processing on each third object posture information to obtain fourth object posture information corresponding to each third object posture information).

[0084] S206. Initialize a category word embedding and concatenate it with Y to obtain new feature information Y with a dimension of (n+1)×L (i.e., perform category word embedding processing on each fourth object posture information to obtain the fifth object posture information corresponding to each fourth object posture information, and fuse each fourth object posture information with the corresponding word embedding representation to obtain the fifth object posture information corresponding to each fourth object posture information).

[0085] S207. Input Y into the Transformer encoder to obtain feature information Z, with a dimension of (n+1)×L (ie, perform temporal feature detection on each fifth object posture information to obtain the second object posture information corresponding to each fifth object posture information).

[0086] S208. Output the final classification prediction vector through the multi-layer perceptron, the vector length is C (the number of categories), and obtain the classification result (that is, classify and detect the posture information of multiple second objects to obtain the posture recognition result of the target object).

[0087] In this embodiment, the image feature extraction of a single frame is first completed by CNN, and then the time sequence information of multiple frames is obtained using Transformer. The traditional transformer-based image classification method is to divide a single frame image into n blocks and input them into the transformer encoder. This method cannot solve the problem of posture sequence recognition. The present invention inputs the feature information of n frames into the transformer encoder, which can better obtain the motion characteristics of human body posture.

[0088] Based on the identification method provided in the above embodiment, the present application also provides a specific implementation of the identification device. Please refer to the following embodiment.

[0089] See first Figure 3 The identification device 300 provided in the embodiment of the present application may include the following modules:

[0090] An acquisition module 301 is used to acquire a plurality of first images, each of which is an image including a target object;

[0091] A first detection module 302 is used to perform posture feature detection on each first image for a target object to obtain first object posture information corresponding to the first image;

[0092] The second detection module 303 is used to perform time series feature detection on each first object posture information to obtain second object posture information corresponding to each first object posture information;

[0093] The third detection module 304 is used to classify and detect the posture information of multiple second objects to obtain the posture recognition result of the target object.

[0094] In an embodiment of the present application, it is possible to first detect multiple first images to obtain first object posture information of the target object, then perform time series feature detection on the first object posture information to obtain second object posture information, and then combine the posture feature detection and time series feature detection to identify the posture of the target object in the multiple first images, that is, determine the posture classification result of the target object through the second object posture information, so as to more accurately judge the posture category of the target object and improve the accuracy of pedestrian posture recognition.

[0095] In some embodiments, the first detection module 302 may include:

[0096] A first acquisition unit, used to acquire an initial recognition file corresponding to the recognition request;

[0097] A first encoding unit, used to encode the initial identification file by verifying the encoding information to obtain a first identification file;

[0098] The first detection module 302 may include:

[0099] A first extraction unit, configured to extract features of a target object in each first image using a convolutional neural network to obtain initial object posture information of the target object in the plurality of first images;

[0100] The first calculation unit is used to perform a 1*1 convolution operation on the initial object posture information of the target object in each first image to obtain the first object posture information of the target object in the multiple first images.

[0101] In some embodiments, the second detection module 303 may include:

[0102] A position encoding unit, used for performing position encoding on each first object posture information to obtain third object posture information corresponding to each first object posture information;

[0103] A first processing unit is used to perform linear mapping processing on each third object posture information to obtain fourth object posture information corresponding to each third object posture information;

[0104] A second processing unit is used to perform a category word embedding process on each fourth object posture information to obtain fifth object posture information corresponding to each fourth object posture information;

[0105] The third processing unit is used to perform time series feature detection on each fifth object posture information to obtain the second object posture information corresponding to each fifth object posture information.

[0106] In some embodiments, the position encoding unit is used to:

[0107] Based on each first object posture information, using trigonometric functions, generating position coding information corresponding to each first object posture information;

[0108] Each first object posture information is fused with the corresponding position coding information to obtain the third object posture information corresponding to each first object posture information.

[0109] In some embodiments, the position encoding unit is used to:

[0110] Based on each first object posture information, using a pre-learned coding model, generating position coding information corresponding to each first object posture information, the coding model being learned by an initial coding matrix;

[0111] Each first object posture information is fused with the corresponding position coding information to obtain the third object posture information corresponding to each first object posture information.

[0112] In some embodiments, the first processing unit is used to

[0113] extracting category feature information from each fourth object posture information;

[0114] For each category feature information in the fourth object posture information, generate a word embedding representation corresponding to each fourth object posture information;

[0115] Each fourth object posture information is fused with the corresponding word embedding representation to obtain the fifth object posture information corresponding to each fourth object posture information.

[0116] In some embodiments, the first detection module 302 is specifically used to extract features of the target object from each first image using a convolutional neural network to obtain initial object posture information corresponding to the first image;

[0117] For each initial object posture information, a dimensionality reduction operation is performed on the initial object posture information to obtain first object posture information corresponding to the first image, wherein the first object posture information includes a feature map with a target number of channels.

[0118] Based on the identification device provided in the above embodiment, the present application also provides a vehicle accordingly, and the vehicle includes: the above identification device, and the identification device is used to implement the identification method provided in the above embodiment.

[0119] Based on the identification method provided in the above embodiment, the present application also provides a specific implementation of the electronic device. Please refer to the following embodiment.

[0120] Figure 4 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.

[0121] The electronic device may include a processor 401 and a memory 402 storing computer program instructions.

[0122] Specifically, the processor 401 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0123] The memory 402 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 402 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In one example, the memory 402 may include a removable or non-removable (or fixed) medium, or the memory 402 is a non-volatile solid-state memory. The memory 402 may be inside or outside the integrated gateway disaster recovery device.

[0124] In one example, the memory 402 may be a read-only memory (ROM). In one example, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or a combination of two or more of these.

[0125] The memory 402 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to any embodiment of the present disclosure.

[0126] The processor 401 reads and executes the computer program instructions stored in the memory 402 to implement Figure 1 The method / steps S101 to S104 in the embodiment shown in the figure are achieved Figure 1 The corresponding technical effects achieved by executing the methods / steps in the examples shown are not repeated here for the sake of brevity.

[0127] In one example, the electronic device may further include a communication interface 404 and a bus 410. Figure 4 As shown, the processor 401, the memory 402, and the communication interface 404 are connected via a bus 410 and communicate with each other.

[0128] The communication interface 404 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0129] Bus 410 includes hardware, software or both, and the components of online data flow billing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (Accelerated Graphics Port, AGP) or other graphics bus, enhanced industry standard architecture (Extended Industry Standard Architecture, EISA) bus, front side bus (Front Side Bus, FSB), Hyper Transport (Hyper Transport, HT) interconnection, industry standard architecture (Industry Standard Architecture, ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 410 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.

[0130] Based on the identification device provided in the above embodiment, accordingly, the present application also provides a vehicle, the vehicle comprising: the above identification device, the identification device is used to implement the identification method provided in the above embodiment.

[0131] In addition, in combination with the identification method in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the identification methods in the above embodiment is implemented.

[0132] To summarize, in the identification method, device, vehicle equipment and computer storage medium of the embodiments of the present application, when identifying a vehicle functional unit, the server first sends a first identification file corresponding to the identification request to the vehicle terminal, and the vehicle terminal then sends the received identification file (i.e., the second identification file) to the server. The server verifies the received identification file (i.e., the third identification file). If the verification passes, it means that the identification file is legal and has not been changed. Then, an identification instruction is sent to the vehicle terminal, instructing the vehicle terminal to identify the corresponding functional unit, thereby ensuring the security of the identification file and improving the security of identification.

[0133] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0134] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), appropriate firmware, plug-in, function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or communication link by a data signal carried in a carrier. "Machine-readable medium" may include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (Radio Frequency, RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0135] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0136] The above reference is according to the method of the embodiment of the present application, the flow chart of the device (system) and the computer program product and / or the block diagram described various aspects of the present application.It should be understood that each square box in the flow chart and / or the block diagram and the combination of each square box in the flow chart and / or the block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in one or more square boxes of the flow chart and / or the block diagram.Such a processor can be but is not limited to a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square box in the block diagram and / or the flow chart and the combination of the square boxes in the block diagram and / or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.

[0137] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A recognition method, characterized in that: The method comprises: Acquire a plurality of first images, each of the first images being an image including a target object; For each of the first images, performing posture feature detection on the target object of the first image to obtain first object posture information corresponding to the first image; For each of the first object posture information, perform time series feature detection on the first object posture information to obtain second object posture information corresponding to each of the first object posture information; Classify and detect the plurality of pieces of the second object posture information to obtain a posture recognition result of the target object.

2. The method according to claim 1, characterized in that The step of performing time series feature detection on each of the first object posture information to obtain the second object posture information corresponding to each of the first object posture information includes: Performing position encoding on each of the first object posture information to obtain third object posture information corresponding to each of the first object posture information; Performing linear mapping processing on each of the third object posture information to obtain fourth object posture information corresponding to each of the third object posture information; Performing a category word embedding process on each of the fourth object posture information to obtain fifth object posture information corresponding to each of the fourth object posture information; A time series feature detection is performed on each piece of the fifth object posture information to obtain the second object posture information corresponding to each piece of the fifth object posture information.

3. The method according to claim 2, characterized in that The performing position encoding on each of the first object posture information to obtain the third object posture information corresponding to each of the first object posture information includes: Based on each of the first object posture information, using trigonometric functions, generating position coding information corresponding to each of the first object posture information; Each of the first object posture information is fused with the corresponding position coding information to obtain the third object posture information corresponding to each of the first object posture information.

4. The method according to claim 2, characterized in that: The performing position encoding on each of the first object posture information to obtain the third object posture information corresponding to each of the first object posture information includes: Based on each of the first object posture information, using a pre-learned coding model, generating position coding information corresponding to each of the first object posture information, wherein the coding model is learned by an initial coding matrix; Each of the first object posture information is fused with the corresponding position coding information to obtain the third object posture information corresponding to each of the first object posture information.

5. The method according to claim 2, characterized in that: The performing a category word embedding process on each of the fourth object posture information to obtain fifth object posture information corresponding to each of the fourth object posture information includes: Extracting category feature information from each of the fourth object posture information; For each of the category feature information in the fourth object posture information, generate a word embedding representation corresponding to each of the fourth object posture information; Each of the fourth object posture information is fused with the corresponding word embedding representation to obtain fifth object posture information corresponding to each of the fourth object posture information.

6. The method according to claim 1, characterized in that The step of performing posture feature detection on the target object for each of the first images to obtain first object posture information corresponding to the first image includes: Using a convolutional neural network to extract features of a target object from each of the first images, to obtain initial object posture information corresponding to the first image; For each of the initial object posture information, a dimensionality reduction operation is performed on the initial object posture information to obtain first object posture information corresponding to the first image, wherein the first object posture information includes a feature map whose number of channels is a target value.

7. An identification device, characterized in that: The device comprises: An acquisition module, used for acquiring a plurality of first images, each of which is an image including a target object; A first detection module, configured to perform posture feature detection on each of the first images for a target object, and obtain first object posture information corresponding to the first image; A second detection module is used to perform time series feature detection on each of the first object posture information to obtain second object posture information corresponding to each of the first object posture information; The third detection module is used to classify and detect the plurality of the second object posture information to obtain the posture recognition result of the target object.

8. An electronic device, characterized in that: The device comprises: a processor and a memory storing program instructions; When the processor executes the program instructions, the method according to any one of claims 1 to 6 is implemented.

9. A storage medium, characterized in that: The storage medium stores computer program instructions, which, when executed by a processor, implement the method according to any one of claims 1 to 6.

10. A computer program product, characterized in that The computer program product comprises computer program instructions, and when the computer program instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.

11. A vehicle, characterized in that: The vehicle comprises: The identification device as claimed in claim 7 or the identification apparatus as claimed in claim 8.

Citation Information

Patent Citations

  • Behavior recognition method, electronic device and storage medium

    CN113657163A

  • Limb movement recognition method and device, computer equipment and storage medium

    CN113903080A

  • Discrete representation video behavior recognition system and method

    CN113936243A

  • Method and apparatus for video recognition

    US20230046066A1