CN116206242A - Method and device for processing video, storage medium and electronic equipment - Google Patents

Method and device for processing video, storage medium and electronic equipment Download PDF

Info

Publication number
CN116206242A
CN116206242A CN202310153285.1A CN202310153285A CN116206242A CN 116206242 A CN116206242 A CN 116206242A CN 202310153285 A CN202310153285 A CN 202310153285A CN 116206242 A CN116206242 A CN 116206242A
Authority
CN
China
Prior art keywords
image frame
processed
sensitive information
video file
video
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310153285.1A
Other languages
Chinese (zh)
Inventor
孙兴华
苏盈
张庆华
陈浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sunshine Insurance Group Co Ltd
Original Assignee
Sunshine Insurance Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sunshine Insurance Group Co Ltd filed Critical Sunshine Insurance Group Co Ltd
Priority to CN202310153285.1A priority Critical patent/CN116206242A/en
Publication of CN116206242A publication Critical patent/CN116206242A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • G06V20/46Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Multimedia (AREA)
  • Medical Informatics (AREA)
  • Databases & Information Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Image Processing (AREA)

Abstract

Some embodiments of the present application provide a method, an apparatus, a storage medium, and an electronic device for processing video, where the method includes: detecting each image frame in the video file to be processed to obtain the image frame to be processed containing sensitive information; desensitizing the image frame to be processed to obtain a target image frame; and synthesizing the target video file based on the target image frame and the rest image frames except the image frames to be processed in the video file to be processed. The embodiment of the application can realize the desensitization treatment of the video file, and has higher efficiency.

Description

