Video processing method and device and related equipment

By obtaining the coordinate range of visible area specified by the terminal device, the original camera data is processed, and video data outside the visible area is generated, which solves the problem of privacy leakage when camera video is leaked and realizes accurate privacy protection of video images.

CN119031094APending Publication Date: 2024-11-26HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310601844.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-25
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

When camera videos are leaked or shared, privacy leakage problems caused by shooting privacy areas, especially in the context of the widespread use of high-resolution cameras, user privacy protection becomes particularly important.

Method used

By obtaining the coordinate range of the visible area specified by the terminal device, the original data captured by the camera is processed, and video data outside the visible area is generated to ensure that only the visible area specified by the user is displayed in the video screen, thereby achieving privacy protection. Specific methods include coordinate conversion, generating electronic stop covering the shielded area, moving and cropping video data, and updating the visible coordinate range using image recognition technology.

Benefits of technology

It realizes accurate privacy obstruction of video images, ensures that the privacy area is blocked when video data is leaked or shared, solves the privacy leakage problem, and is suitable for a variety of camera application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119031094A_ABST
    Figure CN119031094A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a video processing method, a video processing device and related equipment, which are used for solving the problem of privacy leakage caused by shooting a privacy area when a camera video is leaked or shared. The method comprises the following steps: acquiring a visible coordinate range of a visible area specified by the terminal equipment; acquiring original data shot by a camera; according to the visible coordinate range, processing the original data, and generating video data of a region outside a shielding visible region; and sending the video data to the terminal equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of video processing technology, and in particular to a video processing method, apparatus and related equipment. Background Art

[0002] Camera is a very important electronic device that can capture images and convert them into digital signals. With the continuous development of science and technology, cameras are also constantly upgraded and improved. The resolution of cameras has been greatly improved, from the initial hundreds of thousands of pixels to the current tens of millions of pixels. The resolution of cameras has achieved an order of magnitude leap. High-resolution cameras can capture more delicate image details, making the photos or videos taken clearer and more realistic. Cameras have become an indispensable part of our daily lives. However, the problem of camera privacy protection is becoming increasingly serious.

[0003] People's demand for privacy is getting higher and higher, so camera privacy protection is particularly important. Summary of the invention

[0004] The embodiments of the present application provide a video processing method, apparatus and related equipment for solving the problem of privacy leakage caused by capturing a private area when a camera video is leaked or shared.

[0005] In a first aspect, the present application provides a video processing method, which can be executed by a computing device, which can be a server, such as a cloud server, a central server, an edge server, or a local server in a local data center, or mounted in an electronic device such as a camera device. The method includes:

[0006] Obtaining the visible coordinate range of the visible area specified by the terminal device. The user specifies the visible area to be watched on the terminal device, and the terminal device sends the visible coordinate range corresponding to the visible area specified by the user in the video screen to the computing device.

[0007] The raw data captured by the camera is obtained. The raw data may refer to the raw data obtained by converting the light source signal captured by the camera's image sensor into a digital signal.

[0008] According to the visible coordinate range, the original data is processed to generate video data of the area outside the visible area. After obtaining the visible coordinate range and the original data, while converting the original data into video data, the area outside the visible coordinate range in the video screen is shielded, so as to obtain the video data of the area outside the visible area, that is, in the video screen corresponding to the video data, only the visible area specified by the user can be included.

[0009] The video data is sent to the terminal device. The video data generated by the above steps is sent to the terminal device for playback, and the played video content shields the area outside the visible area, thereby achieving privacy protection for the area outside the visible area in the video.

[0010] The video processing method provided in the embodiment of the present application obtains the visible area specified by the user on the terminal device, and then processes the original data captured by the camera according to the coordinate range of the visible area, thereby obtaining video data that only displays the content of the visible area and returning it to the terminal device, thereby achieving accurate privacy masking of the video screen. When the video data is leaked or shared, the privacy of the masked area can be protected at the video data source, thereby solving the problem of privacy leakage caused by capturing the privacy area when the camera video is leaked or shared.

