Edge-end collaborative blind person shopping video stream analysis guide method
Through edge-end collaboration, the blind shopping video stream analysis and guidance method uses voice information and video streams to predict action areas, and only transmits video frames when necessary. This solves the problems of communication delay and low accuracy in the existing technology, and achieves the goal of shopping for blind people. Efficient communication and accurate guidance during shopping.
Patent Information
- Application Number
- CN202410838341.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-10-29
AI Technical Summary
The existing blind shopping guidance assistance method transmits all videos from mobile terminals to the cloud for data processing, which leads to problems such as communication time delay, increased communication overhead, and low accuracy of blind shopping guidance.
The blind shopping video stream analysis and guidance method using edge-end collaboration is used to obtain the voice information and video stream of the target user, extract the video frames of the goods, divide the areas, predict the target action area, and only transmit the video frames to the cloud when necessary, using redundancy Information filtering reduces communication overhead and makes preliminary judgments on the terminal device.
In the walking stage, redundant information filtering is used to reduce communication overhead, and in the taking guidance stage, actions are predicted based on the blind person's habits, which improves the accuracy and efficiency of blind shopping guidance and reduces communication delays and overhead.
Smart Images

Figure CN118865197A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of adaptive video analysis based on edge intelligence, and in particular to an edge-end collaborative blind shopping video stream analysis and guidance method. Background Art
[0002] With the development of deep learning, computer vision has achieved good results in the fields of autonomous driving and blind assistance. With the remarkable achievements of deep learning models in video analysis, applying them to the field of blind assistance has become an ideal research direction. For the field of blind assistance, deep learning models can bring higher accuracy and provide corresponding guidance. However, the current deep learning models generally have complex architectures and large number of parameters, making it difficult to directly deploy them on mobile terminal devices with limited resources (such as smartphones, smart headphones, etc.). At present, the field of blind assistance mainly deploys deep models on cloud servers, transmits scenes near the blind to the cloud for analysis through smartphones, smart cameras and other devices, and transmits the analysis results to the blind. However, considering the issues of user data privacy and communication overhead, it is particularly important to integrate the user's own data on the terminal device and the strong computing and storage capabilities of the edge server to provide a blind shopping guidance computing strategy with dynamic adaptive edge-end collaboration.
[0003] Existing researchers have applied edge intelligence technologies such as model compression, segmentation, selection, and data filtering in the field of blind segmentation. Model compression technology is to reduce the complexity of deep learning models by pruning their structure and parameters during or after the training process to reduce their computational complexity and storage costs. Model segmentation technology is to split the deep learning model into two parts, running one part with low computational complexity on the terminal device and the other part with high computational complexity on the edge server. Data filtering is to perform a small discriminant network on the terminal device, and after data discrimination, transmit part of the data to the edge server for analysis. Summary of the invention
[0004] An embodiment of the present invention provides an edge-coordinated method for blind shopping video stream analysis and guidance, so as to at least solve the technical problems that the existing blind shopping guidance assistance method is to transmit all videos of the mobile terminal to the cloud for data processing, and the cloud transmits the processing results to the terminal, which will cause communication time delays, increased communication overhead, and low accuracy of blind shopping guidance.
[0005] According to one aspect of an embodiment of the present invention, a method for analyzing and guiding video streams for blind shopping with edge collaboration is provided. The method may include: obtaining the voice information of the target user, and determining whether the target goods required by the target user exist in the target area based on the voice information of the target user; when the target goods exist in the target area, based on the target goods, obtaining the goods video stream shot by the target user during the process of driving to the target goods, extracting the goods video frames in the goods video stream, dividing the goods video frames, and obtaining the divided areas in the goods video frames; obtaining the target transmission interval based on the horizontal pixel values of the second video frame in the adjacent goods video frames after the divided areas; determining whether the second video frame needs to be transmitted to the cloud based on the target transmission interval; when the target user drives to the target goods, When the position of the target object is determined, the historical motion trend, current motion trend and the position of the target goods of the target user are obtained; the hand motion predictor processes the historical motion trend, current motion trend and the position of the target goods of the target user, and predicts the target action area of the target object within the target step, wherein the target action area includes the position coordinates of the target object and the area of the position coordinates; if the target action area is predicted correctly, based on the predicted video frame area and the real video frame area corresponding to the target action area, the target prediction area to be uploaded to the cloud is determined, the processing result of the target prediction area transmitted from the cloud is obtained, and the target user is guided based on the processing result.
[0006] Optionally, obtaining the target transmission interval based on the horizontal pixel values of the second video frame in the adjacent cargo video frames after the area is divided includes: obtaining a target offset between the adjacent cargo video frames based on the adjacent cargo video frames after the area is divided; and obtaining the target transmission interval based on the target offset and the horizontal pixel value of the second video frame in the adjacent cargo video frames.
[0007] Optionally, based on the adjacent cargo video frames after dividing the regions, obtaining the target offset between adjacent cargo video frames includes: subtracting the corresponding regions of the adjacent cargo video frames to obtain the pixel position difference values of the corresponding regions; accumulating and summing the pixel position difference values of the corresponding regions and taking the average value to obtain the target offset between adjacent cargo video frames.
[0008] Optionally, based on the target offset and the horizontal pixel value of the second video frame in the adjacent video frames, a target transmission interval is obtained, including: determining the ratio between the horizontal pixel value of the second video frame and the target offset as the initial transmission interval; and determining half of the initial transmission interval as the target transmission interval.
[0009] Optionally, based on the target transmission interval, determining whether the second video frame needs to be transmitted to the cloud includes: when the second video frame meets the target transmission interval, determining that the second video frame needs to be transmitted to the cloud.
[0010] Optionally, when the second video frame meets the target transmission interval, determining that the second video frame needs to be transmitted to the cloud also includes: when the second video frame is to be transmitted, calculating the second video frame to obtain a target gradient value; based on the target gradient value, determining whether the second video frame is transmitted to the cloud.
[0011] Optionally, based on the predicted video frame area and the real video frame area corresponding to the target action area, determine the target predicted area to be uploaded to the cloud, including: calculating the Hamming distance between the hash value of the predicted video frame area and the hash value of the real video frame area; based on the difference between the ratio of the Hamming distance and the shape of the predicted video frame area and unit one, obtain the similarity between the predicted video frame area and the real video frame area; if the similarity is less than a similarity threshold, amplify the predicted video frame area by a preset multiple, and transmit the amplified predicted video frame area to the cloud.
[0012] Beneficial effects of the present invention:
[0013] The present invention proposes an edge-end collaborative blind shopping video stream analysis and guidance method. In the process of blind shopping guidance, in the walking stage, the blind's mobile phone records a large video stream with small changes between frames, and the communication overhead can be reduced by filtering redundant information. In the picking guidance stage, the blind's mobile phone basically remains motionless, and the picking action has a certain predictability. The blind's action changes can be predicted based on the blind's usual picking habits, and the terminal device is given priority to make a judgment. When the terminal device cannot make a judgment, it is transmitted to the edge server for image analysis. The existing blind shopping guidance assistance method is to transmit all the videos of the mobile terminal to the cloud for data processing, and the cloud transmits the processing results to the terminal, which will cause communication time delay, increase communication overhead, and low blind shopping guidance accuracy. The technical effect of filtering by using redundant information of the video stream in the walking stage of blind assisted shopping to reduce communication overhead; in the picking guidance stage, prediction is made based on the blind's picking habits, and the mobile terminal device is given priority to make judgments in the walking stage and the picking guidance stage, thereby reducing communication delay and communication overhead and improving the guidance accuracy of blind shopping. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0015] Figure 1 is a flowchart of an edge-end collaborative blind shopping video stream analysis and guidance method according to an embodiment of the present invention;
[0016] Figure 2 2 is a schematic diagram of the structural framework of an edge-end collaborative blind shopping video stream analysis and guidance method according to an embodiment of the present invention;
[0017] Figure 3 is a schematic diagram of a hand movement predictor according to an embodiment of the present invention. DETAILED DESCRIPTION
[0018] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only embodiments of a part of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0019] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0020] Example 1
[0021] According to an embodiment of the present invention, an edge-coordinated blind shopping video stream analysis and guidance method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system comprising at least one set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0022] Figure 1 is a flow chart of a method for analyzing and guiding a blind person's shopping video stream in an edge-end collaborative manner according to an embodiment of the present invention. Figure 1 As shown, the method may include the following steps:
[0023] Step S101, obtaining voice information of a target user, and determining whether there is a target product needed by the target user in a target area based on the voice information of the target user.
[0024] In the technical solution provided in the above step S101 of the present invention, according to an embodiment of the present invention, a schematic diagram of the structural framework of an edge-end collaborative blind shopping video stream analysis and guidance method is provided. Figure 2 is a schematic diagram of the structural framework of an edge-end collaborative blind shopping video stream analysis and guidance method according to an embodiment of the present invention. Figure 2 As shown, iFLYTEK collects the target user's voice information, models the voice information, and converts it into text information to analyze shopping relationship words, such as key terms such as "Coke". In order to better recognize speech, a corpus of recognizable product names is established, and a corpus is modeled as Y = (O, K, S), where O represents the official name, K represents the colloquial name, and S represents the abbreviation. If the system finds a match in the corpus, it will reply "target recognition", "Sorry, can you be a little clearer?" If there is no match, there is also "Sorry, I can't recognize this product yet." If there is no match, it will match three times.
[0025] Step S102, when there is target cargo in the target area, based on the target cargo, a cargo video stream shot by the target user when driving to the target cargo is obtained, cargo video frames in the cargo video stream are extracted, and the cargo video frames are divided to obtain divided areas in the cargo video frames.
[0026] In the technical solution provided in the above step S102 of the present invention, if there is target goods in the target area, according to the target goods, the goods video stream shot by the target user during the process of driving to the target goods is obtained, the goods video frame in the goods video stream is extracted, and the goods video frame is divided to obtain the divided areas in the goods video frame, for example, the goods video frame is divided into 10 areas, the first area, the second area, the third area, etc. In order to optimize the walking guidance module, an adaptive communication strategy based on the walking speed of blind shoppers is designed. Figure 2 As shown, transmitting all video frames to the edge server wastes communication and computing resources, so a variable-length sliding window mechanism is used to reduce this waste. This mechanism only needs to re-identify within a specific time interval, which is determined by the video frame difference calculator and the time interval controller.
[0027] Differential calculation module: mainly calculates the change amplitude between adjacent video frames. Since the video frames need to be transmitted to the edge server for detection and recognition of other targets, the image is first divided into different areas by fusing the positions of adjacent identical products and identifying their positions at the same time, as shown in formula (1):
[0028]
[0029] Among them, Image i is the i-th frame, is the combined area of the products identified in the image, and also represents the first area of the i-th frame. represents the second area of the i-th frame, Represents the nth region of the i-th frame.
[0030] Step S103, obtaining a target transmission interval based on the adjacent cargo video frames after the area is divided and the horizontal pixel values of the second video frame in the adjacent cargo video frames.
[0031] In the technical solution provided in step S103 of the present invention, the target offset corresponding to the adjacent cargo video frames after the division of the regions and the horizontal pixel value of the second video frame are calculated to obtain the target transmission interval, wherein the calculation process of the target offset is as follows: given the indexes of different regions, the pixel position differences between different video frames are calculated to infer the user's moving speed, as shown in formula (2):
[0032]
[0033] Among them, Regional offset Indicates the offset of the same area. represents the jth region of the i-th frame, Indicates the jth region of the i-1th frame, j represents different regions, and the value range of j is from 1 to n. The offset is transmitted to the spacing controller to determine whether to communicate. In order to reduce the error, all matching index regions are calculated at the same time, and the average value is taken as the offset of the region.
[0034] Step S104: determining whether the second video frame needs to be transmitted to the cloud based on the target transmission interval.
[0035] In the technical solution provided in the above step S104 of the present invention, it is determined whether the second frame image needs to be transmitted to the cloud based on the target transmission interval. It uses the ratio of the horizontal pixel value of the image to the regional offset as the maximum interval, skipping frames until the next frame is reached. However, in the scenario where blind shoppers shop, this method may miss the target. Therefore, half of the maximum interval is selected as the appropriate transmission interval. In order to avoid image retransmission due to image blur, a ten-pole gradient calculation is performed on the image to be transmitted, and a threshold of 7 is taken to determine the degree of blur of the image. If the gradient of the image is less than 7, the frame is not transmitted and the next frame is determined. If three consecutive frames are blurred, the user will be prompted to slow down through the voice module.
[0036] Step S105 , when the target user drives to the location of the target goods, the historical movement trend and current movement trend of the target object of the target user and the location of the target goods are obtained.
[0037] In the technical solution provided in the above step S105 of the present invention, when the target user drives to the location of the target goods, the historical movement trend, current movement trend and the location of the target goods of the target user's target object are obtained, wherein the target object may be the target user's hand, the current movement trend may be the movement direction and movement speed of the target user's hand, and the historical movement trend may be the previous movement direction and movement speed of the target user's hand.
[0038] Step S106, the hand motion predictor processes the historical motion trend, current motion trend and location of the target object of the target user, and predicts the target motion area of the target object within the target step, wherein the target motion area includes the location coordinates of the target object and the area of the location coordinates.
[0039] In the technical solution provided in the above step S106 of the present invention, the hand motion predictor is a neural network processing unit, which processes the historical motion trend, current motion trend and location of the target object of the target user, predicts the target action area of the target object within the target step, and the target step can be 5 time steps, and uses a lightweight video frame image filter to reduce the communication volume and delay in the picking guidance stage. It has two components: a hand motion predictor and a communication gate based on dual recognition. These components solve two basic problems: which image frame and which part to transmit.
[0040] Hand motion predictor: This motion predictor is mainly used to predict the user's hand motion area. In addition to the historical trajectory, the user's current motion trend and future target area are used to jointly predict the user's motion changes. The motion predictor consists of an encoder and a decoder. Figure 3 is a schematic diagram of a hand movement predictor according to an embodiment of the present invention, such as Figure 3 As shown, the hand predictor includes an encoder and a decoder and a communication gate.
[0041] Encoder: In the encoding stage, the historical information of the active area, current motion trend and future target area are co-encoded respectively, where both the current motion trend and the future target area use position vectors, which are expressed by formulas (3) and (4):
[0042] Move vector =[(x c -x h ),(y c -y h )] (3)
[0043] Guide vector =[(x c -x t ),(y c-y t )] (4)
[0044] Among them, Move vector Indicates the user's current movement trend, (x c ,y c ) represents the centroid of the current region, (x h ,y h ) represents the centroid of the historical region in the historical video frame, Guide vector Indicates the current frame of the target position guiding trend, (x t ,y t ) represents the guiding target. First, LSTM is used to encode historical information and motion trends, as shown in formula (5). This method shows good performance in extracting time correlation:
[0045] Y encoder =f lstm (αX current ,βMove vector ,λGuide vector ) (5)
[0046] where f lstm represents LSTM calculation, X current Represents the user's historical video frame information, Y encoder represents the feature map, α, β, λ are the weight components used to represent the three fused messages.
[0047] Decoder: The motion predictor uses a codec structure that fuses historical, current, and future trend information to predict the user's hand motion area. Based on statistical evaluation, the embodiment of the present invention designs a multi-output decoder with 5 output time steps. The decoder consists of a two-layer LSTM and a fully connected layer.
[0048] Communication gate: The present embodiment uses two discriminators, P-Dis and J-Dis, in the communication gate mechanism. P-Dis determines whether transmission is required based on the accuracy of the action predictor, while J-Dis determines which area to transmit. To reduce latency, the present embodiment uses a gate mechanism based on image similarity to determine prediction accuracy instead of CNN.
[0049] Step S107 , if the target action area is predicted correctly, based on the predicted video frame area and the real video frame area corresponding to the target action area, determine the target prediction area that needs to be uploaded to the cloud.
[0050] In the technical solution provided in the above step S107 of the present invention, if the target action area is predicted correctly, the target prediction area to be uploaded to the cloud is determined based on the predicted video frame area and the real video frame area corresponding to the target action area.
[0051] Step S108, obtaining the processing result of the target prediction area transmitted from the cloud, and guiding the target user based on the processing result.
[0052] In the technical solution provided in the above step S108 of the present invention, the processing result of the target prediction area transmitted by the cloud is obtained, and the target user is guided to shop according to the processing result.
[0053] The above method of this embodiment is further introduced below.
[0054] As an optional implementation manner, step S103, based on the horizontal pixel values of the adjacent cargo video frames after the area is divided and the second video frame in the adjacent video frames, obtains the target transmission interval, including: based on the adjacent cargo video frames after the area is divided, obtains the target offset between the adjacent cargo video frames; based on the target offset and the horizontal pixel value of the second video frame in the adjacent cargo video frames, obtains the target transmission interval.
[0055] In this embodiment, the pixels of each area corresponding to adjacent cargo video frames after the area division are subtracted to obtain the phase difference value of each area, the phase difference values are accumulated and summed, and the average value is taken to obtain the target offset, and the horizontal pixel value of the second video frame is averaged with the target offset to obtain the target transmission interval.
[0056] As an optional implementation manner, based on the adjacent cargo video frames after dividing the regions, obtaining the target offset between the adjacent cargo video frames includes: subtracting the corresponding regions of the adjacent cargo video frames to obtain the pixel position difference values of the corresponding regions; accumulating and summing the pixel position difference values of the corresponding regions and taking the average value to obtain the target offset between the adjacent cargo video frames.
[0057] In this embodiment, when there are ten regions in the first video frame and ten regions in the second video frame in adjacent cargo video frames, each of the ten regions of the first video frame is subtracted from each of the ten regions of the second video frame to obtain pixel position difference values of corresponding regions in the first video frame and the second video frame, and the pixel position difference values of corresponding regions are accumulated and summed and averaged to obtain the target offset between adjacent cargo video frames.
[0058] As an optional implementation method, a target transmission interval is obtained based on a target offset and a horizontal pixel value of a second video frame in adjacent video frames, including: determining a ratio between the horizontal pixel value of the second video frame and the target offset as an initial transmission interval; and determining half of the initial transmission interval as a target transmission interval.
[0059] In this embodiment, the quotient between the horizontal pixel value of the second video frame and the target offset is determined as the initial transmission interval; and half of the initial transmission interval is determined as the target transmission interval.
[0060] As an optional implementation manner, step S104, based on the target transmission interval, determines whether the second video frame needs to be transmitted to the cloud, including: when the second video frame meets the target transmission interval, determines that the second video frame needs to be transmitted to the cloud.
[0061] In this embodiment, if the second video frame meets the target transmission interval, the second video frame needs to be transmitted to the cloud.
[0062] As an optional implementation method, when the second video frame meets the target transmission interval, it is determined that the second video frame needs to be transmitted to the cloud, and it also includes: when the second video frame is to be transmitted, the second video frame is calculated to obtain a target gradient value; based on the target gradient value, it is determined whether the second video frame is transmitted to the cloud.
[0063] In this embodiment, when the second video frame is to be transmitted, in order to avoid image retransmission caused by blurring of the second video frame, it is necessary to perform ten-level gradient calculation on the second video frame image to obtain a target gradient value, and determine whether the second video frame is transmitted to the cloud based on the relationship between the target gradient value and the preset gradient value, wherein the preset gradient threshold is 7. If the target gradient value is less than 7, the second video frame is not transmitted. If the target gradient value is greater than 7, the second video frame is transmitted.
[0064] As an optional implementation method, step S107, based on the predicted video frame area and the real video frame area corresponding to the target action area, determines the target predicted area that needs to be uploaded to the cloud, including: calculating the Hamming distance between the hash value of the predicted video frame area and the hash value of the real video frame area; based on the difference between the ratio of the Hamming distance and the shape of the predicted video frame area and unit one, obtains the similarity between the predicted video frame area and the real video frame area; if the similarity is less than the similarity threshold, amplifies the predicted video frame area by a preset multiple, and transmits the amplified predicted video frame area to the cloud.
[0065] In this embodiment, the embodiment of the present invention finds that if the predicted region is accurate in the hand motion region prediction, then the hand will occupy most of the region, so the region image has a high similarity. The embodiment of the present invention evaluates the relationship between the region offset degree and the image similarity, where the region offset degree is selected to calculate the distance between the center point of the region and the center point of the original image. The image similarity is calculated using Ahash software, as shown in formula (6):
[0066] Dis Han =∑(F i ⊕M i ) (6)
[0067] Among them, F i and M i Hash values representing the current region and the predicted region. Han represents the Hamming distance between the hash values of the two regions. ⊕ represents an OR operation. Then, the embodiment of the present invention calculates the similarity between the two regions, as shown in formula (7):
[0068]
[0069] Among them, F.shape represents the shape of the image.
[0070] According to the embodiment of the present invention, when the offset is larger, the Hamming distance of the image is larger and the similarity is smaller. Therefore, in multiple evaluations, the embodiment of the present invention selects a similarity threshold of 0.65 as a criterion for judging whether the prediction is accurate. If the similarity score is lower than 0.65, the image will be sent back to the server for re-recognition.
[0071] However, factors such as mobile phone movement or shaking can affect the prediction accuracy, resulting in a low similarity score. To address this issue, the system compares the current information and historical information of the target area for further similarity analysis. If the similarity score is below the threshold, indicating that the entire image has changed significantly, the system will retransmit the entire image for re-identification. If the similarity score exceeds the threshold, indicating a prediction offset, only the relevant area will be transmitted for re-identification.
[0072] When the predicted offset is significant, the present embodiment carefully transmits the region extension P to the server, which reduces data transmission but may result in an incomplete hand image. After conducting a trade-off study, the present embodiment determines an appropriate value of p=1.5.
[0073] Adaptive Mechanism: To personalize the hand movements, the embodiment of the present invention uses an adaptive mechanism to accurately predict the user's motion trajectory. The embodiment of the present invention achieves this through a pre-trained model and a retraining method. Initially, the embodiment of the present invention uses the guidance trajectories of 10 participants to train the motion predictor of the implementation method of the present invention. During the user's shopping process, the embodiment of the present invention saves their pickup guidance video and transmits it to the edge server for hand region recognition when the phone is idle and connected to a WiFi device. The recognition results are encoded into the motion trajectory based on the pre-trained model, which improves the prediction accuracy.
[0074] In an embodiment of the present invention, voice information of a target user is obtained; based on the voice information of the target user, it is determined whether there is a target cargo required by the target user in a target area; when there is a target cargo in the target area, based on the target cargo, a cargo video stream shot by the target user during the process of driving to the target cargo is obtained, cargo video frames in the cargo video stream are extracted, and the cargo video frames are divided to obtain divided areas in the cargo video frames; a target transmission interval is obtained based on the horizontal pixel values of adjacent cargo video frames after the divided areas and the second video frame in the adjacent cargo video frames; based on the target transmission interval, it is determined whether the second video frame needs to be transmitted to the cloud; when the target user drives to the location of the target cargo, the historical motion trend, current motion trend and location of the target object of the target user are obtained; a hand motion predictor processes the historical motion trend, current motion trend and location of the target object of the target user, and predicts the target action area of the target object within the target step length, wherein In the method, the target action area includes the position coordinates of the target object and the area of the position coordinates; if the target action area is predicted correctly, based on the predicted video frame area and the real video frame area corresponding to the target action area, the target prediction area that needs to be uploaded to the cloud is determined, and the processing result of the target prediction area transmitted from the cloud is obtained. Based on the processing result, the target user is guided, which solves the technical problems that the existing blind shopping guidance assistance method is to transmit all the videos of the mobile terminal to the cloud for data processing, and the cloud transmits the processing result to the terminal, which will cause communication time delay, increase communication overhead, and low accuracy of blind shopping guidance. In the walking stage of blind assisted shopping, redundant information of the video stream is used for filtering to reduce communication overhead; in the picking guidance stage, prediction is made according to the blind's picking habits, and the walking stage and the picking guidance stage are given priority to judgment on the mobile terminal device, which reduces communication delay and communication overhead and improves the technical effect of the guidance accuracy of blind shopping.
[0075] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0076] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0077] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0078] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0079] In addition, each functional unit in each embodiment of the present invention may be integrated into a first processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0080] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for analyzing and guiding video streams of shopping for the blind in an edge-end collaborative manner, characterized in that: include: Acquire voice information of a target user, and determine whether there is a target product needed by the target user in a target area based on the voice information of the target user; When the target goods exist in the target area, based on the target goods, a goods video stream shot by the target user when driving to the target goods is obtained, a goods video frame in the goods video stream is extracted, and the goods video frame is divided to obtain the divided areas in the goods video frame; Obtaining a target transmission interval based on the adjacent cargo video frames after the area is divided and the horizontal pixel values of the second video frame in the adjacent cargo video frames; Based on the target transmission interval, determining whether the second video frame needs to be transmitted to the cloud; When the target user drives to the location of the target goods, the historical movement trend and current movement trend of the target object of the target user and the location of the target goods are obtained; The hand motion predictor processes the historical motion trend, current motion trend and position of the target object of the target user and the target goods, and predicts the target motion area of the target object within the target step length, wherein the target motion area includes the position coordinates of the target object and the area of the position coordinates; If the target action area is predicted correctly, based on the predicted video frame area and the real video frame area corresponding to the target action area, determine the target prediction area that needs to be uploaded to the cloud; The processing result of the target prediction area transmitted from the cloud is obtained, and the target user is guided based on the processing result.
2. The method according to claim 1, characterized in that The step of obtaining the target transmission interval based on the horizontal pixel values of the adjacent cargo video frames after the area division and the second video frame in the adjacent video frames comprises: Based on the adjacent cargo video frames after the area division, a target offset between the adjacent cargo video frames is obtained; A target transmission interval is obtained based on the target offset and a horizontal pixel value of a second video frame in the adjacent cargo video frames.
3. The method according to claim 2, characterized in that The step of obtaining the target offset between the adjacent cargo video frames based on the divided region adjacent cargo video frames includes: Subtracting the corresponding areas of the adjacent cargo video frames to obtain pixel position difference values of the corresponding areas; The pixel position difference values of the corresponding areas are accumulated and summed and the average value is taken to obtain the target offset between the adjacent cargo video frames.
4. The method according to claim 2, characterized in that: The step of obtaining a target transmission interval based on the target offset and a horizontal pixel value of a second video frame in the adjacent video frames includes: Determine the ratio between the horizontal pixel value of the second video frame and the target offset as the initial transmission interval; Half of the initial transmission interval is determined as the target transmission interval.
5. The method according to claim 1, characterized in that The determining, based on the target transmission interval, whether the second video frame needs to be transmitted to the cloud includes: When the second video frame meets the target transmission interval, it is determined that the second video frame needs to be transmitted to the cloud.
6. The method according to claim 5, characterized in that When the second video frame meets the target transmission interval, determining that the second video frame needs to be transmitted to the cloud further includes: When the second video frame is about to be transmitted, calculating the second video frame to obtain a target gradient value; Based on the target gradient value, it is determined whether the second video frame is transmitted to the cloud.
7. The method according to claim 1, characterized in that The determining the target prediction area to be uploaded to the cloud based on the predicted video frame area and the real video frame area corresponding to the target action area includes: Calculating a Hamming distance between a hash value of the predicted video frame region and a hash value of the real video frame region; Based on the difference between the ratio of the Hamming distance and the shape of the predicted video frame region and unity, obtaining the similarity between the predicted video frame region and the real video frame region; If the similarity is less than the similarity threshold, the predicted video frame area is enlarged by a preset multiple, and the enlarged predicted video frame area is transmitted to the cloud.
8. A processor, characterized in that: The processor is used to run a program, wherein the program executes the method according to any one of claims 1 to 7 when running.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 7.
