An intelligent video recognition and perception method based on wireless communication technology

By building a video image super-resolution reconstruction model and background removal technology in the cloud server host, the problem that existing technology cannot meet the needs of video recognition is solved, and the effect of wireless video recognition and reduction of chemical reagent pollution is achieved.

CN112733894BActive Publication Date: 2024-10-15GUANGDONG PLANNING & DESIGNING INST OF TELECOMM
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202011603683.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-29
Publication Date
2024-10-15
Estimated Expiration
2040-12-29

AI Technical Summary

Technical Problem

Existing technology cannot meet people's external needs for video recognition, and chemical reagents used to remove heavy metals from soil will damage the soil ecological environment and pollute the environment.

Method used

Design an intelligent video recognition and perception method based on wireless communication technology. By building a video image super-resolution reconstruction model in the cloud server host, using the front and rear convolutional layer network for video image processing and background removal, video recognition is realized and the results are transmitted to client.

Benefits of technology

It enables users to conduct video recognition anytime and anywhere, improves recognition efficiency and quality, reduces system operating costs, and avoids the pollution of the soil environment by chemical reagents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure BDA0002869934870000031
    Figure BDA0002869934870000031
  • Figure BDA0002869934870000041
    Figure BDA0002869934870000041
  • Figure BDA0002869934870000042
    Figure BDA0002869934870000042
Patent Text Reader

Abstract

The present invention relates to the field of video recognition and perception technology, and in particular to an intelligent video recognition and perception method based on wireless communication technology, comprising the following steps: S1, constructing a video image super-resolution reconstruction model in a cloud server host, inputting a training set into the video image super-resolution reconstruction model for training, obtaining a reconstruction result after processing by the video image super-resolution reconstruction model, calculating and processing the obtained reconstruction result and the corresponding original high-resolution image, thereby obtaining a loss function of the video image super-resolution reconstruction model, and stopping the training when a set number of training times is reached, or the value of the loss function drops below a standard value, and saving corresponding network parameters. The present invention can effectively solve the problem that people can only upload the video to a computer first, and then use the video recognition software in the computer to recognize and process the video when recognizing and perceiving the video, which cannot meet people's needs for video recognition when going out.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of video recognition and perception technology, and in particular to an intelligent video recognition and perception method based on wireless communication technology. Background Art

[0002] Video content recognition has become one of the current research hotspots and is increasingly attracting people's attention. Video recognition technology is very popular both at home and abroad. Foreign countries have conducted in-depth research on common recognition schemes such as action recognition. With the continuous advancement of artificial intelligence algorithm design and implementation, deep learning plays an increasingly important role in industrial production and people's lives. Its application areas are becoming more and more, and its contribution rate to the recognition field is also increasing.

[0003] Currently, when people recognize and perceive videos, they can only upload the videos to a computer first, and then use the video recognition software in the computer to recognize and process the videos. This cannot meet people's needs for video recognition when they are out.

[0004] In summary, the present invention solves the existing problems by designing an intelligent video recognition and perception method based on wireless communication technology. Summary of the invention

[0005] The purpose of the present invention is to provide an intelligent video recognition and perception method based on wireless communication technology to solve the problem that people generally use chemical reagents to treat the soil in order to repair the ecological environment of the soil to remove the heavy metal elements contained in the soil, but the chemical reagents used damage the ecological environment of the soil itself, and the chemical reagents remaining in the soil will also enter the surrounding environment with water and air, polluting the environment.

[0006] To achieve the above object, the present invention provides the following technical solutions:

[0007] An intelligent video recognition and perception method based on wireless communication technology comprises the following steps:

[0008] S1, constructing a video image super-resolution reconstruction model in a cloud server host, inputting a training set into the video image super-resolution reconstruction model for training, obtaining a reconstruction result after being processed by the video image super-resolution reconstruction model, calculating and processing the obtained reconstruction result and the corresponding original high-resolution image, thereby obtaining a loss function of the video image super-resolution reconstruction model, and stopping the training when the set number of training times is reached or the value of the loss function drops below a standard value, and saving the corresponding network parameters;