[0011] In a possible implementation method, the original data is processed according to the visible range to generate video data that masks areas outside the visible area, including:

[0012] Perform coordinate transformation on the visible coordinate range to obtain the shielded coordinate range;

[0013] Generate an electronic block covering the shielding coordinate range;

[0014] Electronic blocks are overlaid on the original data to generate video data that masks areas outside the visible area.

[0015] In this embodiment, after determining the visible coordinate range and the coordinate range covered by the video screen, the area between the edge of the visible coordinate range and the edge of the video screen is the shielded area, and an electronic block is generated on the shielded area. After covering the corresponding position in the original data, the shielded area (the area outside the visible area) is shielded by the electronic block, and the area outside the visible area is shielded in the generated video data, thereby achieving precise privacy shielding and protecting the content of the visible area.

[0016] In a possible implementation method, the visible area is an N-polygon, and the electronic block includes a plurality of sub-blocks, where N is an integer greater than 3;

[0017] The plurality of sub-blocks are used to cover the area between the N edges of the visible area and the edge of the video screen.

[0018] In a possible implementation method, the original data is processed according to the visible coordinate range to generate video data for masking the area outside the visible area, including:

[0019] Obtaining picture adjustment parameters according to the center coordinates and edge coordinates of the visible coordinate range;

[0020] The original data is moved and / or cropped according to the picture adjustment parameters to generate video data of the area outside the masked visible area.

[0021] In this embodiment, the visible area can be moved and cropped to achieve maximum coverage of the visible area in the video picture, thereby achieving accurate privacy shielding and protecting the content of the visible area.

[0022] In a possible implementation method, after sending the video data to the terminal device, the method further includes:

[0023] Perform edge recognition on the visible area in the video data to obtain the edge coordinate range;

[0024] Update the visible coordinate range according to the edge coordinate range;

[0025] The original data is processed according to the updated visible coordinate range.

[0026] In this embodiment, edge recognition technology in image recognition technology is used to identify the edge of the visible area in the video data of the demarcated visible area, and the visible coordinate range is re-updated according to the recognition result, so that the video screen can track the visible area.

[0027] In a second aspect, the present application provides a video processing device, including a transceiver module and a processing module;

[0028] The transceiver module is used to perform the transceiver operation of the video processing method of the first aspect, and the processing module is used to perform the processing operation of the video processing method of the first aspect.

[0029] For example, the video processing device is used to execute the following scheme:

[0030] A transceiver module, used to obtain the visible coordinate range of the visible area specified by the terminal device;

[0031] The transceiver module is also used to obtain the raw data captured by the camera;

[0032] A processing module, used for processing the original data according to the visible coordinate range to generate video data for shielding the area outside the visible area;

[0033] The transceiver module is also used to send video data to the terminal device.

[0034] In a possible implementation, the processing module is specifically used to perform coordinate conversion on the visible coordinate range to obtain a shielded coordinate range; generate an electronic block covering the shielded coordinate range; cover the electronic block on the original data to generate video data of the area outside the shielded visible area.

[0035] In a possible implementation, the visible area is an N-polygon, and the electronic block includes a plurality of sub-blocks, where N is an integer greater than 3;

[0036] The plurality of sub-blocks are used to cover the area between the N edges of the visible area and the edge of the video screen.

[0037] In one possible implementation, the visible area is a rectangle;

[0038] The processing module is specifically used to obtain picture adjustment parameters according to the center coordinates and edge coordinates of the visible coordinate range; according to the picture adjustment parameters, the original data is moved and / or cropped to generate video data that shields the area outside the visible area.

[0039] In a possible implementation, the processing module is further used to perform edge recognition on the visible area in the video data to obtain an edge coordinate range; update the visible coordinate range according to the edge coordinate range; and process the original data according to the updated visible coordinate range.

[0040] In a third aspect, the present application provides a video processing device, including a terminal device, a camera, and the video processing apparatus as described in the second aspect above;

[0041] The terminal device is used to obtain the visible coordinate range of the visible area and send the visible coordinate range to the video processing device; and is also used to obtain the video data processed by the video processing device;

