A violent sorting identification method, device, equipment and storage medium

By extracting the optical flow diagram and static feature data of the video frame, and combining the fusion recognition method of the convolutional neural network and the recurrent neural network, the problem of low accuracy of violent sorting recognition in the existing technology is solved, and higher recognition accuracy is achieved. performance and recognition efficiency.

CN112241665BActive Publication Date: 2024-10-15SF TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910649698.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-07-18
Publication Date
2024-10-15
Estimated Expiration
2039-07-18

AI Technical Summary

Technical Problem

The accuracy of existing violent sorting recognition methods is low, mainly due to errors in identifying violent sorting body areas in video frames, resulting in inaccurate recognition results.

Method used

By extracting two adjacent frames of images from the video to be recognized, extracting optical flow diagrams and static feature data, using convolutional neural networks for feature fusion, and combining with recurrent neural networks to adjust the recognition results to improve the accuracy of recognition.

Benefits of technology

By fusing the feature data of optical flow diagrams and image frames, the identified violent sorting personnel are more accurate. The two recognition results are combined to improve the accuracy of the recognition and reduce the complexity of the recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112241665B_ABST
    Figure CN112241665B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, equipment and storage medium for violent sorting identification. The method comprises: extracting two adjacent frames of images with a set time interval from the collected video to be identified, extracting an optical flow map from the two frames of images; fusing the feature data of the optical flow map with the feature data of the previous frame of image; and identifying violent sorting personnel based on the fused feature data. According to the technical solution provided in the embodiment of the present application, the method can improve the accuracy of violent sorting identification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application generally relates to the field of data processing, specifically to the field of image processing, and in particular to a violent sorting identification method, device, equipment and storage medium. Background Art

[0002] With the continuous development of the logistics industry, more and more people like to use express delivery to deliver items. During the transportation of items, they need to be sorted so that the items that need to enter the same next route are placed together. However, when there are many express deliveries, express sorting personnel may throw or throw express deliveries in order to increase the sorting speed. In order to reduce the phenomenon of violent sorting, it is necessary to identify violent sorting.

[0003] The existing violent sorting identification method is as follows: after receiving the video to be identified, the video frame is obtained, and the area of ​​the limb that causes violent sorting is first identified in the video frame, such as the arm or leg that throws the express; then based on the area of ​​the limb marked in the video frame, the violent sorting personnel are further identified. However, if the area of ​​the limb that causes violent sorting is incorrectly identified in the video frame, it directly leads to an error in the violent sorting identification result, so the accuracy of violent sorting identification in the existing technology is low. Summary of the invention

[0004] In view of the problem of low accuracy of violent sorting identification in the prior art, the present application proposes a violent sorting identification method, device, equipment and storage medium, which can improve the accuracy of violent sorting identification.

[0005] In a first aspect, an embodiment of the present application provides a method for identifying violent sorting, the method comprising:

[0006] Extracting two adjacent frames of images with a set time interval from the collected video to be recognized, and extracting an optical flow map from the two frames of images;

[0007] Fuse the feature data of the optical flow map with the feature data of the previous frame image;

[0008] Identify violent sorters based on fused feature data.

[0009] Optionally, fusing the feature data of the optical flow map with the feature data of the previous frame image includes:

[0010] Using the first network to perform convolution feature extraction of at least two convolution layers on the previous frame image, and obtain multiple static feature maps of each convolution layer respectively;

[0011] Using the second network to perform convolution feature extraction of at least two convolution layers on the optical flow map, and obtain multiple optical flow feature maps of each convolution layer;

[0012] The feature maps of the corresponding convolutional layers of the first network and the second network are linearly superimposed respectively, and subjected to deconvolution operation of the second network to obtain fused feature data;

[0013] Among them, the corresponding convolutional layers of the first network and the second network use the same convolution operation, and the corresponding convolutional layers of the two can obtain the same number of feature maps.

[0014] Optionally, the first network and the second network are mobileNet convolutional neural networks.

