CN112287135A - Screenshot processing method and device - Google Patents

Screenshot processing method and device Download PDF

Info

Publication number
CN112287135A
CN112287135A CN201910619979.3A CN201910619979A CN112287135A CN 112287135 A CN112287135 A CN 112287135A CN 201910619979 A CN201910619979 A CN 201910619979A CN 112287135 A CN112287135 A CN 112287135A
Authority
CN
China
Prior art keywords
picture
user
type
screenshot
processing
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
CN201910619979.3A
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.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development 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 Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201910619979.3A priority Critical patent/CN112287135A/en
Publication of CN112287135A publication Critical patent/CN112287135A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/4448Receiver circuitry for the reception of television signals according to analogue transmission standards for frame-grabbing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a screenshot processing method and a screenshot processing device, wherein the method comprises the following steps: after monitoring that a user performs screenshot operation, acquiring a picture intercepted by the user; determining the type of the picture; and processing the picture according to the type of the picture. By using the invention, the intelligent processing of the screenshot can be realized, and the complexity of screenshot operation is reduced.

Description

Screenshot processing method and device
Technical Field
The invention relates to the field of picture processing, in particular to a screenshot processing method and device.
Background
Screenshots are visual images captured by a computer that can be displayed on a screen or other display device, and typically screenshots may be captured by an operating system or a dedicated screenshot tool. The screenshot tool can capture video information, text information displayed in a screen and save the captured screen information as a picture, such as a picture in BMP, PNG, JPEG, or the like format. Since the screenshot tool captures information from the screen by means of interception, it is inevitable to include some private information of the user in the intercepted picture, and such information may not be desirable for the user to be exposed to others, especially in some specific application scenarios, such as chat conversations. For this reason, there are generally the following two processing methods for this case:
one is manual modification of the captured picture by the user, first storing the captured picture as a picture, and then processing the stored picture by the user using a picture processing tool, such as smearing or blocking private information. This increases the complexity of the screenshot, affecting the user experience.
The other method is that the whole captured image is detected by a screenshot tool during screenshot to determine whether safety-related information exists in the image, and whether the screenshot is continued is determined by means of inquiry when the safety-related information is detected. Although this approach may enable automatic detection of the security of captured information, user cooperation is still required to complete the screenshot, and the user can only passively choose to accept or discard it.
Disclosure of Invention
The embodiment of the invention provides a screenshot processing method and device, which are used for intelligently processing a screenshot and reducing the complexity of screenshot operation.
Therefore, the invention provides the following technical scheme:
a screenshot processing method, the method comprising:
after monitoring that a user performs screenshot operation, acquiring a picture intercepted by the user;
determining the type of the picture;
and processing the picture according to the type of the picture.
Optionally, the method further comprises:
after monitoring that a user performs screenshot operation, determining a current application environment;
and if the current application environment is the set application environment, executing the operation of acquiring the picture intercepted by the user.
Optionally, the setting of the application environment includes any one of: social application environment, file editing environment, social environment.
Optionally, the method further comprises:
after monitoring that the user performs screenshot operation, displaying prompt information whether to intelligently process the screenshot to the user;
and if the user selects to carry out intelligent processing, executing the operation of acquiring the picture intercepted by the user.
Optionally, the determining the type of the picture includes:
determining the type of the picture by utilizing a pre-trained picture classifier; or
And displaying the picture type label to the user, and determining the type of the picture according to the picture type label selected by the user.
Optionally, the type of the picture includes any one or more of the following: charts, chat screenshots, private photographs.
Optionally, the processing the picture according to the type of the picture includes:
if the type of the picture is a chat screenshot, determining sensitive information in the picture, and hiding the sensitive information;
if the type of the picture is a private picture, determining a sensitive area in the picture, and hiding the sensitive area;
and if the type of the picture is a chart, marking a specific value in the chart.
Optionally, the sensitive information comprises any one or more of: chat object head portrait and name, name information, privacy information, violence information, pornography information and rumor information in chat content;
the sensitive region includes: a face region and/or a specific part region;
the marking of specific values in the graph comprises: and specially displaying the specific value.
Optionally, the hiding process includes any one of: shielding treatment, blurring treatment, mosaic treatment, smearing treatment and erasing treatment;
the special display comprises any one of the following: the font is displayed in bold, highlighted and changed in color.
A screenshot processing apparatus, the apparatus comprising:
the monitoring module is used for monitoring screenshot operation of a user;
the image acquisition module is used for acquiring an image intercepted by the user after the monitoring module monitors that the user carries out screenshot operation;
the type determining module is used for determining the type of the picture;
and the picture processing module is used for processing the picture according to the type of the picture.
Optionally, the apparatus further comprises:
and the environment determining module is used for determining the current application environment after the monitoring module monitors that the user performs screenshot operation, and triggering the picture obtaining module to obtain the picture intercepted by the user when the current application environment is the set application environment.
Optionally, the setting of the application environment includes any one of: social application environment, file editing environment, social environment.
Optionally, the apparatus further comprises:
and the information prompt module is used for displaying prompt information whether to intelligently process the screenshot to the user after the monitoring module monitors that the user performs screenshot operation, and triggering the picture acquisition module to acquire the picture intercepted by the user after the user selects to intelligently process the screenshot.
Optionally, the type determining module is specifically configured to determine the type of the picture by using a pre-trained picture classifier; or displaying the picture type label to the user, and determining the type of the picture according to the picture type label selected by the user.
Optionally, the type of the picture includes any one or more of the following: charts, chat screenshots, private photographs.
Optionally, the image processing module includes:
the sensitive information processing unit is used for determining the sensitive information in the picture and hiding the sensitive information when the type of the picture is the chat screenshot;
the sensitive area processing unit is used for determining a sensitive area in the picture and hiding the sensitive area when the type of the picture is a private picture;
and the marking unit is used for marking the specific value in the chart when the type of the picture is the chart.
Optionally, the sensitive information comprises any one or more of: chat object head portrait and name, name information, violence information, erotic information and rumor information in chat content;
the sensitive region includes: a face region and/or a specific part region;
the marking unit includes:
an identifying unit for identifying a specific value in the chart;
and the display unit is used for specially displaying the specific value.
Optionally, the hiding process includes any one of: shielding treatment, blurring treatment, mosaic treatment, smearing treatment and erasing treatment;
the special display comprises any one of the following: the font is displayed in bold, highlighted and changed in color.
A computer device, comprising: one or more processors, memory;
the memory is configured to store computer-executable instructions and the processor is configured to execute the computer-executable instructions to implement the method described above.
A readable storage medium having stored thereon instructions which are executed to implement the foregoing method.
According to the screenshot processing method and device provided by the embodiment of the invention, after the screenshot operation of the user is monitored, the picture intercepted by the user is obtained; the type of the picture is determined, then the picture is processed according to the type of the picture, and intelligent processing of the intercepted picture can be automatically realized without user intervention, so that the picture loading function is more convenient and easy to use.
Furthermore, whether the intercepted picture is processed or not can be determined according to the current application environment, so that the processing efficiency of screenshot operation is improved; or whether the intercepted picture is processed is determined according to the selection of the user, so that different requirements of different users in the same application environment can be met, or different requirements of the same user in different application environments can be met.
Furthermore, different modes of processing are performed according to respective characteristics of different types of pictures, so that the safety of information in the pictures is guaranteed, and convenience is brought to users for using the pictures.
Drawings
In order to more clearly illustrate the embodiments of the present application or technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present invention, and other drawings can be obtained by those skilled in the art according to the drawings.
FIG. 1 is a flow chart of a screenshot processing method according to an embodiment of the present invention;
FIG. 2 is another flow chart of a screenshot processing method according to an embodiment of the present invention;
FIG. 3 is another flow chart of a screenshot processing method according to an embodiment of the present invention;
FIG. 4 is an example of a display interface for presenting prompt information to a user in an embodiment of the present invention;
FIG. 5 is a block diagram of a screenshot processing apparatus according to an embodiment of the present invention;
FIG. 6 is a block diagram of another structure of a screenshot processing apparatus according to an embodiment of the present invention;
FIG. 7 is a block diagram of another structure of a screenshot processing apparatus according to an embodiment of the present invention;
FIG. 8 is a block diagram illustrating an apparatus for a screenshot processing method in accordance with an illustrative embodiment;
fig. 9 is a schematic structural diagram of a server in an embodiment of the present invention.
Detailed Description
In order to make the technical field of the invention better understand the scheme of the embodiment of the invention, the embodiment of the invention is further described in detail with reference to the drawings and the implementation mode.
Aiming at the problems existing in the conventional screenshot operation, the embodiment of the invention provides a screenshot processing method and a screenshot processing device, wherein after the screenshot operation of a user is monitored, a picture intercepted by the user is obtained; and determining the type of the picture, and processing the picture according to the type of the picture.
As shown in fig. 1, it is a flowchart of a screenshot processing method according to an embodiment of the present invention, including the following steps:
step 101, after monitoring that the user performs screenshot operation, acquiring a picture intercepted by the user.
In practical applications, the user may capture corresponding information, such as video information, text information, etc., using the screenshot tool provided in various application software. When it is monitored that a user triggers a screenshot function provided by a screenshot tool in application software, the user is indicated to perform screenshot operation, and at the moment, information captured by the screenshot tool is obtained and stored as a picture.
Step 102, determining the type of the picture.
Specifically, a pre-trained picture classifier may be utilized to determine the type of the picture; or displaying the picture type label to the user, and determining the type of the picture according to the picture type label selected by the user. That is, when determining the type of the picture, the type of the picture may be automatically determined by a corresponding application system, or a user may determine which type the currently captured picture belongs to according to a picture type tag provided by the application system. The picture type tag may be displayed, for example, by a floating window, and the displayed content may include a picture type tag selection dialog box, which may be in the form of a square, a circle, a button picture, and the like. Certainly, in order to avoid the user misoperation, the user may also perform reconfirmation, for example, after the user clicks the dialog box, a confirmation button control is displayed, and the user performs reconfirmation by clicking the button control.
The image classifier may adopt an existing image classifier, such as a KNN (K-Nearest Neighbor) classifier, an SVM (Support Vector Machine), a BP (Back-ProPagation) neural network, and the like, and according to a difference in the adopted image classifier, a specific process of determining the type of the image may be different, and needs to be adapted to requirements of the adopted image classifier.
The process of classifying the picture by using the picture classifier is to find a classification label corresponding to the picture from a classification label set, and the specific process is not repeated herein.
In practical applications, classification tags with different granularities may be set for different application requirements, for example, in one embodiment, pictures may be divided into the following categories: the examples of the present invention are not limited to the embodiments, and may include, for example, a chart, a chat screenshot, a private photograph, and the like.
And 103, processing the picture according to the type of the picture.
Specifically, different processing may be performed for different types of pictures, such as:
for a chat screenshot, a private photo and the like, the intercepted picture may contain some sensitive information or sensitive areas; the sensitive information includes any one or more of: chat object head portrait and name, name information, privacy information, violence information, pornography information and rumor information in chat content; the sensitive areas include, but are not limited to: a face region and/or a specific part region; for these sensitive information or sensitive areas, the user usually does not want others to see, therefore, when it is detected that the currently captured picture is such a picture according to the picture classifier, the sensitive information or sensitive areas in the picture may be subjected to hiding processing, such as shading processing, blurring processing, mosaic processing, smearing processing, erasing processing, and the like, which covering manner is specifically adopted may be preset by the system, or the system may present the processing manner that can be provided to the user, and process according to the processing manner selected by the user, which is not limited in the embodiment of the present invention.
The sensitive information can be identified in different ways according to different information, for example, the head portrait and the name of the chat object are usually located at fixed positions on the main chat content, so that the chat object can be identified according to the positions; the privacy information generally comprises identity card information, mobile phone number information and the like, and can be determined through simple rule matching; as for the sensitive information of other characters, the character information in the picture can be obtained by character recognition tools such as OCR and the like, and then it is determined whether the sensitive information includes corresponding sensitive information, for example, matching can be performed through a sensitive word bank, a name word bank and the like, and a part of the information in the word bank is hit as the sensitive information.
The identification of the sensitive region may be determined by existing image recognition techniques, such as sensitive region identification based on contour curves, local region features, and the like.
For a picture of a chart type, since it usually contains some digital information, in order to facilitate a user to pay attention to some key numbers, the key numbers may be marked, specifically, some specific values in the chart, such as a maximum value, a minimum value, and the like, need to be identified first, and then special display is performed on the specific values, such as font bolding, highlighting, color changing, and the like.
It should be noted that, in practical applications, the processing method is not limited to the above-mentioned several picture types, and the information to be processed and the processing manner of the picture may also be determined according to the application requirements, and is not limited to the above hiding processing.
According to the screenshot processing method provided by the embodiment of the invention, after the screenshot operation of the user is monitored, the picture intercepted by the user is obtained; the type of the picture is determined, the picture is processed according to the type of the picture, intelligent processing of the intercepted picture can be automatically achieved without user intervention, and processing in different modes is performed according to respective characteristics of different types of pictures, so that the safety of information in the picture is guaranteed, and the picture can be conveniently used by a user.
Further, in another embodiment of the screenshot processing method, whether to process the intercepted picture can be determined according to the current application environment.
As shown in fig. 2, it is another flowchart of a screenshot processing method according to an embodiment of the present invention, including the following steps:
step 201, after monitoring that the user performs screenshot operation, determining a current application environment.
The application environment refers to a software system running on computer hardware and driving a computer and peripheral devices thereof to achieve a certain purpose, such as a social application, a map application, a search application, and the like.
In the embodiment of the present invention, the current application environment mainly refers to an application environment when a user inputs an input, and specifically, a name of a current application may be obtained by reading information in a registry, so as to determine the current application environment.
Step 202, if the current application environment is the set application environment, acquiring the operation of the picture intercepted by the user.
The set application environment may be, for example, a social application environment, or a file editing environment, or a social environment, etc.
Of course, if the current application environment is not the set application environment, the corresponding operations, such as storage, forwarding and the like, may be directly performed on the captured picture according to the operation of the user.
Step 203, determine the type of the picture.
How to determine the picture type can refer to the foregoing description, and is not described herein again.
And 204, processing the picture according to the type of the picture.
Specifically, different processing contents and processing operations may be provided for different types of pictures, and the embodiment of the present invention is not limited thereto.
Compared with the embodiment shown in fig. 1, in the screenshot processing method provided by the embodiment of the invention, after the screenshot operation of the user is monitored, the current application environment is determined first, and if the current application environment is the set application environment, the picture intercepted by the user is obtained; and determining the type of the picture, and then processing the picture according to the type of the picture. That is, the intelligent processing of the captured picture is automatically realized by the application system only in a specific environment, and the application does not need to automatically perform intelligent processing on the captured picture in a non-specific environment. Moreover, different modes of processing are carried out according to respective characteristics of different types of pictures, so that the safety of information in the pictures is ensured, and convenience is brought to users for using the pictures.
Further, in another embodiment of the screenshot processing method, whether to process the captured picture can be determined according to the selection of the user, so that different requirements of different users in the same application environment can be met, or different requirements of the same user in different application environments can be met.
As shown in fig. 3, it is another flowchart of a screenshot processing method according to an embodiment of the present invention, including the following steps:
step 301, after monitoring that the user performs screenshot operation, showing a prompt message whether to intelligently process the screenshot to the user.
For example, as shown in fig. 4, one display interface of the prompt message is that the displayed prompt message is "intelligent screenshot processing", a selection box is arranged on one side of the prompt message, and a "confirm" button is arranged below the display interface. The user selects whether to intelligently process the screenshot by clicking the selection box, and the worker confirms the screenshot through the 'confirm' button below so as to avoid mistaken selection. If the application system defaults to intelligently processing the screenshot, the selection box is displayed as the selected state in the interface presented to the user. If the user does not need to intelligently process the screenshot, the default selection can be cancelled by clicking the selection box.
Of course, fig. 4 is only a specific example of presenting, to a user, prompt information indicating whether to intelligently process a screenshot, and the embodiment of the present invention is not limited to the above presentation manner, and the specific content of the prompt information is not limited to the content displayed in fig. 4, and other presentation manners and presentation contents may also be adopted, which is not limited thereto.
Step 302, if the user selects to perform intelligent processing, the picture captured by the user is obtained.
Of course, if the user chooses not to perform the intelligent processing, the corresponding operations, such as storage, forwarding and the like, can be directly performed on the captured picture according to the user operation.
Step 303, determining the type of the picture.
And 304, processing the picture according to the type of the picture.
Specifically, different processing contents and processing operations may be provided for different types of pictures, and the embodiment of the present invention is not limited thereto.
Compared with the embodiment shown in fig. 1, the screenshot processing method provided by the embodiment of the invention shows prompt information whether to intelligently process the screenshot to the user after monitoring that the user performs screenshot operation, and determines whether to process the intercepted picture according to the selection of the user. When the pictures are processed, the pictures can be processed in different modes according to the respective characteristics of different types of pictures, so that the safety of information in the pictures is ensured, and the pictures can be conveniently used by a user; and different requirements of different users in the same application environment can be met, or different requirements of the same user in different application environments can be met.
It should be noted that, in other embodiments of the screenshot processing method of the present invention, the application system may also present the processed picture to the user, and then perform corresponding operations, such as forwarding, saving, and the like, according to the instruction of the user. In addition, in order to meet the personalized requirements of the user on the picture processing, some manual modification functions can be provided, so that the user can further modify the picture processed by the application system according to the needs of the user.
Correspondingly, an embodiment of the present invention further provides a screenshot processing apparatus, which is a structural block diagram of the apparatus, as shown in fig. 5.
In this embodiment, the apparatus includes the following modules:
a monitoring module 501, configured to monitor a user screenshot operation;
a picture obtaining module 502, configured to obtain a picture captured by the user after the monitoring module 501 monitors that the user performs a screenshot operation;
a type determining module 503, configured to determine a type of the picture;
a picture processing module 504, configured to process the picture according to the type of the picture.
In a specific application, a user can capture corresponding information, such as video information, text information and the like, by using a screenshot tool provided in various application software. Accordingly, when it is monitored that the user triggers the screenshot function provided by the screenshot tool in the application software, the monitoring module 501 indicates that the user performs the screenshot operation.
Accordingly, the image capture module 502 captures the information captured by the screenshot tool and saves it as an image.
It should be noted that the type determining module 503 may specifically determine the type of the picture by using a pre-trained picture classifier; or displaying the picture type label to the user, and determining the type of the picture according to the picture type label selected by the user, that is, determining which type the currently captured picture belongs to according to the picture type label given by the application system by the user.
The image classifier can adopt the existing image classifier, and the specific process of determining the type of the image is different according to the different adopted image classifiers and needs to be adapted to the requirements of the adopted image classifier.
In practical applications, classification tags with different granularities may be set for different application requirements, for example, in one embodiment, pictures may be divided into the following categories: the examples of the present invention are not limited to the embodiments, and may include, for example, a chart, a chat screenshot, a private photograph, and the like.
The picture processing module 504 may specifically perform different processing for different types of pictures, such as:
for a chat screenshot, a private photo and the like, the intercepted picture may contain some sensitive information or sensitive areas; the sensitive information includes any one or more of: chat object head portrait and name, name information, privacy information, violence information, pornography information and rumor information in chat content; the sensitive areas include, but are not limited to: a face region and/or a specific part region; for these sensitive information or sensitive areas, the user usually does not want others to see, therefore, when it is detected that the currently captured picture is such a picture according to the picture classifier, the sensitive information or sensitive areas in the picture may be subjected to hiding processing, such as shading processing, blurring processing, mosaic processing, smearing processing, erasing processing, and the like, which covering manner is specifically adopted may be preset by the system, or the system may present the processing manner that can be provided to the user, and process according to the processing manner selected by the user, which is not limited in the embodiment of the present invention.
For a picture of a chart type, since it usually contains some digital information, in order to facilitate a user to pay attention to some key numbers, the key numbers may be marked, specifically, some specific values in the chart, such as a maximum value, a minimum value, and the like, need to be identified first, and then special display is performed on the specific values, such as font bolding, highlighting, color changing, and the like.
Accordingly, a specific structure of the image processing module 504 may include any one or more of the following units: the system comprises a sensitive information processing unit, a sensitive area processing unit and a marking unit, wherein each unit can perform corresponding processing aiming at different types of pictures. Wherein:
the sensitive information processing unit is used for determining the sensitive information in the picture and hiding the sensitive information when the type of the picture is a chat screenshot; the sensitive information may include, for example, but is not limited to, any one or more of: chat object head portrait and name, name information, violence information, erotic information and rumor information in chat content;
the sensitive area processing unit is used for determining a sensitive area in the picture and hiding the sensitive area when the type of the picture is a private picture; the sensitive areas include, but are not limited to: a face region and/or a site-specific region.
It should be noted that the sensitive information processing unit may identify the sensitive information in different ways for different information, for example, the head portrait and the name of the chat object are usually located at fixed positions on the main chat content, and therefore can be identified according to the position; the privacy information generally comprises identity card information, mobile phone number information and the like, and can be determined through simple rule matching; as for the sensitive information of other characters, the character information in the picture can be obtained by character recognition tools such as OCR and the like, and then it is determined whether the sensitive information includes corresponding sensitive information, for example, matching can be performed through a sensitive word bank, a name word bank and the like, and a part of the information in the word bank is hit as the sensitive information. Similarly, the identification of the sensitive region by the sensitive region processing unit may be determined by existing image identification techniques, such as sensitive region identification based on contour curves, local region features, and the like.
The hiding process may include, but is not limited to, any of the following: shielding treatment, blurring treatment, mosaic treatment, smearing treatment and erasing treatment.
The marking unit is used for marking the information in the chart when the type of the picture is the chart. The marking unit may specifically include: the identification unit is used for identifying a specific value in the chart; the display unit is used for performing special display on the specific value, such as: font bold display, highlight display, color change display and the like.
The screenshot processing device provided by the embodiment of the invention acquires the picture intercepted by the user after monitoring that the user performs screenshot operation; the type of the picture is determined, the picture is processed according to the type of the picture, intelligent processing of the intercepted picture can be automatically achieved without user intervention, and processing in different modes is performed according to respective characteristics of different types of pictures, so that the safety of information in the picture is guaranteed, and the picture can be conveniently used by a user.
Fig. 6 is a block diagram of another structure of a screenshot processing apparatus according to an embodiment of the present invention.
The difference with the embodiment shown in fig. 5 is that in this embodiment the device further comprises: the environment determining module 601 is configured to determine a current application environment after the monitoring module 501 monitors that the user performs a screenshot operation, and trigger the picture obtaining module 502 to obtain a picture captured by the user when the current application environment is a set application environment.
The setting application environment may be, but is not limited to: a social application environment, or a file editing environment, or a social environment.
The screenshot processing device provided by the embodiment of the invention firstly determines the current application environment after monitoring that the user performs screenshot operation, and acquires a picture intercepted by the user if the current application environment is the set application environment; and determining the type of the picture, and then processing the picture according to the type of the picture. That is, the intelligent processing of the captured picture is automatically realized by the application system only in a specific environment, and the application does not need to automatically perform intelligent processing on the captured picture in a non-specific environment. Moreover, different modes of processing are carried out according to respective characteristics of different types of pictures, so that the safety of information in the pictures is ensured, and convenience is brought to users for using the pictures.
Fig. 7 is a block diagram of another structure of a screenshot processing apparatus according to an embodiment of the present invention.
The difference with the embodiment shown in fig. 5 is that in this embodiment the device further comprises:
an information prompt module 701, configured to, after the monitoring module 501 monitors that the user performs screenshot operation, display a prompt message indicating whether to intelligently process the screenshot to the user, and trigger the picture obtaining module 502 to obtain the picture captured by the user after the user selects to perform intelligent processing.
The screenshot processing device provided by the embodiment of the invention displays prompt information whether to intelligently process the screenshot to the user after monitoring that the user performs screenshot operation, and determines whether to process the intercepted picture according to the selection of the user. When the pictures are processed, the pictures can be processed in different modes according to the respective characteristics of different types of pictures, so that the safety of information in the pictures is ensured, and the pictures can be conveniently used by a user; and different requirements of different users in the same application environment can be met, or different requirements of the same user in different application environments can be met.
It should be noted that in other embodiments of the screenshot processing apparatus of the present invention, the apparatus may further include any one or more of the following modules: the picture display module, the picture forwarding module, the picture storage module and the picture modification module can respectively provide functions of picture display, forwarding, storage, modification and the like for users, and meet different requirements of the users on pictures. The picture modification module can provide a manual picture modification function for a user, so that the user can further modify the picture processed by the application system according to the needs of the user, and the personalized requirements of the user on picture processing are better met.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
It should be noted that the screenshot processing method and apparatus in the embodiment of the present invention may be applied to various terminal devices, such as a mobile phone, a computer, and a notebook.
Fig. 8 is a block diagram illustrating an apparatus 800 for a screenshot processing method in accordance with an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 8, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 806 provides power to the various components of device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or a component of the apparatus 800, the presence or absence of user contact with the apparatus 800, orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the key press false touch correction method described above is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform a key press mis-touch error correction method, the method comprising: in the input process of a user, acquiring pressing information when each key is triggered; determining a false triggering key according to the acquired pressing information; correcting error of the false triggering key; and determining each candidate word corresponding to the corrected complete input string.
Fig. 9 is a schematic structural diagram of a server in an embodiment of the present invention. The server 1900, which may vary widely in configuration or performance, may include one or more Central Processing Units (CPUs) 1922 (e.g., one or more processors) and memory 1932, one or more storage media 1930 (e.g., one or more mass storage devices) that store applications 1942 or data 1944. Memory 1932 and storage medium 1930 can be, among other things, transient or persistent storage. The program stored in the storage medium 1930 may include one or more modules (not shown), each of which may include a series of instructions operating on a server. Still further, a central processor 1922 may be provided in communication with the storage medium 1930 to execute a series of instruction operations in the storage medium 1930 on the server 1900.
The server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input-output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems 1941, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a device, enable the device to perform the key press mis-touch correction method described above.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is only limited by the appended claims
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A screenshot processing method, the method comprising:
after monitoring that a user performs screenshot operation, acquiring a picture intercepted by the user;
determining the type of the picture;
and processing the picture according to the type of the picture.
2. The method of claim 1, further comprising:
after monitoring that a user performs screenshot operation, determining a current application environment;
and if the current application environment is the set application environment, executing the operation of acquiring the picture intercepted by the user.
3. The method of claim 2, wherein the setting the application environment comprises any one of: social application environment, file editing environment, social environment.
4. The method of claim 1, further comprising:
after monitoring that the user performs screenshot operation, displaying prompt information whether to intelligently process the screenshot to the user;
and if the user selects to carry out intelligent processing, executing the operation of acquiring the picture intercepted by the user.
5. The method of any of claims 1 to 4, wherein the determining the type of the picture comprises:
determining the type of the picture by utilizing a pre-trained picture classifier; or
And displaying the picture type label to the user, and determining the type of the picture according to the picture type label selected by the user.
6. The method according to any one of claims 1 to 4, wherein the type of the picture comprises any one or more of the following: charts, chat screenshots, private photographs.
7. The method of claim 6, wherein the processing the picture according to the type of the picture comprises:
if the type of the picture is a chat screenshot, determining sensitive information in the picture, and hiding the sensitive information;
if the type of the picture is a private picture, determining a sensitive area in the picture, and hiding the sensitive area;
and if the type of the picture is a chart, marking a specific value in the chart.
8. A screenshot processing apparatus, said apparatus comprising:
the monitoring module is used for monitoring screenshot operation of a user;
the image acquisition module is used for acquiring an image intercepted by the user after the monitoring module monitors that the user carries out screenshot operation;
the type determining module is used for determining the type of the picture;
and the picture processing module is used for processing the picture according to the type of the picture.
9. A computer device, comprising: one or more processors, memory;
the memory is for storing computer-executable instructions, and the processor is for executing the computer-executable instructions to implement the method of any one of claims 1 to 7.
10. A readable storage medium having stored thereon instructions that are executed to implement the method of any one of claims 1 to 7.
CN201910619979.3A 2019-07-10 2019-07-10 Screenshot processing method and device Pending CN112287135A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910619979.3A CN112287135A (en) 2019-07-10 2019-07-10 Screenshot processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910619979.3A CN112287135A (en) 2019-07-10 2019-07-10 Screenshot processing method and device