[0042] The camera is used to convert the captured light signal into raw data of a digital signal through an image sensor, and send the raw data to a video processing device.

[0043] In a fourth aspect, the present application provides a computing device, the computing device comprising a processor;

[0044] The processor is used to execute the computer program or computer instructions in the memory to perform the video processing method of the first aspect as described above.

[0045] In a possible implementation, the computing device further includes a memory.

[0046] In a fifth aspect, the present application provides a computer-readable storage medium, characterized in that a computer program is stored thereon, and when the computer program is executed by a computing device, the computing device executes the video processing method of the first aspect as described above.

[0047] In a sixth aspect, the present application provides a computer program product, comprising a program, characterized in that when the program is executed by a processor, the video processing method of the first aspect described above is implemented.

[0048] The solutions provided in the second to sixth aspects are used to implement or cooperate with the method provided in the first aspect, and thus can achieve the same or corresponding beneficial effects as the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1A An architectural diagram of a video processing device provided in an embodiment of the present application;

[0050] Figure 1B A method flow chart of a video processing method provided in an embodiment of the present application;

[0051] Figure 2 A schematic diagram of selecting a visible area in a video screen provided in an embodiment of the present application;

[0052] Figure 3 A method flow chart for step 103;

[0053] Figure 4 A schematic diagram of shielding a sub-block provided in an embodiment of the present application;

[0054] Figure 5 A schematic diagram of shielding a sub-block provided in an embodiment of the present application;

[0055] Figure 6 Another method flow chart of step 103;

[0056] Figure 7a and Figure 7b A schematic diagram of a visible area provided in an embodiment of the present application;

[0057] Figure 8 A schematic diagram of the structure of a video processing device provided in an embodiment of the present application;

[0058] Fig. 9 A transmission signaling diagram of a video processing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0059] In order to make the purpose, technical solutions and advantages of the present application more clear, the embodiments of the present application are described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. It is known to those skilled in the art that with the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0060] The terms "first", "second", etc. in the specification and claims of this application 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 data used in this way can be interchangeable where appropriate, so that the embodiments described here can be implemented in an order other than that illustrated or described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or modules is not necessarily limited to those steps or modules clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products or devices. The naming or numbering of steps in this application does not mean that the steps in the method flow must be executed in the time / logical sequence indicated by the naming or numbering. The process steps that have been named or numbered can change the execution order according to the technical purpose to be achieved, as long as the same or similar technical effects can be achieved. The division of units in this application is a logical division. There may be other division methods when it is implemented in actual applications. For example, multiple units can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection between units can be electrical or other similar forms, which are not limited in this application. In addition, the units or sub-units described as separate components may or may not be physically separated, may or may not be physical units, or may be distributed in multiple circuit units, and some or all of the units may be selected according to actual needs to achieve the purpose of the present application.

[0061] Camera is a very important electronic device that can capture images and convert them into digital signals. With the continuous development of science and technology, cameras are also constantly upgraded and improved. The resolution of cameras has been greatly improved, from the initial hundreds of thousands of pixels to the current tens of millions of pixels. The resolution of cameras has achieved an order of magnitude leap. High-resolution cameras can capture more delicate image details, making the photos or videos taken clearer and more realistic. With the advancement of technology, cameras have become popular in all aspects of our lives, from security cameras to smartphone cameras, and we are monitored by them all the time. However, this widespread application of cameras has also caused people to worry about privacy protection.

[0062] At the current stage, there are several related technologies that can be used for camera privacy protection. The following are some of the main technologies:

[0063] Encryption and secure transmission: The camera can use encryption technology to protect video data to ensure that the data is not stolen or tampered with during transmission. The use of secure transmission protocols and encryption algorithms, such as SSL / TLS, can ensure the confidentiality and integrity of the video stream.

[0064] Access control: Camera devices can use access control mechanisms to allow only authorized users or devices to access and operate the camera. This can be achieved through authentication, access tokens, or access control lists to ensure that only legitimate users can access the camera.