[0009] S2, the user inputs the video into the video image super-resolution reconstruction model in the cloud service host through the wireless communication network, and the video image super-resolution reconstruction model processes and analyzes the input video to obtain a high-resolution video image;

[0010] S3, removing the background of the processed high-resolution video image to obtain a video image without background image interference, and the cloud server host performs recognition processing on the processed video image.

[0011] Preferably, the video image super-resolution reconstruction model in S1 is composed of a front convolutional layer network and a rear convolutional layer network, and the front convolutional layer network is composed of three layers of convolutional network units, and the rear convolutional layer network is composed of six layers of convolutional network units.

[0012] Preferably, the step of using the video image super-resolution reconstruction model to perform super-resolution reconstruction on the input video image in S1 is as follows:

[0013] S11, image extraction, firstly, the input video image is enlarged to the target size using bicubic interpolation, and image blocks are extracted from the input video image to form a high-dimensional feature map;

[0014] S12, nonlinear mapping, inputting the low-resolution image extracted by the image block into the front convolutional layer network, after the low-resolution image is processed by the first convolutional network in the front convolutional layer network, 64 feature maps are output, and after the low-resolution image is processed by the second convolutional network in the front convolutional layer network, 32 feature maps are output;

[0015] S13, inputting the feature map obtained after the low-resolution image is processed by the first convolutional network and the second convolutional network in the front convolutional layer network into the third convolutional network, and the third convolutional network outputs a reconstructed high-resolution image after processing;

[0016] S14, stacking the low-resolution image and the high-resolution image and inputting them into a post-convolutional network, and obtaining a rough optical flow map having the same length and width as the original image and a channel number of 2 after being processed by the post-convolutional network;

[0017] S15, using the rough optical flow map to perform affine transformation on the high-resolution image, and then stacking the low-resolution image, the high-resolution image and the image obtained by the affine transformation and inputting them into the post-convolutional layer network, and after being processed by the post-convolutional network, a feature map with 2 channels is obtained, which is called a fine optical flow map;

[0018] S16, adding the coarse optical flow map and the fine optical flow map to obtain a joint optical flow map, and using the joint optical flow map to perform affine transformation on the high-resolution image to obtain a high-resolution image that has been compensated for optical flow motion.

[0019] Preferably, the formula of the loss function in S1 is:

[0020]

[0021] Where N is the number of training samples in the training set, Y i For high-resolution images, is the reconstructed image block.

[0022] Preferably, the affine transformation formula in S15 is:

[0023] (X Source , Y Source ) represents the original image pixel, (x Tsrget ,y Tsrget ) represents the image pixel after affine transformation, and the coefficient matrix θ is the affine transformation coefficient.

[0024] Preferably, the training set in S1 includes 200 high-resolution images and 200 low-resolution images, and the high-resolution images correspond to the low-resolution images one by one.

[0025] Preferably, the specific steps of background removal in S3 are:

[0026] S21, extracting N frames of edge image F i (x, y), where i = 1, 2...N, add N frames of edge images to get the historical accumulation of edge images, then the center point of the historical accumulation image is:

[0027]

[0028] S22, using the standard deviation formula to calculate the standard deviation of the edge image in the hypercomplex space, the standard deviation formula is:

[0029]

[0030] S23, calculate the average value of all elements in the set according to the average value formula, the average value formula is: , which is the background eigenvalue The video image that meets the background feature value is removed, thereby removing the background in the video image.

[0031] Compared with the prior art, the present invention has the following beneficial effects:

[0032] 1. In the present invention, by designing and constructing relevant software recognition programs in the cloud server host, the user provides a wireless communication network to input the video to be recognized into the cloud server host, and the relevant program in the cloud server host processes and analyzes the video, and provides the result to the user again through the wireless communication network. The user can perform video recognition processing anytime and anywhere, which can meet the user's demand for video recognition when he is away from home and has no equipment with him. At the same time, the cloud service host has the advantages of faster response speed, greater security and reliability, and more convenient cloud host storage. The cloud service host is relatively cheap to use, which can greatly reduce the operating cost of the system. The wireless communication network is used for data transmission, and the data transmission speed is faster and the response time of the system is shortened.