[0015] Optionally, the number of convolutional layers of the second network is greater than or equal to the number of convolutional layers of the first network.

[0016] Optionally, identifying sorting personnel who engage in violent sorting also includes:

[0017] The fused feature data is input into the third network, and the third network adjusts the identified violent sorters according to the feature data of the previous video frame.

[0018] Optionally, the third network adopts a convlstm recurrent neural network.

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

[0020] An extraction module is used to extract two adjacent frames of images with a set time interval from the collected video to be identified, and extract an optical flow map from the two frames of images;

[0021] A fusion module is used to fuse the feature data of the optical flow map with the feature data of the previous frame image;

[0022] The recognition module is used to identify violent sorters based on the fused feature data.

[0023] Optionally, the fusion module is also used to:

[0024] Using the first network to perform convolution feature extraction of at least two convolution layers on the previous frame image, and obtain multiple static feature maps of each convolution layer respectively;

[0025] Using the second network to perform convolution feature extraction of at least two convolution layers on the optical flow map, and obtain multiple optical flow feature maps of each convolution layer;

[0026] The feature maps of the corresponding convolutional layers of the first network and the second network are linearly superimposed respectively, and subjected to deconvolution operation of the second network to obtain fused feature data;

[0027] Among them, the corresponding convolutional layers of the first network and the second network use the same convolution operation, and the corresponding convolutional layers of the two can obtain the same number of feature maps.

[0028] In a third aspect, an embodiment of the present application provides a computer device, including:

[0029] One or more processors;

[0030] A memory for storing one or more programs;

[0031] When one or more programs are executed by one or more processors, the one or more processors are enabled to execute the method for implementing the above-mentioned first aspect.

[0032] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and the computer program is used to implement the method of the first aspect above.

[0033] In summary, the violent sorting identification method provided in the embodiment of the present application identifies violent sorting personnel by fusing the feature data of the optical flow map and the feature data of the image frame. Compared with the prior art that further identifies violent sorting personnel based on the violent sorting limbs identified in the image frame, the violent sorting method provided in the embodiment of the present application combines the contour of the violent sorting personnel identified by the image frame with the area of ​​the violent sorting personnel identified by the optical flow map to identify the violent sorting personnel. The violent sorting personnel identified in this way integrates the recognition results of the two images, thereby improving the recognition accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or the prior art description. Obviously, the drawings are only used to illustrate the preferred implementation method and are not considered to be limitations of the present invention. It should also be noted that, for the convenience of description, only the relevant parts of the present invention are shown in the drawings, not all.

[0035] Figure 1 It is an implementation environment architecture diagram of a violent sorting identification method according to an embodiment of the present application;

[0036] Figure 2 is a flow chart of a violent sorting identification method according to an embodiment of the present application;

[0037] Figure 3 is a flow chart of another violent sorting identification method according to an embodiment of the present application;

[0038] Figure 4 is a violent sorting recognition output result diagram shown according to an embodiment of the present application;

[0039] Figure 5 is a block diagram of a violent sorting identification device according to an embodiment of the present application;

[0040] Figure 6 is a block diagram of another violent sorting identification device according to an embodiment of the present application;

[0041] Figure 7 It is a structural diagram of a computer system according to an embodiment of the present application. DETAILED DESCRIPTION

[0042] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the invention are shown in the accompanying drawings.

[0043] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0044] Figure 1 FIG. 1 is a diagram of an implementation environment of a violent sorting identification method according to an embodiment of the present application. Figure 1 As shown, the implementation environment architecture includes: a first terminal 110, a second terminal 120 and a scene to be identified 130.