[0065] Privacy protection protocols and standards: Develop and adopt unified privacy protection protocols and standards to regulate the design, development and use of cameras to ensure compliance with privacy protection principles. For example, GDPR (General Data Protection Regulation) is an important regulation for personal data protection.

[0066] Physical blocking: This is a simple but effective method that physically blocks the camera lens, such as using a removable cover, sticker, or specially designed privacy protection device. This can effectively prevent unauthorized access and surveillance.

[0067] Anonymization and blurring: This technology is used to process video images captured by cameras to hide or blur personal identities or sensitive information. For example, faces are blurred, blocked or replaced to protect the privacy of the monitored person.

[0068] Smart algorithms and artificial intelligence: Using smart algorithms and artificial intelligence technology, cameras can be analyzed and identified to filter and remove unnecessary personal information, thereby protecting privacy. For example, using a face recognition algorithm can extract only facial features instead of a complete face image.

[0069] Among them, encryption and secure transmission, access permission control, privacy protection protocols and standards are aimed at protecting video content during video data transmission; physical occlusion, anonymization and blurring, intelligent algorithms and artificial intelligence protect video content by processing video data and hiding some privacy information.

[0070] It is understandable that with the continuous development of optical and hardware technologies, the current camera's field of view is getting wider and wider, covering a larger care area, while also capturing the user's private area in the picture, which may lead to the leakage of user privacy or inconvenience in sharing videos. A typical example is the baby care scenario: the crib is generally placed next to the parents' bed. The camera installed to watch the baby can easily capture the private area of ​​the bed, bringing the risk of privacy leakage to the user. Since the baby's parents may share the video with other family members such as grandparents, the expansion of the care area also brings inconvenience to this scenario.

[0071] Based on the above problems, the present application provides a video processing method, apparatus and related equipment, whereby the user can directly define the visible area in the video interface, so that the area outside the visible area is shielded in the video screen corresponding to the final output video data.

[0072] The present application provides a video processing method, which can be applied to a video processing device, such as Figure 1A As shown, Figure 1A The architecture diagram of the video processing device provided in the embodiment of the present application includes a terminal device 1001, a video processing device 1002 and a camera 1003, wherein the terminal device is a device including a communication function, such as a handheld device, or a vehicle-mounted device, etc. At present, some examples of terminal devices are: mobile phones, computers, etc., which are used to obtain the visible area specified by the user that needs to be video-supervised; the camera 1003 is used to shoot the video screen, specifically to convert the captured light source signal into the raw data of the digital signal. The video processing device 1002 is used to execute the following video processing method, and the video processing device 1002 can be a server, such as a cloud server, a central server, an edge server, or a local server in a local data center, or deployed on the above-mentioned server, and the video processing device 1002 can also be mounted in electronic devices such as camera devices.

[0073] See also Figure 1B , Figure 1B The method flow chart of the video processing method provided in the embodiment of the present application includes:

[0074] 101. Obtain the visible coordinate range of the visible area specified by the terminal device.

[0075] Terminal equipment

[0076] First, a visible area designated by a user and requiring video monitoring is obtained through a terminal device. The coordinate range of the visible area in the video screen is the visible coordinate range.

[0077] It is understandable that the shape of the visible area is not limited. When the user needs to select a care area, the user can directly select the range using the brush tool box in the video screen, or determine the care range by selecting the corresponding drawing tool through the drawing box displayed to the user by the terminal device.

[0078] See also Figure 2 , Figure 2 A schematic diagram of selecting a visible area in a video screen provided in an embodiment of the present application.

[0079] In the video screen, the first area 204 where the baby crib 202 is located belongs to the care area, so the user can select the rectangle tool in the drawing toolbar 201 to frame the first area 204 where the baby crib 202 is located, and the first area 204 is the visible area. At the same time, the coordinate range of the first area 204 in the video screen is the visible coordinate range. In one possible case, there can be multiple visible areas, for example Figure 2 The table 203 in the figure is provided with items that may be used in the baby care process, such as milk bottles, thermometers, and medicines (not shown in the figure). Therefore, the user can use the arc tool and the straight line tool in the drawing toolbar 201 to select the second area 205, and the second area 205 is also a visible area. At the same time, the coordinate range of the second area 205 in the video screen also belongs to the visible coordinate range.