Method and device for processing video, storage medium and electronic equipment
Technical Field
The present invention relates to the field of video processing technologies, and in particular, to a method and apparatus for processing video, a storage medium, and an electronic device.
Background
In order to practically maintain legal rights of clients, it is particularly important to protect important privacy information of clients and prevent intentional or unintentional information propagation. As an emerging technology, 5G video is widely used in various enterprise fields (e.g., insurance business field or banking field in financial industry) in the future. Thus, there is an urgent need for desensitization of 5G video recordings.
Based on the limitation of the prior related technology platform, the video record generated in real time in the 5G video process contains the sensitive information of the client, and the prior art adopts the process of directly deleting the video frame containing the sensitive information, but ensures that the sensitive information of the client is not leaked, but cannot ensure the integrity of the finally obtained video record.
Therefore, how to provide a method for efficiently processing video is a technical problem to be solved.
Disclosure of Invention
The invention provides a method, a device, a storage medium and electronic equipment for processing video, and the technical scheme of the embodiments of the application can realize desensitization processing of video files under the condition that the video files are finally ensured to be complete, and has higher processing efficiency and higher practicability.
In a first aspect, some embodiments of the present application provide a method of processing video, comprising: detecting each image frame in the video file to be processed to obtain the image frame to be processed containing sensitive information; desensitizing the image frame to be processed to obtain a target image frame; and synthesizing the target video file based on the target image frame and the rest image frames except the image frames to be processed in the video file to be processed.
According to the method and the device, the image frames to be processed are obtained through detection of the video files to be processed, then the image frames to be processed are subjected to desensitization processing to obtain target image frames, and further the target video files are obtained, so that the desensitization processing of the video files can be achieved under the condition that the integrity of the video files is finally guaranteed, the processing efficiency is high, and the practicability is high.
In some embodiments, before detecting each image frame in the video file to be processed, the method further comprises: reading an original video file; and marking the video frames containing the sensitive information names in the original video file to obtain the video file to be processed.
According to the method and the device for processing the video file, the to-be-processed video file is obtained by marking the sensitive information name in the original video file, so that the detection efficiency of the subsequent to-be-processed video file can be improved, and the accuracy and the efficiency of desensitization processing are improved.
In some embodiments, the detecting each image frame in the video file to be processed to obtain the image frame to be processed containing the sensitive information includes: identifying each image frame to obtain a marked image frame containing the mark; and taking the marked image frame as the image frame to be processed under the condition that the sensitive information name in the marked image frame corresponds to the sensitive information.
According to the method and the device for identifying the image frames, the marking image frames are obtained through identification, and the image frames containing the desensitized images can be accurately confirmed when the image frames to be processed are obtained, so that the accuracy is high.
In some embodiments, the confirming that the sensitive information name corresponds to sensitive information in the marker image frame includes: comparing the information character string corresponding to the sensitive information name with preset information; and if the information character string is consistent with the preset information, confirming that the information character string is the sensitive information.
According to the method and the device for processing the image frames, the information character strings can be determined to be sensitive information by comparing the information character strings with preset information, so that the fact that the image frames to be processed contain accurate sensitive information can be determined.
In some embodiments, the detecting each image frame in the video file to be processed to obtain the image frame to be processed containing the sensitive information includes: and identifying the text in each image frame to obtain the image frame to be processed.
According to the method and the device for processing the video, the image frames to be processed are obtained by directly detecting the image frames, so that the video processing efficiency can be improved.
In some embodiments, the desensitizing the image frame to be processed to obtain a target image frame includes: and replacing the sensitive information with preset characters, or covering the sensitive information with preset characters, or deleting the sensitive information to obtain the target image frame.
Some embodiments of the present application provide for a high degree of flexibility by modifying the sensitive information in a variety of ways.
In some embodiments, the sensitive information includes at least one of: customer name, customer telephone number, customer identification number, and customer policy number.
In a second aspect, some embodiments of the present application provide an apparatus for processing video, comprising: the detection module is used for detecting each image frame in the video file to be processed and obtaining the image frame to be processed containing sensitive information; the processing module is used for carrying out desensitization processing on the image frames to be processed to obtain target image frames; and the synthesis module is used for synthesizing the target video file based on the target image frame and the rest image frames except the image frames to be processed in the video file to be processed.
In a third aspect, some embodiments of the present application provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs a method according to any of the embodiments of the first aspect.
In a fourth aspect, some embodiments of the present application provide an electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor, when executing the program, can implement a method according to any of the embodiments of the first aspect.
In a fifth aspect, some embodiments of the present application provide a computer program product comprising a computer program, wherein the computer program, when executed by a processor, is adapted to carry out the method according to any of the embodiments of the first aspect.
Drawings
In order to more clearly illustrate the technical solutions of some embodiments of the present application, the drawings that are required to be used in some embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort to a person having ordinary skill in the art.
FIG. 1 is a system diagram of processing video provided by some embodiments of the present application;
FIG. 2 is one of the flow charts of the method of processing video provided in some embodiments of the present application;
FIG. 3 is a diagram of one of the policy information provided in some embodiments of the present application;
FIG. 4 is a second diagram of policy information provided in some embodiments of the present application;
FIG. 5 is a second flowchart of a method for processing video according to some embodiments of the present application;
FIG. 6 is a block diagram of an apparatus for processing video provided in some embodiments of the present application;
fig. 7 is a schematic diagram of an electronic device according to some embodiments of the present application.
Detailed Description
The technical solutions in some embodiments of the present application will be described below with reference to the drawings in some embodiments of the present application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
In the related art, the financial industry is taken as an important industry front place, and any contact point which can contact with the private information of the customer needs to consider that the important private information of the customer is protected by utilizing corresponding means, so that intentional or unintentional information propagation is prevented. The video customer service is taken as a most visual way for serving the clients, so that the clients can enjoy convenience brought by science and technology without going out. While 5G video is an emerging technology, it is not particularly widely used in the enterprise field, but is also facing an urgent need for video recording desensitization. Because of the limitation of the line and the technical means of operators and the limitation of the related technology platform at present, important personal privacy information such as the name and the identity card of a customer is contained in the video record generated in real time in the 5G video process. According to the supervision requirements of the industry, the video desensitization processing is needed for the subsequent viewing and utilization of the video, so that the desensitization processing of the video also brings great challenges to the industry. At present, a simple and quick technical means for desensitizing video files is lacking.
In view of this, some embodiments of the present application provide a method for processing video, where the method may obtain an image frame to be processed by detecting a video to be processed, then only need to perform desensitization processing on the image frame to be processed, and finally, synthesize a processed target image frame with the remaining image frames to obtain a target video file. According to the method and the device for processing the video file, the desensitization processing of the video file to be processed can be achieved under the condition that the integrity of the video file is guaranteed, and the efficiency and the accuracy are high.
As shown in fig. 1, some embodiments of the present application provide a system for processing video, including a video server 100 and a processing server 200. Wherein the video server 100 and the processing server 200 may perform bi-directional communication. The processing server 200 may read the video file to be processed on the video server 100. The processing server 200 may then detect the video frames to be processed to obtain the image frames to be processed. And then desensitizing the image frames to be processed to obtain target image frames. And finally, synthesizing the target image frame and the rest image frames except the image frame to be processed to obtain a target video file, and storing the target video file into the processing server 200 so as to be convenient for related personnel to check or download. According to the embodiment, the desensitization processing of the video file to be processed is realized, and the processing process is simple and efficient.
In some embodiments of the present application, if the terminal has the same function as the processing server 200, the terminal may be set to communicate with the video server 100. The terminal may be a portable terminal device or a non-portable computer terminal. The video file to be processed may be one video file or may be a plurality of video files. The embodiments of the present application are not specifically limited herein.
An implementation of processing video performed by the processing server 200 provided in some embodiments of the present application is described below by way of example in conjunction with fig. 2.
Referring to fig. 2, fig. 2 is a flowchart of a method for processing video according to some embodiments of the present application, where the method for processing video includes: s210, detecting each image frame in the video file to be processed to obtain the image frame to be processed containing sensitive information. And S220, performing desensitization processing on the image frame to be processed to acquire a target image frame. And S230, synthesizing the target video file based on the target image frame and the rest image frames except the image frames to be processed in the video file to be processed.
For example, in some embodiments of the present application, the processing server 200 may be provided with a process for timing processing tasks in the background, and the operating environment in which the processing server 200 is located is Linux, where the process may employ a multithreading mechanism, that is, the processing server 200 may process multiple video files at a time. After the time of reaching the timing processing task, the processing server 200 reads the corresponding video file to be processed from the video server 100, and stores the video file locally. The processing server 200 may then obtain the target image frame by performing detection and desensitization processing on the video file to be processed. And finally, synthesizing the target image frame with the rest image frames which do not need to be subjected to desensitization treatment to obtain the target video file. Wherein, the cv2 library component can be adopted to extract the image frames to be processed and synthesize the target video files. Other extraction and synthesis methods may be used in practical applications, and the application is not limited thereto.
In some embodiments of the present application, the sensitive information includes at least one of: customer name, customer telephone number, customer identification number, and customer policy number.
For example, in some embodiments of the present application, the customer's sensitive information may be customer's basic information as well as customer's policy number (i.e., customer policy number), customer policy amount, customer policy type, and so on, which are important information related to the customer. In the banking field, the sensitive information of the customer may be the customer's basic information as well as the customer's bank card number, customer balance, customer financial products, etc. The setting of the sensitive information can be specifically performed according to the actual situation, and the application is not limited to this.
To improve the rate and accuracy of processing the video, in some embodiments of the present application, before performing S210, the method of processing the video further includes: reading an original video file; and marking the video frames containing the sensitive information names in the original video file to obtain the video file to be processed.
For example, in some embodiments of the present application, the processing server 200 may obtain the original video file on the video server 100 and save it locally. And then, marking the sensitive information name corresponding to the sensitive information by using a marking tool to obtain the video file to be processed. The sensitive information names may be "name", "applicant", "certificate number", "mobile phone number", "policy number", "card number", etc. For example, the number of the insurance policy, the applicant, and the insured may be marked by the marking method shown in fig. 3, that is, specific symbols are marked before and after the sensitive information name. The marking of the original video file may be performed manually, may be performed by automatic recognition and marking by a marking tool, or may be performed by cooperation of a manual and a marking tool, which is not particularly limited herein.
In some embodiments of the present application, S210 may include: identifying each image frame to obtain a marked image frame containing the mark; and taking the marked image frame as the image frame to be processed under the condition that the sensitive information name in the marked image frame corresponds to the sensitive information.
For example, in some embodiments of the present application, each image frame is identified using the python's easycr component, identifying a marked image frame that contains a particular symbol mark. And then identifying whether the marked sensitive information name has sensitive information, and if so, obtaining the image frame to be processed. If the sensitive information name does not contain any field or character string, the sensitive information corresponding to the sensitive information name is empty, and this type of image frame can be regarded as the remaining image frame that does not need desensitization.
In some embodiments of the present application, S210 may include: comparing the information character string corresponding to the sensitive information name with preset information; and if the information character string is consistent with the preset information, confirming that the information character string is the sensitive information.
For example, in some embodiments of the present application, the information string to be identified may be compared to the customer's preset information and if consistent, determined to be sensitive. For example, the mobile phone number is 11 bits (as a specific example of the preset information), and the mobile phone number in the image frame is only 8 bits, and at this time, it is confirmed that the error information, that is, the non-sensitive information, is present. Alternatively, the policy number is a numeric character array (as a specific example of the preset information), and the policy number in the image frame is a character string containing numbers and letters, and may be regarded as error information, that is, non-sensitive information. The information character string and the preset information are screened to obtain real sensitive information, so that the efficiency of desensitization processing can be improved for the follow-up, and useless processing operation is avoided. It can be understood that different preset information can be set for comparison according to different types of the sensitive information, so that identification of various sensitive information can be realized, and the efficiency is high.
In other embodiments of the present application, S210 may include: and identifying the text in each image frame to obtain the image frame to be processed.
For example, in other embodiments of the present application, the processing server 200 may also directly identify the original video file as a to-be-processed video file, and perform no marking processing to obtain a to-be-processed image frame containing sensitive information.
In some embodiments of the present application, S220 may include: and replacing the sensitive information with preset characters, or covering the sensitive information with preset characters, or deleting the sensitive information to obtain the target image frame.
For example, in some embodiments of the present application, the desensitization treatment may be performed in a variety of ways. For example, the preset character may be set as a string of meaningless characters, such as replacing the digits in the policy number with # -, or%s, etc., as shown in fig. 4. Or the policy number is covered with a white box, or deleted by painting, etc., the application is not limited thereto.
The following takes the insurance field as an example, and in conjunction with fig. 5, an exemplary description is given of a specific process for processing video provided in some embodiments of the present application.
Referring to fig. 5, fig. 5 is a flowchart of a method for processing video according to some embodiments of the present application. The above-described process is exemplarily set forth below.
S510, reading the original video file.
For example, as one specific example of the present application, the processing server 200 reads at least one insurance information video file (as one specific example of the original video file) from the video server 100 and saves it locally.
S520, marking the video frames containing the sensitive information names in the original video file to obtain the video file to be processed.
For example, as a specific example of the present application, the processing server 200 reads the locally-reserved insurance information video file, opens the file, and performs frame-by-frame processing by using streaming media. The sensitive information names of all video frames in the insurance information video file are marked by using a marking tool to obtain a to-be-processed insurance information video file (as a specific example of the to-be-processed video file). The specific labeling method can refer to the method embodiment in fig. 2, and is not described herein for avoiding repetition.
And S530, identifying each image frame in the video file to be processed to obtain a marked image frame containing marks.
For example, as a specific example of the present application, a video file to be processed may be divided into multiple frames, where each frame is a picture, and there are text and special characters on the picture. The processing server 200 may use the python's easycr component to identify the video file of insurance information to be processed from frame to frame, resulting in a tagged image frame.
S540, confirming that the sensitive information name in the marked image frame corresponds to sensitive information.
For example, as one specific example of the present application, the processing server 200 may identify the presence of sensitive information in the marker image frames. Such as the policy number in fig. 3: 123456789, applicant's third and insured's fourth.
S550, comparing the information character string corresponding to the sensitive information name with preset information.
For example, as a specific example of the present application, the processing server 200 sets the preset information of the policy number to 9 bits, the preset information of the applicant to be insurance is chinese characters, and the preset information of the insured to be insurance is chinese characters.
S560, if the information character string is consistent with the preset information, S570 is executed, otherwise S550 is returned.
For example, as a specific example of the present application, the processing server 200 confirms that the policy number, the applicant, and the insured person are all consistent with the preset information.
S570, the marked image frame is taken as the image frame to be processed.
For example, as a specific example of the present application, the processing server 200 takes the marker image frame in fig. 3 as an image frame to be processed.
And S580, performing desensitization processing on the image frame to be processed to acquire a target image frame.
For example, as one specific example of the present application, the processing server 200 will have the policy number in fig. 3: 123456789 replaced with "- -" and applicant Zhang Sanyong "×" and insured life was replaced with "%" to obtain the target image frame shown in fig. 4.
And S590, synthesizing the target video file based on the target image frame and the residual image frame.
For example, as a specific example of the present application, the processing server 200 synthesizes the target image frame and the remaining images except for the image frame to be processed in the video file of the insurance information to obtain the desensitized video file of the insurance information after desensitization, and stores the desensitized video file locally.
Referring to fig. 6, fig. 6 illustrates a block diagram of an apparatus for processing video according to some embodiments of the present application. It should be understood that the apparatus for processing video corresponds to the above method embodiments, and is capable of performing the steps involved in the above method embodiments, and specific functions of the apparatus for processing video may be referred to the above description, and detailed descriptions thereof are omitted herein as appropriate to avoid redundancy.
The video processing apparatus of fig. 6 includes at least one software functional module that can be stored in a memory in the form of software or firmware or cured in the video processing apparatus, the video processing apparatus comprising: the detection module 610 is configured to detect each image frame in the video file to be processed, and obtain an image frame to be processed containing sensitive information; a processing module 620, configured to perform desensitization processing on the image frame to be processed, and obtain a target image frame; and a synthesizing module 630, configured to synthesize a target video file based on the target image frame and the remaining image frames in the video file to be processed except for the image frame to be processed.
In some embodiments of the present application, the apparatus for processing video further includes a marking module (not shown) for reading the original video file before the detecting module 610; and marking the video frames containing the sensitive information names in the original video file to obtain the video file to be processed.
In some embodiments of the present application, the detection module 610 is further configured to identify each of the image frames to obtain a marked image frame containing the mark; and taking the marked image frame as the image frame to be processed under the condition that the sensitive information name in the marked image frame corresponds to the sensitive information.
In some embodiments of the present application, the detection module 610 is further configured to compare an information string corresponding to the sensitive information name with preset information; and if the information character string is consistent with the preset information, confirming that the information character string is the sensitive information.
In some embodiments of the present application, the detection module 610 is further configured to identify text in each image frame, so as to obtain the image frame to be processed.
In some embodiments of the present application, the processing module 620 is configured to replace the sensitive information with a preset character, or overlay the sensitive information with a preset character, or delete the sensitive information, to obtain the target image frame.
In some embodiments of the present application, the sensitive information includes at least one of: customer name, customer telephone number, customer identification number, and customer policy number.
Some embodiments of the present application also provide a computer readable storage medium having stored thereon a computer program, which when executed by a processor, may implement operations of the method corresponding to any of the above-described methods provided by the above-described embodiments.
Some embodiments of the present application further provide a computer program product, where the computer program product includes a computer program, where the computer program when executed by a processor may implement operations of a method corresponding to any of the foregoing methods provided by the foregoing embodiments.
As shown in fig. 7, some embodiments of the present application provide an electronic device 700, the electronic device 700 comprising: memory 710, processor 720, and a computer program stored on memory 710 and executable on processor 720, wherein processor 720 may implement a method as in any of the embodiments described above when reading the program from memory 710 and executing the program via bus 730.
Processor 720 may process the digital signals and may include various computing structures. Such as a complex instruction set computer architecture, a reduced instruction set computer architecture, or an architecture that implements a combination of instruction sets. In some examples, processor 720 may be a microprocessor.
Memory 710 may be used for storing instructions to be executed by processor 720 or data related to execution of the instructions. Such instructions and/or data may include code to implement some or all of the functions of one or more modules described in embodiments of the present application. The processor 720 of the disclosed embodiments may be configured to execute instructions in the memory 710 to implement the methods shown above. Memory 710 includes dynamic random access memory, static random access memory, flash memory, optical memory, or other memory known to those skilled in the art.
The foregoing is merely exemplary embodiments of the present application and is not intended to limit the scope of the present application, and various modifications and variations may be suggested to one skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application. It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A method of processing video, comprising:
detecting each image frame in the video file to be processed to obtain the image frame to be processed containing sensitive information;
desensitizing the image frame to be processed to obtain a target image frame;
and synthesizing the target video file based on the target image frame and the rest image frames except the image frames to be processed in the video file to be processed.
2. The method of claim 1, wherein prior to detecting each image frame in the video file to be processed, the method further comprises:
reading an original video file;
and marking the video frames containing the sensitive information names in the original video file to obtain the video file to be processed.
3. The method of claim 2, wherein detecting each image frame in the video file to be processed to obtain the image frame to be processed containing sensitive information, comprises:
identifying each image frame to obtain a marked image frame containing the mark;
and taking the marked image frame as the image frame to be processed under the condition that the sensitive information name in the marked image frame corresponds to the sensitive information.
4. The method of claim 3, wherein said confirming that the sensitive information name corresponds to sensitive information in the marker image frame comprises:
comparing the information character string corresponding to the sensitive information name with preset information;
and if the information character string is consistent with the preset information, confirming that the information character string is the sensitive information.
5. The method of claim 1, wherein detecting each image frame in the video file to be processed to obtain the image frame to be processed containing sensitive information, comprises:
and identifying the text in each image frame to obtain the image frame to be processed.
6. The method according to any one of claims 1-5, wherein said desensitizing the image frames to be processed to obtain target image frames comprises:
and replacing the sensitive information with preset characters, or covering the sensitive information with preset characters, or deleting the sensitive information to obtain the target image frame.
7. The method of any of claims 1-5, wherein the sensitive information comprises at least one of: customer name, customer telephone number, customer identification number, and customer policy number.
8. An apparatus for processing video, comprising:
the detection module is used for detecting each image frame in the video file to be processed and obtaining the image frame to be processed containing sensitive information;
the processing module is used for carrying out desensitization processing on the image frames to be processed to obtain target image frames;
and the synthesis module is used for synthesizing the target video file based on the target image frame and the rest image frames except the image frames to be processed in the video file to be processed.
9. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program, wherein the computer program when run by a processor performs the method according to any of claims 1-7.
10. An electronic device comprising a memory, a processor, and a computer program stored on the memory and running on the processor, wherein the computer program when run by the processor performs the method of any one of claims 1-7.
CN202310153285.1A 2023-02-17 2023-02-17 Method and device for processing video, storage medium and electronic equipment Pending CN116206242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310153285.1A CN116206242A (en) 2023-02-17 2023-02-17 Method and device for processing video, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310153285.1A CN116206242A (en) 2023-02-17 2023-02-17 Method and device for processing video, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN116206242A true CN116206242A (en) 2023-06-02