[0045] The first terminal 110 may be at least one camera ( Figure 1 3 cameras are shown, namely, camera 1, camera 2 and camera 3, for shooting the scene to be identified 130, thereby obtaining the video to be identified. When the first terminal 110 is a plurality of cameras, the scene to be identified 130 can be shot from different angles, thereby obtaining the videos to be identified from different angles. When determining the violent sorting personnel, the recognition results of each video to be identified can be combined to improve the recognition accuracy.

[0046] The second terminal 120 is a terminal with a video processing function, for example, a computer. The second terminal 120 is used to receive the video to be identified sent by the first terminal 110, and identify the violent sorting personnel included in the video to be identified after video processing.

[0047] Of course, one terminal can also be used to both capture the video to be identified and identify the video to be identified. At this time, it is required that the one terminal has both a camera function and a video processing function.

[0048] Among them, the scene to be identified 130 can be but is not limited to a courier sorting scene.

[0049] Figure 2 It is a flow chart of a violent sorting identification method according to an embodiment of the present application. Figure 2 The method shown can be Figure 1 The second terminal 120 in the embodiment executes, Figure 2 As shown, the method comprises the following steps:

[0050] Step 201 : extract two adjacent frames of images with a set time interval from the collected video to be recognized, and extract an optical flow map from the two frames of images.

[0051] The set time interval may be any time interval set as required, for example, the time interval may be 1 second, 2 seconds, or 3 seconds.

[0052] The steps of extracting the optical flow map from the two frames of images may include:

[0053] First, extract the optical flow in the x-axis direction and the optical flow in the y-axis direction from the two frames of images;

[0054] Then, the optical flow in the x-axis direction and the optical flow in the y-axis direction are superimposed to obtain an optical flow map.

[0055] In addition, the extraction of optical flow in the x-axis direction and the optical flow in the y-axis direction from two frames of images is a prior art and will not be elaborated here.

[0056] Since the optical flow is sensitive to the motion areas in the video, including the previous and next frames, the areas with motion features can be marked as bright colors, and the areas without motion features can be marked as dark colors. Therefore, after the optical flow map is obtained by superimposing the optical flow in the x-axis direction and the optical flow in the y-axis direction, the optical flow map is also sensitive to the motion areas. Therefore, correspondingly, the optical flow map can be used to identify the areas with motion features in the previous and next frames. Specifically, the optical flow map can also mark the areas with motion features as bright colors and the areas without motion features as dark colors to identify the areas with motion features in the image. Optionally, the areas in the two frames where violent sorting actions occur can also be marked with other specified colors, such as white, red, etc.

[0057] For example, if the violent sorting action is throwing the parcel by hand, the arm and hand that generate the violent sorting action, as well as the parcel being thrown, all have motion features. In the optical flow image extracted by the method described in step 201, the arm, hand, and the area of ​​the parcel being thrown will all be marked as bright, while other areas will be marked as dark.

[0058] Step 202: Fusing the feature data of the optical flow map with the feature data of the previous frame image.

[0059] Optionally, step 202 may be implemented by the following three steps:

[0060] Step 1: Use the first network to perform convolution feature extraction of at least two convolution layers on the previous frame image, and obtain multiple static feature maps of each convolution layer.

[0061] The first network may be a mobileNet convolutional neural network. Furthermore, the first network may be configured with any number of convolutional layers as required, for example, 4 layers, 5 layers, etc.

[0062] In addition, optionally, the first network can also perform a convolutional feature extraction of a convolutional layer on the previous frame image to increase the speed of the operation.

[0063] In addition, it should be noted that the number of convolutional layers of the first network, the convolutional features that can be extracted, the parameters of the convolution kernel and other related parameters can all be obtained through pre-training.

[0064] Optionally, the convolutional features extracted by the first network may include contour features of the violent sorting personnel or regional features of the violent sorting personnel. Optionally, the regional feature extraction of the sorting personnel may be implemented by the color features of the sorting personnel's clothing.

[0065] Optionally, the convolutional features extracted by the first network may also include regions of objects that are violently sorted.

[0066] Step 2: Use the second network to perform convolutional feature extraction of at least two convolutional layers on the optical flow map to obtain multiple optical flow feature maps of each convolutional layer.

[0067] Among them, the second network can be a mobileNet convolutional neural network.

[0068] Furthermore, the second network can be set with any number of convolutional layers as needed, for example, 4 layers, 5 layers, etc.

[0069] In addition, the second network can also perform a convolutional feature extraction of a convolutional layer on the optical flow map to increase the speed of calculation.

[0070] In addition, it should be noted that the number of convolutional layers of the second network, the convolutional features that can be extracted, the parameters of the convolution kernel and other related parameters can all be obtained through pre-training.

[0071] Optionally, the second network extracts regional features of the violent sorting action (which may include a limb that produces the violent sorting and an object that is violently sorted).

[0072] In addition, when multiple optical flow feature maps are initially presented, the areas where violent sorting actions occur are brighter areas, and the areas where non-violent sorting actions occur are darker areas. Of course, the marked violent sorting action areas and non-violent sorting areas can be any color specified as needed. For example, the violent sorting action areas are set to white, and the non-violent sorting areas are set to black.

[0073] Step 3: Linearly superimpose the feature maps of the corresponding convolutional layers of the first network and the second network respectively, and perform deconvolution operation on the second network to obtain fused feature data.

[0074] Optionally, when the convolutional features extracted by the first network are contour features of violently sorting personnel, the fused feature data includes contour features of the violently sorting personnel and regional features of the violent sorting action.

[0075] Optionally, when the convolutional features extracted by the first network are regional features of violent sorting personnel, the fused feature data includes regional features of violent sorting personnel and regional features of violent sorting actions.

[0076] Optionally, when the convolutional features extracted by the first network also include the region of the violently sorted objects, the fused feature data also includes the region of the violently sorted objects.

[0077] In addition, the purpose of feature fusion is to first accurately locate the area where the sorting personnel perform violent sorting actions through the optical flow feature map, and then determine the area where the sorting personnel perform violent sorting actions through the static feature map.

[0078] Among them, the convolution layers corresponding to the first network and the second network use the same convolution operation, and the corresponding convolution layers of the two can obtain the same number of feature maps to achieve linear superposition and fusion of feature data.

[0079] Optionally, the number of convolutional layers of the second network is greater than or equal to the number of convolutional layers of the first network, so as to ensure that the output from each layer of the first network can be input into the corresponding convolutional layer of the second network.

[0080] In addition, since the video frame passes through the convolution layers of the first network and the second network, the frame image will be reduced. Therefore, the second network may also include a deconvolution operation. Optionally, the deconvolution operation may include multiple operations for enlarging the frame image to restore it to its original size. Of course, other methods may also be used to change the frame image to restore its size. For example, a pixel filling method may also be used.

[0081] Step 203, identifying violent sorting personnel based on the fused feature data.

[0082] In this step, the second network further determines the sorting personnel who have engaged in violent sorting based on the fused feature data. The fused feature data includes the contour / regional features of the violent sorting personnel and the regional features of the violent sorting action, so these features can be used to identify the sorting personnel at which position in the image have engaged in violent sorting behavior.

[0083] It should be noted that during the sorting process, all sorting personnel involved will perform sorting actions. As to whether it constitutes violent sorting, the level can be set by obtaining the optical flow information in the optical path diagram.

[0084] Figure 3 FIG. 1 is a flow chart of another violent sorting identification method shown in an embodiment of the present application. The method is to Figure 2 The violent sorting identification method shown is implemented by adding step 204, which can be:

[0085] Step 204, input the fused feature data into the third network, and the third network adjusts the identified violent sorting personnel according to the feature data of the previous video frame.

[0086] Among them, adjusting the identified violent sorting personnel includes adjusting the margins of the sorting personnel.

[0087] Since the third network adjusts the identified violent sorters based on the feature data of the previous video frame, the adjusted video frame includes not only the feature data of the current video frame, but also the feature data of the previous frame, thereby improving the accuracy of identifying violent sorters.

[0088] Optionally, the third network adopts a convlstm recurrent neural network.

[0089] Since the image of the violent sorting personnel identified in step 203 or step 204 is a binary image, for example, Figure 4 As shown, based on these features, we can only identify which sorting personnel in the image have violent sorting behavior, but cannot determine who is doing the violent sorting. Therefore, when it is necessary to identify the violent sorting personnel, it is also necessary to compare the fused feature data with the original video frame to identify the violent sorting personnel. Optionally, this can be achieved by the following method:

[0090] First, the area of ​​the fused feature data in the labeled image is determined; then, the same area is determined in the original video frame, and the determined area is marked as the identified violent sorting area, thereby identifying the violent sorting personnel.

[0091] In addition, when marking the determined area, the principle is to facilitate the identification of the violent sorting personnel and / or the violently sorted objects. For example, the area can be brightened or darkened, or it can be circled with lines.

[0092] In addition, every time a violent sorter is identified, the information of the violent sorter can be counted, for example, the number of times he / she performs violent sorting within a fixed time, the name and characteristics (for example, fragility, flammability, etc.) of the violently sorted objects, and the severity of the violent sorting can be determined by the characteristics of the objects and the number of times, so that supervisors can take corresponding measures based on the statistical information to regulate the sorting order.

[0093] In addition, it should be noted that the embodiment of the present application takes express sorting as an example, but is not limited to express sorting and can also be applied to other scenarios. For example, it can also identify whether school students have fighting, brawling, and other behaviors that do not comply with school regulations.

[0094] In summary, the violent sorting identification method provided in the embodiment of the present application identifies violent sorting personnel by fusing the feature data of the optical flow map and the feature data of the image frame. Compared with the prior art that further identifies violent sorting personnel based on violent sorting limbs identified in the image frame, the violent sorting method provided in the embodiment of the present application combines the contour of the violent sorting personnel identified in the image frame with the area of ​​the violent sorting personnel identified in the optical flow map to identify the violent sorting personnel. The violent sorting personnel identified in this way combines the recognition results of the two images, thereby improving the recognition accuracy. Furthermore, by using a recurrent neural network to adjust the contour of the violent sorting personnel that has been output according to the contour of the currently output violent sorting personnel, the recognition accuracy is further improved.

[0095] In addition, the violent sorting identification method provided in the embodiment of the present application can not only identify the sorting personnel who perform violent sorting, but also identify the objects that are violently sorted; further, the severity of the violent sorting can be determined by the characteristics of the object to improve the convenience of violent sorting management.

[0096] In addition, the violent sorting identification method provided in the embodiment of the present application uses a mobileNet convolutional neural network as the first network and the second network. The network has low time complexity and space complexity, which can effectively reduce the complexity of violent sorting identification and improve recognition efficiency.

[0097] The embodiments in this specification are described in a progressive manner, and similar parts between the various embodiments refer to each other. The embodiments under each step focus on the specific method under the step. The above-described implementation scheme is merely illustrative, and the specific embodiments are only examples for illustrating the present invention. Technicians in the technical field to which the present invention belongs can also make several improvements and modifications without departing from the principles described in the embodiments of the present invention, and these improvements should also be regarded as the scope of protection of the present invention.

[0098] Figure 5 FIG. 1 is a block diagram of a violent sorting identification device according to an embodiment of the present application. Figure 5 As shown, the device comprises:

[0099] An extraction module 401 is used to extract two adjacent frames of images with a set time interval from the collected video to be identified, and extract an optical flow map from the two frames of images;

[0100] A fusion module 402 is used to fuse the feature data of the optical flow map with the feature data of the previous frame image;

[0101] The identification module 403 is used to identify violent sorting personnel based on the fused feature data.

[0102] Optionally, the fusion module 402 is further configured to:

[0103] Using the first network to perform convolution feature extraction of at least two convolution layers on the previous frame image, and obtain multiple static feature maps of each convolution layer respectively;

[0104] Using the second network to perform convolution feature extraction of at least two convolution layers on the optical flow map, and obtain multiple optical flow feature maps of each convolution layer;

[0105] The feature maps of the corresponding convolutional layers of the first network and the second network are linearly superimposed respectively, and subjected to deconvolution operation of the second network to obtain fused feature data;

[0106] Among them, the corresponding convolutional layers of the first network and the second network use the same convolution operation, and the corresponding convolutional layers of the two can obtain the same number of feature maps.

[0107] Optionally, the first network and the second network are mobileNet convolutional neural networks.

[0108] Optionally, the number of convolutional layers of the second network is greater than or equal to the number of convolutional layers of the first network.

[0109] Alternatively, see Figure 6 , Figure 6 Another violent sorting identification device is shown according to an embodiment of the present application. Figure 5 The basis shown also includes:

[0110] The adjustment module 404 is used to input the fused feature data into the third network, and the third network adjusts the identified violent sorting personnel according to the feature data of the previous video frame.

[0111] Optionally, the third network adopts a convlstm recurrent neural network.

[0112] In addition, it should be noted that for the relevant contents in the device embodiment, please refer to the method embodiment and will not be repeated here.

[0113] In summary, the violent sorting identification device provided in the embodiment of the present application identifies violent sorting personnel by fusing the feature data of the optical flow map and the feature data of the image frame. Compared with the prior art that further identifies violent sorting personnel based on violent sorting limbs identified in the image frame, the violent sorting method provided in the embodiment of the present application combines the contour of the violent sorting personnel identified in the image frame with the area of ​​the violent sorting personnel identified in the optical flow map to identify the violent sorting personnel. The violent sorting personnel identified in this way combines the recognition results of the two images, thereby improving the recognition accuracy. Furthermore, by using a recurrent neural network to adjust the contour of the violent sorting personnel that has been output according to the contour of the currently output violent sorting personnel, the recognition accuracy is further improved.

[0114] In addition, the violent sorting identification device provided in the embodiment of the present application can not only identify the sorting personnel who perform violent sorting, but also identify the objects that are violently sorted; further, the severity of the violent sorting can be determined by the characteristics of the object to improve the convenience of violent sorting management.

[0115] In addition, the violent sorting identification device provided in the embodiment of the present application uses a mobileNet convolutional neural network as the first network and the second network. The network has low time complexity and space complexity, which can effectively reduce the complexity of violent sorting identification and improve identification efficiency.

[0116] Figure 7 600 is a schematic diagram of a computer system 600 according to an embodiment of the present application. The computer system includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part to a random access memory (RAM) 603. In RAM 603, various programs and data required for system operation are also stored. CPU 601, ROM 602 and RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to bus 604.

[0117] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.

[0118] In particular, according to an embodiment of the present invention, the above reference process Figure 2 and 3 The described process can be implemented as a computer software program. For example, embodiments 2 and 3 of the present invention include a computer program product, which includes a computer program carried on a computer readable medium, and the computer program contains program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part, and / or installed from a removable medium. When the computer program is executed by a central processing unit (CPU) 601, the above-mentioned functions defined in the system of the present application are executed.

[0119] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0120] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0121] The units involved in the embodiments of the present invention may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, limit the units themselves. The units or modules described may also be set in a processor, for example, may be described as: a processor includes an extraction module, a fusion module, and a recognition module. The names of these units or modules do not, in some cases, limit the units or modules themselves.