[0080] 102, obtaining the original data captured by the camera.

[0081] It is understandable that the raw data output by the camera's image sensor refers to the raw data that the sensor converts the captured light source signal into a digital signal. Raw data (RAW data) generally has RAW8, RAW10, RAW12, etc., which respectively indicate that a pixel has 8-bit data, 10-bit data, and 12-bit data.

[0082] After obtaining the visible coordinate range, the original data captured by the camera is obtained so that the original data can be directly processed later.

[0083] 103 , processing the original data according to the visible coordinate range to generate video data of the area outside the masked visible area.

[0084] After obtaining the visible coordinate range, the original data is directly processed to obtain the video data. When the video data is leaked or shared, the privacy of the masked area can be protected in the video data source.

[0085] For example, in one possible case, processing the raw data to obtain the video data refers to converting the RAW data into YUV data, while shielding the area outside the guard area, to obtain the video encoding of the data in the format of H264 / H265 or the like.

[0086] In one possible implementation, see Figure 3 , Figure 3 This is a method flow chart of step 103, which specifically includes:

[0087] 301 , coordinate conversion is performed on the visible coordinate range to obtain a shielded coordinate range.

[0088] It can be understood that after the visible coordinate range and the coordinate range covered by the video screen are determined, the area between the edge of the visible coordinate range and the edge of the video screen is the shielding area, and the corresponding coordinate range is the shielding coordinate range.

[0089] 302, generate an electronic block covering the shielding coordinate range.

[0090] After the shielding coordinate range is determined, an electronic block covering the range is generated. The electronic block can be a mosaic, a color block, a specified picture, etc.

[0091] 303, overlay the original data with an electronic block to generate video data that shields areas outside the visible area.

[0092] It can be understood that after the shielding coordinate range is determined, the electronic block is covered at the corresponding position in the original data. At this time, the shielding area (the area outside the visible area) is shielded by the electronic block, and the area outside the visible area is shielded in the generated video data, thereby achieving the purpose of precise privacy shielding.

[0093] Further, the visible area is an N-gon, and correspondingly, the electronic block includes a plurality of sub-blocks, where N is an integer greater than 3;

[0094] The multiple sub-blocks are respectively used to cover the areas between the N edges of the visible area and the edge of the video screen.

[0095] For easier understanding, see Figure 4 and Figure 5 , Figure 4 and Figure 5 All of them are schematic diagrams of sub-block shielding provided in the embodiments of the present application.

[0096] like Figure 4 As shown, the visible area is a quadrilateral, and the number of sub-blocks is also 4, which are respectively used to shield the occlusion area 1, occlusion area 2, occlusion area 3 and occlusion area 4. Taking the sub-block (gray area) covering the occlusion area 1 as an example, the left edge, upper edge and lower edge of the sub-block are respectively the left edge, upper edge and lower edge of the video screen, and the straight line where the right edge of the sub-block is located is consistent with the straight line where the left edge of the visible area is located.