Publications (1)

Publication Number Publication Date
CN112287135A true CN112287135A (en) 2021-01-29

Family

ID=74418977

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910619979.3A Pending CN112287135A (en) 2019-07-10 2019-07-10 Screenshot processing method and device

Country Status (1)

Country Link
CN (1) CN112287135A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112989408A (en) * 2021-03-03 2021-06-18 Oppo广东移动通信有限公司 Screenshot processing method, screenshot processing device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112989408A (en) * 2021-03-03 2021-06-18 Oppo广东移动通信有限公司 Screenshot processing method, screenshot processing device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US20220004742A1 (en) Method for face recognition, electronic equipment, and storage medium
US20220092296A1 (en) Method for updating data, electronic device, and storage medium
CN106557768B (en) Method and device for recognizing characters in picture
US20180088764A1 (en) Method, apparatus, and storage medium for sharing content
US10452890B2 (en) Fingerprint template input method, device and medium
US10007841B2 (en) Human face recognition method, apparatus and terminal
US20170147869A1 (en) Digital image processing method and apparatus, and storage medium
US20170032219A1 (en) Methods and devices for picture processing
US20180159809A1 (en) Method and device for message reading
CN112465843A (en) Image segmentation method and device, electronic equipment and storage medium
US20170339287A1 (en) Image transmission method and apparatus
US11961278B2 (en) Method and apparatus for detecting occluded image and medium
US20180144176A1 (en) Fingerprint template acquisition method and device
CN111369575B (en) Screen capturing method and device and storage medium
WO2022110835A1 (en) Picture sharing method and apparatus
US20220326845A1 (en) Method for acquiring historical information, storage medium, and system
CN109992119B (en) Display method, device and equipment of input method interface
US20220270352A1 (en) Methods, apparatuses, devices, storage media and program products for determining performance parameters
US10263925B2 (en) Method, device and medium for sending message
CN110929545A (en) Human face image sorting method and device
CN112287135A (en) Screenshot processing method and device
CN110969067A (en) User registration and authentication method and device
EP3836072A1 (en) Image processing method and apparatus, and storage medium
CN111814797A (en) Picture character recognition method and device and computer readable storage medium
CN112667852B (en) Video-based searching method and device, electronic 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