[0122] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the violent sorting identification method described in the above embodiment.

[0123] For example, the electronic device may implement Figure 2 As shown in: Step 201, extract two adjacent frames of images with a set time interval from the collected video to be identified, and extract an optical flow map from the two frames of images; Step 202, fuse the feature data of the optical flow map with the feature data of the previous frame of image; Step 203, identify the violent sorting personnel based on the fused feature data. For another example, the electronic device can also implement the following Figure 3 The steps shown in .

[0124] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0125] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0126] Through the description of the above implementations, those skilled in the art can easily understand that the example implementations described here can be implemented by software, or by combining software with necessary hardware.

[0127] In summary, the violent sorting and identification computer system provided in the embodiment of the present application identifies violent sorting personnel by fusing the feature data of the optical flow map and the feature data of the image frame. Compared with the prior art that further identifies violent sorting personnel based on the violent sorting limbs identified in the image frame, the violent sorting method provided in the embodiment of the present application combines the contour of the violent sorting personnel identified by the image frame with the area of ​​the violent sorting personnel identified by the optical flow map to identify the violent sorting personnel. The violent sorting personnel identified in this way integrates the recognition results of the two images, thereby improving the recognition accuracy.

[0128] In addition, by using a recurrent neural network to adjust the outputted contour of the violent sorting personnel according to the currently outputted contour of the violent sorting personnel, the recognition accuracy can be further improved.