[0097] It is understandable that the visible area may also be in other shapes, such as Figure 5 As shown, when the visible area is a triangle, the areas covered by the three sub-blocks (blocking area 1', blocking area 2' and blocking area 3') also cover the area from the edge of the triangle to the edge of the video screen, which will not be repeated here.

[0098] In another possible implementation, see Figure 6 , Figure 6 Another method flow chart of step 103 is shown, wherein the visible area is a rectangle, and step 103 specifically includes:

[0099] 601 , obtaining picture adjustment parameters according to the center coordinates and edge coordinates of the visible coordinate range.

[0100] 602 , moving and / or cropping the original data according to the picture adjustment parameters to generate video data of the area outside the masked visible area.

[0101] It can be understood that when the visible area is a rectangle, since the video screen is also a rectangle, after obtaining the visible coordinate range of the visible area, the center coordinates of the visible coordinate range and the center coordinates of the video screen, and the edge coordinates of the visible coordinate range and the edge of the video screen are compared to generate picture adjustment parameters. The picture adjustment parameters are used to move the video screen so that the visible area is located in the middle of the video screen, and at the same time, the shielded area is cropped to achieve the purpose of precise privacy shielding.

[0102] See also Figure 7a and Figure 7b , Figure 7a and Figure 7b These are schematic diagrams of the visible area provided in the embodiments of the present application.

[0103] Please combine Figure 2 , the user is Figure 2 In the video screen shown, only the first area 204 is selected as the visible area. Since the first area 204 is a rectangle, the center coordinates of the first area 204 can be obtained according to the coordinate range of the first area 204. Combined with the center coordinates of the video screen, the first area 204 can be moved to the center of the video screen, as shown in FIG. Figure 7a shown.

[0104] Then, the first area 204 is scaled so that at least one side of the first area 204 coincides with the edge of the video screen, and the portion beyond the video screen is cropped. Figure 7b As shown, video data showing only the visible area (first area) is generated. Further, when the aspect ratio of the visible area and the video screen is different, an electronic block (such as the gray area in FIG. 7 ) can be set at the same time for shielding.

[0105] 104, sending the video data to the terminal device.

[0106] It is understandable that the video data generated through the above steps is sent to the terminal device for playback, and the areas outside the visible area are shielded in the played video content, thereby achieving privacy protection for the areas outside the visible area in the video. At the same time, since the video data is shielded during the encoding and conversion process of the original data, even if it is leaked during the video data transmission process, only the video images in the visible area can be seen, further protecting the user's privacy. Specifically, the video data can also be sent to the terminal device via a transmission medium such as a cloud server.

[0107] In a possible implementation method, the method further includes:

[0108] 105, performing edge recognition on the visible area in the video data to obtain an edge coordinate range;

[0109] 106, updating the visible coordinate range according to the edge coordinate range;

[0110] 107, processing the original data according to the updated visible coordinate range.

[0111] It is understandable that the scenario considered in steps 105 to 107 is that when the camera moves due to human or other reasons, the video screen will also move accordingly, so that the visible area is also shifted. Then the area that can be guarded may be shifted to other locations that originally belonged to the privacy area. If it is not discovered in time, it will also cause unnecessary impact on the user. Therefore, the edge recognition technology in image recognition technology is used in the embodiment of the present application to identify the edge of the visible area in the video data with the demarcated visible area, and re-update the visible coordinate range according to the recognition result, so that the video screen can track the visible area. The details are as follows:

[0112] While sending the video data to the terminal device, edge recognition is performed on the visible area in the video data, such as Figure 7b If the edge of the visible area in the video is the crib guardrail, the image recognition technology can be used to locate and lock the crib guardrail, and the edge coordinate range, that is, the coordinate area within the edge of the crib guardrail, is constructed. The visible coordinate range is updated according to the edge coordinate range, that is, the original visible coordinate range is replaced with the edge coordinate range, and the process returns to step 103. The original data is processed according to the updated visible coordinate range, and the visible area in the generated video data, that is, the area within the edge coordinate range, is Figure 2 The area where the crib is shown.

[0113] It can be understood that the edge recognition technology in image recognition technology is: when detecting the edge of an object, first roughly detect its contour points, and then connect the originally detected contour points through linking rules, while also detecting and connecting missed boundary points and removing false boundaries. This technology already exists and has been applied in related fields, so this application will not go into details.

[0114] The video processing method provided in the embodiment of the present application obtains the visible area specified by the user on the terminal device, and then processes the original data captured by the camera according to the coordinate range of the visible area, so as to obtain the video data of the area outside the shielded visible area and return it to the terminal device, thereby realizing accurate privacy shielding of the video screen. When the video data is leaked or shared, the privacy of the shielded area can be protected at the video data source, thereby solving the problem of privacy leakage caused by capturing the privacy area when the camera video is leaked or shared.

[0115] This application also provides a video processing device. Figure 8 , Figure 8 The schematic diagram of the structure of the video processing device provided in the embodiment of the present application. The video processing device can be used to execute the steps in the embodiment shown in FIG. 1. For details, please refer to the relevant introduction in the above method embodiment. It is understandable that the video processing device provided in the embodiment of the present application can be mounted in a camera device, for example, integrated with a camera; it can also be deployed on a cloud server.

[0116] The video processing device 800 includes a transceiver module 801 and a processing module 802 .

[0117] The transceiver module 801 can implement corresponding communication functions, and the transceiver module 801 can also be called a communication interface or a communication unit. The processing module 802 is used to perform processing operations.

[0118] Optionally, the video processing device 800 may further include a storage module, which may be used to store instructions and / or data. The processing module 802 may read the instructions and / or data in the storage module so that the video processing device 800 implements the method embodiment shown in FIG. 1 .

[0119] The video processing device 800 can be used to perform the actions performed by the above method embodiment. The video processing device 800 can be a terminal device or a component that can be configured in a terminal device. The transceiver module 801 is used to perform the reception-related operations on the terminal device side in the above method embodiment, and the processing module 802 is used to perform the processing-related operations on the terminal device side in the above method embodiment.

[0120] Optionally, the transceiver module 801 may include a sending module and a receiving module. The sending module is used to perform the sending operation in the method embodiment shown in FIG1 . The receiving module is used to perform the receiving operation in the method embodiment shown in FIG1 .

[0121] For example, the video processing device 800 is used to execute the following scheme:

[0122] The transceiver module 801 is used to obtain the visible coordinate range of the visible area specified by the terminal device;

[0123] The transceiver module 801 is also used to obtain the original data captured by the camera;

[0124] A processing module 802 is used to process the original data according to the visible coordinate range to generate video data of the area outside the masked visible area;

[0125] The transceiver module 801 is also used to send the video data to the terminal device.

[0126] In one possible implementation, the processing module 802 is specifically used to perform coordinate conversion on the visible coordinate range to obtain a shielded coordinate range; generate an electronic block covering the shielded coordinate range; cover the electronic block on the original data to generate video data of the area outside the shielded visible area.

[0127] In a possible implementation, the visible area is an N-polygon, and the electronic block includes N sub-blocks, where N is an integer greater than 3;

[0128] The N sub-blocks are respectively used to cover the areas between the N edges of the visible area and the edge of the video screen.

[0129] In one possible implementation, the visible area is a rectangle;

[0130] The processing module 802 is specifically used to obtain picture adjustment parameters according to the center coordinates and edge coordinates of the visible coordinate range; and scale and / or crop the original data according to the picture adjustment parameters to generate video data that masks areas outside the visible area.

[0131] In a possible implementation, the processing module 802 is further used to perform edge recognition on the visible area in the video data to obtain an edge coordinate range; update the visible coordinate range according to the edge coordinate range; and process the original data according to the updated visible coordinate range.

[0132] This application also provides a video processing device, see Fig. 9 , Fig. 9The transmission signaling diagram of the video processing device provided in the embodiment of the present application includes a terminal device 901, a camera 902 and the above Figure 8 The video processing device 903 in the illustrated embodiment. It should be noted that the video processing device 903 can be mounted on a cloud server or integrated with the camera 902. The present application does not limit the deployment location of the video processing device 903. In short, the video processing device 903 is used to provide a video processing function.

[0133] The terminal device 901 is used to obtain the visible coordinate range of the visible area and send the visible coordinate range to the video processing device; and is also used to obtain the video data processed by the video processing device;

[0134] The camera 902 is used to convert the captured light signal into raw data of a digital signal through an image sensor, and send the raw data to the video processing device.

[0135] The video processing device 903 is used to obtain the visible coordinate range of the visible area specified by the terminal device; obtain the original data captured by the camera; process the original data according to the visible coordinate range to generate video data that shields the area outside the visible area; and send the video data to the terminal device.

[0136] In a possible implementation, the video processing device 903 is further used to perform edge recognition on the visible area in the video data to obtain an edge coordinate range; update the visible coordinate range according to the edge coordinate range; and process the original data according to the updated visible coordinate range.

[0137] The present application also provides a computing device, which may be a server, such as a cloud server, a central server, an edge server, or a local server in a local data center. In some embodiments, the computing device may also be a terminal device such as a desktop computer, a laptop computer, or a smart phone.

[0138] The computing device includes a processor, and the processor is used to execute a computer program or computer instructions in a memory to perform the video processing method in the embodiment shown in FIG. 1 above.

[0139] Furthermore, the computing device also includes a memory, and the memory may store instructions for executing the above-mentioned video processing method.

[0140] The present application also provides a computer program product including instructions. The computer program product may be a software or program product including instructions that can be run on a computing device or stored in any available medium. When the computer program product is run on at least one computing device, the at least one computing device executes the video processing method in the embodiment shown in FIG. 1 above.

[0141] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center containing one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk). The computer-readable storage medium includes instructions that instruct the computing device to execute the video processing method in the embodiment shown in FIG. 1 above.