[0033] 2. In the present invention, by designing a video image super-resolution reconstruction model, the input video image can be reconstructed with ultra-high resolution, avoiding the situation where the video uploaded by the user has too low resolution and cannot be recognized, thereby improving the efficiency of video recognition.

[0034] 2. In the present invention, by designing a background removal method for a video image, the background in the video image can be eliminated, thereby avoiding the background image interfering with video recognition and improving the quality of video recognition. DETAILED DESCRIPTION

[0035] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0036] The present invention provides a technical solution:

[0037] An intelligent video recognition and perception method based on wireless communication technology comprises the following steps:

[0038] S1, constructing a video image super-resolution reconstruction model in a cloud server host, inputting a training set into the video image super-resolution reconstruction model for training, obtaining a reconstruction result after being processed by the video image super-resolution reconstruction model, calculating and processing the obtained reconstruction result and the corresponding original high-resolution image, thereby obtaining a loss function of the video image super-resolution reconstruction model, and stopping the training when the set number of training times is reached or the value of the loss function drops below a standard value, and saving the corresponding network parameters;

[0039] S2, the user inputs the video into the video image super-resolution reconstruction model in the cloud service host through the wireless communication network, and the video image super-resolution reconstruction model processes and analyzes the input video to obtain a high-resolution video image;

[0040] S3, removing the background of the processed high-resolution video image to obtain a video image without background image interference, and the cloud server host performs recognition processing on the processed video image.

[0041] Furthermore, the video image super-resolution reconstruction model in S1 is composed of a front convolutional layer network and a rear convolutional layer network, and the front convolutional layer network is composed of three layers of convolutional network units, and the rear convolutional layer network is composed of six layers of convolutional network units.

[0042] Furthermore, the steps of using the video image super-resolution reconstruction model to perform super-resolution reconstruction on the input video image in S1 are as follows:

[0043] S11, image extraction, firstly, the input video image is enlarged to the target size using bicubic interpolation, and image blocks are extracted from the input video image to form a high-dimensional feature map;

[0044] S12, nonlinear mapping, inputting the low-resolution image extracted by the image block into the front convolutional layer network, after the low-resolution image is processed by the first convolutional network in the front convolutional layer network, 64 feature maps are output, and after the low-resolution image is processed by the second convolutional network in the front convolutional layer network, 32 feature maps are output;

[0045] S13, inputting the feature map obtained after the low-resolution image is processed by the first convolutional network and the second convolutional network in the front convolutional layer network into the third convolutional network, and the third convolutional network outputs a reconstructed high-resolution image after processing;

[0046] S14, stacking the low-resolution image and the high-resolution image and inputting them into a post-convolutional network, and obtaining a rough optical flow map having the same length and width as the original image and a channel number of 2 after being processed by the post-convolutional network;

[0047] S15, using the rough optical flow map to perform affine transformation on the high-resolution image, and then stacking the low-resolution image, the high-resolution image and the image obtained by the affine transformation and inputting them into the post-convolutional layer network, and after being processed by the post-convolutional network, a feature map with 2 channels is obtained, which is called a fine optical flow map;

[0048] S16, adding the coarse optical flow map and the fine optical flow map to obtain a joint optical flow map, and using the joint optical flow map to perform affine transformation on the high-resolution image to obtain a high-resolution image that has been compensated for optical flow motion.

[0049] Furthermore, the formula of the loss function in S1 is:

[0050]

[0051] Where N is the number of training samples in the training set, Y i For high-resolution images, is the reconstructed image block.

[0052] Furthermore, the affine transformation formula in S15 is:

[0053] (X Source , Y Source ) represents the original image pixel, (x Tsrget ,y Tsrget ) represents the image pixel after affine transformation, and the coefficient matrix θ is the affine transformation coefficient.

[0054] Furthermore, the training set in S1 includes 200 high-resolution images and 200 low-resolution images, and the high-resolution images correspond to the low-resolution images one by one.

[0055] Furthermore, the specific steps of background removal in S3 are:

[0056] S21, extracting N frames of edge image F i (x, y), where i = 1, 2...N, add N frames of edge images to get the historical accumulation of edge images, then the center point of the historical accumulation image is:

[0057]

[0058] S22, using the standard deviation formula to calculate the standard deviation of the edge image in the hypercomplex space, the standard deviation formula is:

[0059]

[0060] S23, calculate the average value of all elements in the set according to the average value formula, the average value formula is: , which is the background eigenvalue The video image that meets the background feature value is removed, thereby removing the background in the video image.

[0061] Specific implementation cases

[0062] The following steps are involved:

[0063] A video image super-resolution reconstruction model is constructed in the cloud server host. The video image super-resolution reconstruction model consists of a front convolutional layer network and a rear convolutional layer network, and the front convolutional layer network consists of three layers of convolutional network units and the rear convolutional layer network consists of six layers of convolutional network units. The training set is input into the video image super-resolution reconstruction model for training. The training set includes 200 high-resolution images and 200 low-resolution images, and the high-resolution images correspond to the low-resolution images one by one. After being processed by the video image super-resolution reconstruction model, the reconstruction result is obtained. The obtained reconstruction result is calculated and processed with the corresponding original high-resolution image, so as to obtain the loss function of the video image super-resolution reconstruction model. The formula of the loss function is:

[0064]

[0065] Where N is the number of training samples in the training set, Y i For high-resolution images, For the reconstructed image block, when the set number of training times is reached or the value of the loss function drops below the standard value, the training is stopped and the corresponding network parameters are saved;

[0066] The user inputs the video into the video image super-resolution reconstruction model in the cloud service host through the wireless communication network. The video image super-resolution reconstruction model first uses bicubic interpolation to enlarge the input video image to the target size, extracts image blocks from the input video image, forms a high-dimensional feature map, and obtains a high-resolution video image. The low-resolution image extracted by the image block is input into the front convolutional layer network. After the low-resolution image is processed by the first convolutional network in the front convolutional layer network, 64 feature maps are output. After the low-resolution image is processed by the second convolutional network in the front convolutional layer network, 32 feature maps are output. The feature maps obtained after the low-resolution image is processed by the first and second convolutional networks in the front convolutional layer network are input into the third convolutional network In the third layer of convolution network, after processing, the output is a reconstructed high-resolution image. The low-resolution image and the high-resolution image are stacked and input into the post-convolution network. After the post-convolution network is processed, a coarse optical flow map with the same length and width as the original image and the number of channels of 2 is obtained. The high-resolution image is affinely transformed using the coarse optical flow map. The low-resolution image, the high-resolution image and the image obtained by the affine transformation are stacked and input into the post-convolution layer network. After the post-convolution network is processed, a feature map with the number of channels of 2 is obtained, which is called a fine optical flow map. The coarse optical flow map and the fine optical flow map are added to obtain a joint optical flow map. The high-resolution image is affinely transformed using the joint optical flow map to obtain a high-resolution image compensated for optical flow motion. The affine transformation formula is:

[0067] (XSource , Y Source ) represents the original image pixel, (x Tsrget ,y Tsrget ) represents the image pixel after affine transformation, and the coefficient matrix θ is the affine transformation coefficient;

[0068] The processed high-resolution video image is subjected to background removal to extract N frames of edge image F i (x, y), where i = 1, 2...N, add N frames of edge images to get the historical accumulation of edge images, then the center point of the historical accumulation image is: The standard deviation formula is used to calculate the standard deviation of the edge image in the hypercomplex space. The standard deviation formula is: The average value of all elements in the set is calculated according to the average value formula. The average value formula is: , which is the background eigenvalue The video image that meets the background feature value is removed, thereby removing the background in the video image to obtain a video image without background image interference. The cloud server host performs recognition processing on the processed video image.