[0129] In addition, the violent sorting identification computer system provided in the embodiment of the present application can not only identify the sorting personnel who perform violent sorting, but also identify the objects that are violently sorted; further, the severity of the violent sorting can be determined by the characteristics of the object to improve the convenience of violent sorting management.

[0130] In addition, the violent sorting and identification computer system provided in the embodiment of the present application uses a mobileNet convolutional neural network as the first network and the second network. The network has low time complexity and space complexity, which can effectively reduce the complexity of violent sorting and identification and improve identification efficiency.

[0131] The above are only preferred embodiments of the present application and descriptions of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above invention concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other.

Claims

1. A violent sorting identification method, characterized in that: The method comprises: Extracting two adjacent frames of images with a set time interval from the collected video to be recognized, and extracting an optical flow map from the two frames of images; Fusing the feature data of the optical flow map with the feature data of the previous frame image; Identify violent sorters based on fused feature data; The fusing the feature data of the optical flow map with the feature data of the previous frame image comprises: Using the first network, extract convolutional features of at least two convolutional layers on the previous frame image to obtain multiple static feature maps of each convolutional layer; Using a second network to perform convolution feature extraction of at least two convolution layers on the optical flow map, and obtain multiple optical flow feature maps of each convolution layer respectively; Linearly superimposing the feature maps of the convolutional layers corresponding to the first network and the second network respectively, and performing a deconvolution operation of the second network to obtain fused feature data; The corresponding convolutional layers of the first network and the second network use the same convolution operation, and the corresponding convolutional layers of the two networks can obtain the same number of feature maps; the fused feature data includes the contour / regional features of the violent sorting personnel and the regional features of the violent sorting actions.