[0142] The steps of the method or algorithm described in conjunction with the disclosure of the present application can be implemented in a hardware manner, or can be implemented by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a mobile hard disk, a CD-ROM or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a terminal. Of course, the processor and the storage medium can also be present in the first communication device as discrete components.

[0143] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0144] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as 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 an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0145] 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 on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0146] In addition, each functional unit in each embodiment of the present application may be integrated into one 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.

[0147] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

Claims

1. A video processing method, It is characterized in that include: Get the visible coordinate range of the visible area specified by the terminal device; Get the raw data captured by the camera; Processing the original data according to the visible coordinate range to generate video data shielding areas outside the visible area; The video data is sent to the terminal device.

2. The method according to claim 1, It is characterized in that The processing of the original data according to the visible range to generate video data shielding the area outside the visible area includes: Performing coordinate transformation on the visible coordinate range to obtain a shielded coordinate range; generating an electronic block covering the shielding coordinate range; The electronic block is overlaid on the original data to generate video data that masks areas outside the visible area.

3. The method according to claim 2, It is characterized in that The visible area is an N-gon, and the electronic block includes a plurality of sub-blocks, wherein N is an integer greater than 3; The plurality of sub-blocks are used to cover the area between the N edges of the visible area and the edge of the video screen.

4. The method according to claim 1, It is characterized in that The processing of the original data according to the visible coordinate range to generate video data shielding the area outside the visible area includes: Obtaining picture adjustment parameters according to the center coordinates and edge coordinates of the visible coordinate range; The original data is moved and / or cropped according to the picture adjustment parameters to generate video data that masks areas outside the visible area.