[0069] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. An intelligent video recognition and perception method based on wireless communication technology, characterized in that: The following steps are involved: S1, constructing a video image super-resolution reconstruction model in a cloud server host, inputting a training set into the video image super-resolution reconstruction model for training, obtaining a reconstruction result after being processed by the video image super-resolution reconstruction model, calculating and processing the obtained reconstruction result and the corresponding original high-resolution image, thereby obtaining a loss function of the video image super-resolution reconstruction model, and stopping the training when the set number of training times is reached or the value of the loss function drops below a standard value, and saving the corresponding network parameters; S2, the user inputs the video into the video image super-resolution reconstruction model in the cloud service host through the wireless communication network, and the video image super-resolution reconstruction model processes and analyzes the input video to obtain a high-resolution video image; S3, removing the background of the processed high-resolution video image to obtain a video image without background image interference, and the cloud server host performs recognition processing on the processed video image; The steps of using the video image super-resolution reconstruction model to perform super-resolution reconstruction on the input video image in S1 are as follows: S11, image extraction, firstly, the input video image is enlarged to the target size using bicubic interpolation, and image blocks are extracted from the input video image to form a high-dimensional feature map; S12, nonlinear mapping, inputting the low-resolution image extracted by the image block into the front convolutional layer network, after the low-resolution image is processed by the first convolutional network in the front convolutional layer network, 64 feature maps are output, and after the low-resolution image is processed by the second convolutional network in the front convolutional layer network, 32 feature maps are output; S13, inputting the feature map obtained after the low-resolution image is processed by the first convolutional network and the second convolutional network in the front convolutional layer network into the third convolutional network, and the third convolutional network outputs a reconstructed high-resolution image after processing; S14, stacking the low-resolution image and the high-resolution image and inputting them into a post-convolutional network, and obtaining a rough optical flow map having the same length and width as the original image and a channel number of 2 after being processed by the post-convolutional network; S15, using the rough optical flow map to perform affine transformation on the high-resolution image, and then stacking the low-resolution image, the high-resolution image and the image obtained by the affine transformation and inputting them into the post-convolutional layer network, and after being processed by the post-convolutional network, a feature map with 2 channels is obtained, which is called a fine optical flow map; S16, adding the coarse optical flow map and the fine optical flow map to obtain a joint optical flow map, and using the joint optical flow map to perform affine transformation on the high-resolution image to obtain a high-resolution image that has been compensated for optical flow motion; Wherein, the affine transformation formula in S15 is: (X Source , Y Source ) represents the original image pixel, (x Tsrget ,y Tsrget ) represents the image pixel after affine transformation, and the coefficient matrix θ is the affine transformation coefficient; And, the specific steps of background removal in S3 are: S21, extract N frames of edge images , where i = 1, 2...N, add N frames of edge images to get the historical accumulation of edge images, then the center point of the historical accumulation image is: ; S22, using the standard deviation formula to calculate the standard deviation of the edge image in the hypercomplex space, the standard deviation formula is: ; S23, calculate the average value of all elements in the set according to the average value formula, the average value formula is: , which is the background eigenvalue , the video image that meets the background feature value is removed, thereby removing the background in the video image.

2. According to the intelligent video recognition and perception method based on wireless communication technology of claim 1, it is characterized in that: The video image super-resolution reconstruction model in S1 is composed of a front convolutional layer network and a rear convolutional layer network, and the front convolutional layer network is composed of three layers of convolutional network units, and the rear convolutional layer network is composed of six layers of convolutional network units.

3. According to the intelligent video recognition and perception method based on wireless communication technology of claim 1, it is characterized in that: The formula of the loss function in S1 is: Where N is the number of training samples in the training set, For high-resolution images, is the reconstructed image block.

4. According to the intelligent video recognition and perception method based on wireless communication technology as described in claim 1, it is characterized in that: The training set in S1 includes 200 high-resolution images and 200 low-resolution images, and the high-resolution images correspond to the low-resolution images one by one.

Citation Information

Patent Citations

  • Video communication method, video communication system and cloud image server

    CN104144313A

  • Face super-resolution processing method and system based on high-frequency and low-frequency component fusion

    CN110490796A

  • Real-time video super-resolution with spatio-temporal networks and motion compensation

    US10701394B1