2. The violent sorting identification method according to claim 1 is characterized in that: The first network and the second network are mobileNet convolutional neural networks.

3. The violent sorting identification method according to claim 2 is characterized in that: The number of convolutional layers of the second network is greater than or equal to the number of convolutional layers of the first network.

4. The violent sorting identification method according to claim 1 is characterized in that: The identification of violent sorting personnel also includes: The fused feature data is input into a third network, and the third network adjusts the identified sorting personnel according to the feature data of a previous video frame.

5. The violent sorting identification method according to claim 4 is characterized in that: The third network adopts a convlstm recurrent neural network.

6. A violent sorting identification device, characterized in that: The device comprises: An extraction module is used to extract two adjacent frames of images with a set time interval from the collected video to be identified, and extract an optical flow map from the two frames of images; A fusion module, used to fuse the feature data of the optical flow map with the feature data of the previous frame image; Identification module, used to identify violent sorters based on fused feature data; The fusion module is also used for: Using the first network, extract convolutional features of at least two convolutional layers on the previous frame image to obtain multiple static feature maps of each convolutional layer; Using a second network to perform convolution feature extraction of at least two convolution layers on the optical flow map, and obtain multiple optical flow feature maps of each convolution layer respectively; Linearly superimposing the feature maps of the convolutional layers corresponding to the first network and the second network respectively, and performing a deconvolution operation of the second network to obtain fused feature data; The first network and the second network corresponding convolution layers use the same convolution operation, and the corresponding convolution layers of the two networks can obtain the same number of feature maps; The fused feature data include the outline / regional features of the violent sorting personnel and the regional features of the violent sorting actions.

7. A computer device, characterized in that: The device comprises: One or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: A computer program is stored thereon, the computer program being used to: When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.