5. The method according to any one of claims 1 to 4, It is characterized in that After sending the video data to the terminal device, the method further includes: Performing edge recognition on the visible area in the video data to obtain an edge coordinate range; updating the visible coordinate range according to the edge coordinate range; The original data is processed according to the updated visible coordinate range.

6. A video processing device, It is characterized in that It includes a transceiver module and a processing module; The transceiver module is used to perform the transceiver operation as described in any one of claims 1 to 5, and the processing module is used to perform the processing operation as described in any one of claims 1 to 5.

7. A video processing device, It is characterized in that It comprises a terminal device, a camera and the video processing device as claimed in claim 6; The terminal device is used to obtain a visible coordinate range of a visible area and send the visible coordinate range to the video processing device; Also used to obtain video data processed by the video processing device; The camera is used to convert the captured light signal into raw data of a digital signal through an image sensor, and send the raw data to the video processing device.

8. A computing device, It is characterized in that The computing device includes a processor; The processor is configured to execute a computer program or computer instructions in a memory to perform the method according to any one of claims 1 to 5.

9. The computing device according to claim 8, It is characterized in that The computing device also includes the memory.

10. A computer-readable storage medium, It is characterized in that A computer program is stored thereon, and when the computer program is executed by a computing device, the computing device is caused to execute the method according to any one of claims 1 to 5.

11. A computer program product comprising a program, It is characterized in that When the program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.