Family

ID=86514323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310153285.1A Pending CN116206242A (en) 2023-02-17 2023-02-17 Method and device for processing video, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN116206242A (en)

Similar Documents

Publication Publication Date Title
CN107239666B (en) Method and system for desensitizing medical image data
JP4829920B2 (en) Form automatic embedding method and apparatus, graphical user interface apparatus
US10733434B2 (en) Method and system for accurately detecting, extracting and representing redacted text blocks in a document
US9626555B2 (en) Content-based document image classification
CN112651841B (en) Online business handling method, online business handling device, server and computer readable storage medium
US11301710B2 (en) Managing camera actions
CN115238286A (en) Data protection method and device, computer equipment and storage medium
TWI686725B (en) Method and device for displaying sensitive information
US20220092878A1 (en) Method and apparatus for document management
Lazareva et al. Digital information in criminal proceedings: The concept and evidential significance
CN111428656A (en) Mobile terminal identity card identification method based on deep learning and mobile device
US20130332374A1 (en) Fraud prevention for real estate transactions
CN115758451A (en) Data labeling method, device, equipment and storage medium based on artificial intelligence
CN116484420A (en) Text desensitization processing method and device
US20200159907A1 (en) Automatic extraction of information from obfuscated image regions
US20180113849A1 (en) System and method for cheque image data masking
CN112256547A (en) Data recording method and device
CN116206242A (en) Method and device for processing video, storage medium and electronic equipment
CN111161044A (en) Automatic screen capture method and device, computer equipment and readable storage medium
CN114417397A (en) Behavior portrait construction method and device, storage medium and computer equipment
JP7328797B2 (en) Terminal device, character recognition system and character recognition method
CN114359918A (en) Bill information extraction method and device and computer equipment
WO2021098797A1 (en) Method of managing documents, user equipment, and non-transitory
US20220237692A1 (en) Method and system for providing financial process automation to financial organization
CN112749294B (en) Page hidden text recognition method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination