CN117631932A - Screenshot method and device, electronic equipment and computer readable storage medium - Google Patents

Screenshot method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN117631932A
CN117631932A CN202311755658.9A CN202311755658A CN117631932A CN 117631932 A CN117631932 A CN 117631932A CN 202311755658 A CN202311755658 A CN 202311755658A CN 117631932 A CN117631932 A CN 117631932A
Authority
CN
China
Prior art keywords
screenshot
screenshot image
portrait
image
input
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
CN202311755658.9A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202311755658.9A priority Critical patent/CN117631932A/en
Publication of CN117631932A publication Critical patent/CN117631932A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a screenshot method, a screenshot device, electronic equipment and a computer readable storage medium, and belongs to the technical field of electronic equipment, wherein the screenshot method comprises the following steps: receiving a first input under the condition of displaying a video playing interface; the video playing interface comprises an blackboard writing and a portrait; in response to the first input, displaying a first screenshot image; the portrait is not included in the first screenshot image, or the portrait in the first screenshot image does not block the blackboard writing.

Description

Screenshot method and device, electronic equipment and computer readable storage medium
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to a screenshot method, a screenshot device, electronic equipment and a computer readable storage medium.
Background
With the continuous development of internet technology, online teaching is more and more common, whether online teaching is performed through live broadcast lessons or online teaching is performed through recorded broadcast lessons, the online teaching is visible everywhere, and meanwhile, with the development of electronic equipment, more and more users use the electronic equipment to watch online teaching videos. In the related art, when a teacher in a video picture shields a blackboard writing and receives a screenshot instruction, in the obtained screenshot, the teacher may shield the content of the blackboard writing, or the teacher causes interference to the user for watching the content of the blackboard writing, and at this time, the user needs to screenshot again, so that the operation is complicated.
Disclosure of Invention
An object of the embodiments of the present application is to provide a screenshot method, apparatus, electronic device, and computer readable storage medium, which can avoid tedious operations on screenshot of teaching video.
In a first aspect, an embodiment of the present application provides a screenshot method, where the method includes:
receiving a first input under the condition of displaying a video playing interface; the video playing interface comprises an blackboard writing and a portrait;
in response to the first input, displaying a first screenshot image; the portrait is not included in the first screenshot image, or the portrait in the first screenshot image does not block the blackboard writing.
In a second aspect, an embodiment of the present application provides a screenshot device, where the device includes:
the first receiving module is used for receiving a first input under the condition of displaying a video playing interface; the video playing interface comprises an blackboard writing and a portrait;
a first display module for displaying a first screenshot image in response to the first input; the portrait is not included in the first screenshot image, or the portrait in the first screenshot image does not block the blackboard writing.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the screenshot method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the screenshot method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the screenshot method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the screenshot method of the first aspect.
In the embodiment of the application, under the condition of displaying the video playing interface, the first input is received, the video playing interface comprises the blackboard writing and the portrait, the first screenshot image is displayed in response to the first input, the portrait is not included in the first screenshot image, or the portrait in the first screenshot image does not shade the blackboard writing, so that a user can obtain effective blackboard writing information only by carrying out screenshot operation once, and tedious operation on screenshot of teaching video is avoided.
Drawings
FIG. 1 is a flowchart of a screenshot method provided by an embodiment of the present application;
FIG. 2 is an exemplary diagram of a video frame provided by an embodiment of the present application;
FIG. 3 is a block diagram of a screenshot device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 5 is a schematic hardware structure of an electronic device implementing various embodiments of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the objects identified by "first," "second," etc. are generally of a type and do not limit the number of objects, for example, the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The embodiment of the application provides a screenshot method, a screenshot device, electronic equipment and a computer-readable storage medium. In order to facilitate understanding, the screenshot method provided in the embodiments of the present application is described in detail below with reference to the accompanying drawings.
It should be noted that, the screenshot method provided in the embodiment of the present application is applicable to an electronic device, and in practical application, the electronic device may include: mobile terminals such as smart phones and tablet computers, the embodiments of the present application are not limited thereto.
Fig. 1 is a flowchart of a screenshot method provided in an embodiment of the present application, as shown in fig. 1, the method may include the following steps: step 101 and step 102;
in step 101, a first input is received with a video playback interface being displayed, wherein the video playback interface includes an blackboard writing and a portrait.
In this embodiment of the present application, the video playing interface may be a video playing interface of a teaching video.
In the embodiment of the application, for the electronic device with multiple screen areas, a video playing interface can be displayed on any one screen area of the electronic device.
In this embodiment of the present application, the first input is used to trigger screenshot of the video playing interface, where the first input includes but is not limited to: touch input, gesture input, voice input.
In the embodiment of the application, for the folding screen device, if the upper half screen of the inner screen displays the video playing interface, the lower half screen of the inner screen synchronously displays the screenshot operation area, the screenshot operation area displays the image picture on the video playing interface, and the user can trigger the first input in the screenshot operation area, so that on one hand, the key information of the video is visually highlighted, the clear display of the main visual content is realized, and the better watching experience of the user is ensured; on the other hand, the lower screen of the electronic equipment is fully utilized, and the utilization rate of the screen is improved.
In this embodiment, the portrait may be a teacher portrait.
In step 102, a first screenshot image is displayed in response to a first input, wherein no portrait is included in the first screenshot image or the portrait in the first screenshot image does not obscure the blackboard writing.
In one example, as shown in fig. 2, for a screen capturing scene where a teacher blocks a blackboard writing, a teacher portrait 21 stands in front of the blackboard writing 20, and blocks a part of contents of the blackboard writing 20, and the teacher portrait 21 can be automatically removed or reduced when the screen capturing is performed, so that the influence of the teacher portrait 21 on the note recording is avoided from blocking the contents of the blackboard writing 20 in the obtained screen capturing.
For example, with a folding screen device, if the video playing interface is displayed on the upper half of the inner screen, the first screenshot image may be displayed on the upper half, the first screenshot image may be displayed on the lower half of the inner screen, or the first screenshot image may be displayed on the outer screen.
In the embodiment, under the condition that the video playing interface is displayed, the first input is received, the video playing interface comprises the blackboard writing and the portrait, the first screenshot image is displayed in response to the first input, the portrait is not included in the first screenshot image, or the portrait in the first screenshot image does not shade the blackboard writing, so that a user can obtain effective blackboard writing information only by carrying out screenshot operation once, and tedious operation of screenshot of teaching videos is avoided.
It should be noted that, the screenshot method provided in the embodiment of the present application is not limited to removing a portrait, but may be applied to removing other objects in an image that are not related to blackboard writing information, such as a play control, a barrage, etc., so as to ensure that these objects do not appear in the screenshot.
In some embodiments provided herein, the first screenshot image does not include a portrait; accordingly, the step 102 may include the following steps: step 301, step 302 and step 303;
in step 301, a second screenshot image is acquired in response to a first input.
In this embodiment of the present application, the first input is used to determine a screenshot region and trigger to intercept an image in the region on the video playing interface, where the image corresponding to the region is the second screenshot image.
In step 302, a portrait elimination process is performed on the second screenshot image, so as to obtain a first screenshot image.
In this embodiment of the present invention, any object detection algorithm may be used to detect a portrait in the second screenshot image, and perform elimination processing on the detected portrait to obtain a first screenshot image that does not include a portrait, where a position of an original portrait in the first screenshot image may be a blank area.
In addition, after the second screenshot image is subjected to the portrait elimination processing, an artificial intelligence algorithm can be adopted to predict the content which is blocked by the portrait in the second screenshot image based on the blackboard writing content outside the portrait in the second screenshot image, and the predicted content is added to the original portrait position of the second screenshot image to obtain the first screenshot image.
In step 303, a first screenshot image is displayed.
Therefore, in the embodiment of the application, for the screenshot scene that the teacher shields the blackboard writing, the user only needs to select the screenshot area, the electronic equipment can automatically remove the teacher portrait when intercepting the internal image of the area, so that effective blackboard writing information is obtained, the situation that the teacher portrait shields the blackboard writing content in the obtained screenshot is avoided, the interference to the user watching the blackboard writing content is avoided, the tedious operation to the screenshot of the teaching video is avoided, and the screenshot efficiency in the online teaching scene is improved.
In some embodiments provided herein, the step 302 may include the following steps: step 3021 and step 3022;
in step 3021, the second captured image is subjected to a portrait removal process, and a third captured image is obtained.
In this embodiment of the present invention, any object detection algorithm may be used to detect a person image in the second screenshot image, and perform elimination processing on the detected person image to obtain a third screenshot image that does not include a person image, where a position of an original person image in the third screenshot image may be a blank area.
In step 3022, according to the portrait indication position in the second screenshot image, an indication identifier is added to the third screenshot image, so as to obtain the first screenshot image.
In the embodiment of the application, the portrait indication position refers to the position of the original portrait.
In the embodiment of the application, considering that the portrait indication position is usually the content position currently taught by the teacher, in order to facilitate the user to know the explanation progress and content of the current video in real time, the problem that the user cannot find the explanation key point is avoided, and an indication mark can be added at the original portrait position in the third screenshot image to obtain the first screenshot image.
In the embodiment of the application, the indication mark may be a cursor, or an arrow, etc.
Therefore, in the embodiment of the application, for the screenshot scene that the teacher shields the blackboard writing, the user only needs to select the screenshot area, the electronic equipment can automatically remove the teacher portrait when intercepting the internal image of the area, and adds the indication mark at the original portrait position, on one hand, the user only needs to perform screenshot operation once, so that the effective blackboard writing information can be obtained, the condition that the teacher portrait shields the blackboard writing in the obtained screenshot is avoided, the interference to the user watching the blackboard writing content is avoided, the tedious operation of screenshot of teaching videos is avoided, and on the other hand, the electronic equipment can help the user to know the explanation progress and the content of the current video in real time, and the problem that the user cannot find the explanation key is avoided.
In some embodiments provided herein, the portrait in the first screenshot image does not obscure the blackboard writing; accordingly, the step 102 may include the following steps: step 401, step 402, and step 403;
in step 401, a second screenshot image is acquired in response to a first input.
In this embodiment of the present application, the first input is used to determine a screenshot region and trigger to intercept an image in the region on the video playing interface, where the image corresponding to the region is the second screenshot image.
In step 402, a reduction process is performed on the portrait in the second screenshot image, so as to obtain a first screenshot image.
In the embodiment of the application, the human images in the second screenshot images can be reduced, the teacher human images are reduced to be free from shielding the blackboard writing, the first screenshot images are obtained, the reduced human images can facilitate the user to know the explanation progress and content of the current video in real time, and the problem that the user cannot find out explanation key points is avoided.
In the embodiment of the application, when the portrait is reduced, each part of the portrait can be reduced in an equal proportion so as to avoid distortion of the reduced portrait.
In step 403, the first screenshot image is displayed.
Therefore, in the embodiment of the application, for the screenshot scene that the teacher shields the blackboard writing, the user only needs to select the screenshot area, the electronic equipment can automatically reduce the teacher portrait to the state that the blackboard writing is not shielded when intercepting the internal image of the area, so that effective blackboard writing information is obtained, the situation that the teacher portrait shields the content of the blackboard writing in the obtained screenshot is avoided, the interference to the user in watching the content of the blackboard writing is avoided, the tedious operation on the screenshot of the teaching video is avoided, and the screenshot efficiency under the on-line teaching scene is improved.
In some embodiments provided herein, the provided screenshot method may further include the following steps before the step 402: step 404;
in step 404, a reduction scale is determined based on the size of the blank region in the second screenshot image.
In this embodiment of the present invention, the reduction ratio of the portrait in the second screenshot image may be determined according to the size of the blank area in the second screenshot image, so that the reduced portrait will not obstruct the blackboard writing when the reduction process is performed on the portrait in the second screenshot image according to the reduction ratio.
In this embodiment of the present application, the reduction ratio may be a ratio of a size of the blank area to a size of the portrait in the second screenshot image, so that the blank area may accommodate the reduced portrait.
Accordingly, the step 402 may include the steps of: step 4021;
in step 4021, the person image in the second screenshot image is reduced according to the reduction ratio, so as to obtain the first screenshot image.
In this embodiment of the present invention, when the person image in the second screenshot image is reduced according to the reduction ratio, the person image in the second screenshot image may be reduced according to the reduction ratio or a value lower than the reduction ratio, so as to obtain the first screenshot image.
Therefore, in the embodiment of the application, for the screenshot scene that the teacher shields the blackboard writing, the user only needs to select the screenshot area, the electronic equipment can automatically reduce the teacher portrait to the non-shielding blackboard writing according to the size of the blank area in the image when intercepting the internal image of the area, so that effective blackboard writing information is obtained, the content of the blackboard writing is prevented from being shielded by the teacher portrait in the obtained screenshot, the interference to the user in watching the blackboard writing content is avoided, the tedious operation of screenshot of teaching videos is avoided, and the screenshot efficiency under the online teaching scene is improved.
In some embodiments provided herein, the step 102 may include the following steps: step 501, step 502, step 503 and step 504;
in step 501, a screenshot type option is displayed in response to a first input.
In this embodiment of the present application, a plurality of screenshot types options may be displayed, where each screenshot type option corresponds to one screenshot type, and different screenshot types correspond to different screenshot types, for example, the screenshot types include: the captured image does not contain a portrait, or the portrait in the captured image does not block the blackboard writing, and the like.
In step 502, a second input is received for a target screenshot type option of the screenshot type options.
In an embodiment of the present application, the second input is used to select a target screenshot type option from a plurality of screenshot type options, where the second input includes, but is not limited to: touch input, gesture input, voice input.
In step 503, in response to the second input, a first screenshot image is obtained according to a screenshot type corresponding to the target screenshot type option.
In the embodiment of the application, when the screenshot type corresponding to the target screenshot type option is that the screenshot image does not contain a portrait, the portrait is not contained in the first screenshot image; when the screenshot type corresponding to the target screenshot type option is that the portrait in the screenshot image does not block the blackboard writing, the portrait in the first screenshot image does not block the blackboard writing.
In step 504, a first screenshot image is displayed.
Therefore, in the embodiment of the application, for the screenshot scene of the teacher shielding blackboard writing, the user can select the screenshot type independently, and the user can remove the teacher figure or adjust the teacher figure to be free of shielding the blackboard writing only by one screenshot operation, on one hand, the user can obtain the effective blackboard writing information only by one screenshot operation, so that the teacher figure in the obtained screenshot shields the content of the blackboard writing, the interference to the user watching the content of the blackboard writing is avoided, the tedious operation to the screenshot of the teaching video is avoided, and on the other hand, the personalized requirement of the user can be met.
In some embodiments provided herein, the provided screenshot method is applied to an electronic device that includes a first screen region and a second screen region; the provided screenshot method may further include the following steps before the step 101: step 601, step 602, and step 603;
in step 601, a third input is received through the second screen region.
In this embodiment of the present application, the third input is used to adjust the display range of the video playing interface of the first screen area, where the third input includes but is not limited to: touch input, gesture input, voice input.
For example, for a folding screen device, the first screen area is the upper half screen of the inner screen, the second screen area is the lower half screen of the inner screen, and the user can adjust the display range of the video playing interface of the upper half screen through the lower half screen, and then trigger the screenshot operation.
In step 602, a scaling is determined in response to the third input.
In step 603, the video playback interface displaying the first screen area is updated according to the scaling.
Therefore, in the embodiment of the application, for the electronic device with multiple screen areas, the user can adjust the display range of the video playing interface on one screen area, so that on one hand, the personalized requirement of the user can be met, and on the other hand, the running content of the other screen area is not required to be interrupted.
According to the screenshot method provided by the embodiment of the application, the execution main body can be a screenshot device. In the embodiment of the application, a screenshot method executed by a screenshot device is taken as an example, and the screenshot device provided by the embodiment of the application is described.
Fig. 3 is a block diagram of a screenshot device according to an embodiment of the present application, as shown in fig. 3, screenshot device 300 may include: a first receiving module 301 and a first display module 302;
a first receiving module 301, configured to receive a first input when a video playing interface is displayed; the video playing interface comprises an blackboard writing and a portrait;
a first display module 302, configured to display a first screenshot image in response to the first input; the portrait is not included in the first screenshot image, or the portrait in the first screenshot image does not block the blackboard writing.
In the embodiment, under the condition that the video playing interface is displayed, the first input is received, the video playing interface comprises the blackboard writing and the portrait, the first screenshot image is displayed in response to the first input, the portrait is not included in the first screenshot image, or the portrait in the first screenshot image does not shade the blackboard writing, so that a user can obtain effective blackboard writing information only by carrying out screenshot operation once, and tedious operation of screenshot of teaching videos is avoided.
Optionally, as an embodiment, the portrait is not included in the first screenshot image;
the first display module 302 may include:
the first acquisition sub-module is used for responding to the first input and acquiring a second screenshot image;
the first processing sub-module is used for carrying out image elimination processing on the second screenshot image to obtain the first screenshot image;
and the first display sub-module is used for displaying the first screenshot image.
Optionally, as an embodiment, the first processing sub-module may include:
the eliminating unit is used for carrying out portrait elimination processing on the second screenshot image to obtain a third screenshot image;
and the adding unit is used for adding an indication mark for the third screenshot image according to the portrait indication position in the second screenshot image to obtain the first screenshot image.
Optionally, as an embodiment, the portrait in the first screenshot image does not obstruct the blackboard writing;
the first display module 302 may include:
the second acquisition sub-module is used for responding to the first input and acquiring a second screenshot image;
the second processing sub-module is used for carrying out reduction processing on the portrait in the second screenshot image to obtain the first screenshot image;
and the second display sub-module is used for displaying the first screenshot image.
Optionally, as an embodiment, the screenshot device 300 may further include:
the first determining module is used for determining a reduction ratio according to the size of the blank area in the second screenshot image;
the second processing sub-module may include:
and the reduction unit is used for carrying out reduction processing on the portrait in the second screenshot image according to the reduction ratio to obtain the first screenshot image.
Optionally, as an embodiment, the first display module 302 may include:
a third display sub-module for displaying a screenshot type option in response to the first input;
the receiving sub-module is used for receiving a second input of a target screenshot type option in the screenshot type options;
the third acquisition sub-module is used for responding to the second input and acquiring the first screenshot image according to the screenshot type corresponding to the target screenshot type option;
and the fourth display sub-module is used for displaying the first screenshot image.
Optionally, as an embodiment, the method is applied to an electronic device, and the electronic device includes a first screen area and a second screen area;
the screenshot device 300 may further include:
a second receiving module for receiving a third input through the second screen region;
a second determination module for determining a scaling in response to the third input;
and the updating module is used for updating the video playing interface for displaying the first screen area according to the scaling.
The screenshot device in the embodiment of the application may be an electronic device, or may be a component in the electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet, notebook, palmtop, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented Reality (Augmented Reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-Mobile Personal Computer, UMPC, netbook or personal digital assistant (Personal Digital Assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (Personal Computer, PC), television (Television, TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The screenshot device in the embodiment of the application may be a device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The screenshot device provided in the embodiment of the present application can implement each process implemented by the embodiment of the method shown in fig. 1, and in order to avoid repetition, details are not repeated here.
Optionally, as shown in fig. 4, the embodiment of the present application further provides an electronic device 400, including a processor 401 and a memory 402, where the memory 402 stores a program or an instruction that can be executed on the processor 401, and the program or the instruction implements each step of the above screenshot method embodiment when executed by the processor 401, and the steps can achieve the same technical effect, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 5 is a schematic hardware structure of an electronic device implementing various embodiments of the present application.
The electronic device 500 includes, but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, and processor 510.
Those skilled in the art will appreciate that the electronic device 500 may further include a power source (e.g., a battery) for powering the various components, and that the power source may be logically coupled to the processor 510 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
A user input unit 507 for receiving a first input in the case where the display unit 506 displays a video playback interface; the video playing interface comprises an blackboard writing and a portrait;
a display unit 506 further configured to display a first screenshot image in response to the first input; the portrait is not included in the first screenshot image, or the portrait in the first screenshot image does not block the blackboard writing.
In the embodiment of the application, under the condition of displaying the video playing interface, the first input is received, the video playing interface comprises the blackboard writing and the portrait, the first screenshot image is displayed in response to the first input, the portrait is not included in the first screenshot image, or the portrait in the first screenshot image does not shield the blackboard writing, so that a user can obtain effective blackboard writing information only by carrying out screenshot operation once, and tedious operation of screenshot of teaching videos is avoided.
Optionally, as an embodiment, the portrait is not included in the first screenshot image;
a processor 510 for acquiring a second screenshot image in response to the first input; and performing image elimination processing on the second screenshot image to obtain the first screenshot image.
Optionally, as an embodiment, the processor 510 is further configured to perform a portrait elimination process on the second screenshot image to obtain a third screenshot image; and adding an indication mark for the third screenshot image according to the portrait indication position in the second screenshot image to obtain the first screenshot image.
Optionally, as an embodiment, the portrait in the first screenshot image does not obstruct the blackboard writing;
processor 510 is further configured to obtain a second screenshot image in response to the first input; and carrying out reduction processing on the portrait in the second screenshot image to obtain the first screenshot image.
Optionally, as an embodiment, the processor 510 is further configured to determine a reduction ratio according to a size of a blank area in the second screenshot image; and carrying out reduction processing on the portrait in the second screenshot image according to the reduction ratio to obtain the first screenshot image.
Optionally, as an embodiment, the display unit 506 is further configured to display a screenshot type option in response to the first input;
the user input unit 507 is further configured to receive a second input of a target screenshot type option from the screenshot type options;
the processor 510 is further configured to, in response to the second input, obtain the first screenshot image according to a screenshot type corresponding to the target screenshot type option.
Optionally, as an embodiment, the electronic device includes a first screen area and a second screen area;
a user input unit 507 for receiving a third input through the second screen area;
processor 510 is further configured to determine a scaling in response to the third input; and updating the video playing interface for displaying the first screen area according to the scaling ratio.
It should be appreciated that in embodiments of the present application, the input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042, with the graphics processor 5041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes at least one of a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen. Touch panel 5071 may include two parts, a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 509 may include volatile memory or nonvolatile memory, or the memory 509 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 509 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 510 may include one or more processing units; optionally, the processor 510 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 510.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the processes of the above screenshot method embodiment are implemented, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running a program or an instruction, implementing each process of the above screenshot method embodiment, and achieving the same technical effect, so as to avoid repetition, and no redundant description is provided herein.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
The embodiments of the present application provide a computer program product, which is stored in a storage medium, and the program product is executed by at least one processor to implement the respective processes of the above screenshot method embodiments, and achieve the same technical effects, and are not described herein again for avoiding repetition.
It should be noted that, in this document, 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. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (10)

1. A method of capturing a picture, the method comprising:
receiving a first input under the condition of displaying a video playing interface; the video playing interface comprises an blackboard writing and a portrait;
in response to the first input, displaying a first screenshot image; the portrait is not included in the first screenshot image, or the portrait in the first screenshot image does not block the blackboard writing.
2. The method of claim 1, wherein the portrait is not included in the first screenshot image;
the displaying a first screenshot image in response to the first input, comprising:
responding to the first input, and acquiring a second screenshot image;
performing portrait elimination processing on the second screenshot image to obtain the first screenshot image;
and displaying the first screenshot image.
3. The method according to claim 2, wherein performing a portrait elimination process on the second screenshot image to obtain the first screenshot image includes:
performing portrait elimination processing on the second screenshot image to obtain a third screenshot image;
and adding an indication mark for the third screenshot image according to the portrait indication position in the second screenshot image to obtain the first screenshot image.
4. The method of claim 1, wherein the portrait in the first screenshot image does not obscure the blackboard writing;
the displaying a first screenshot image in response to the first input, comprising:
responding to the first input, and acquiring a second screenshot image;
carrying out reduction processing on the portrait in the second screenshot image to obtain the first screenshot image;
and displaying the first screenshot image.
5. The method of claim 4, wherein prior to the step of reducing the portrait in the second screenshot image to obtain the first screenshot image, the method further comprises:
determining a reduction ratio according to the size of the blank area in the second screenshot image;
the step of performing reduction processing on the portrait in the second screenshot image to obtain the first screenshot image includes:
and carrying out reduction processing on the portrait in the second screenshot image according to the reduction ratio to obtain the first screenshot image.
6. The method of claim 1, wherein the displaying a first screenshot image in response to the first input comprises:
responsive to the first input, displaying a screenshot type option;
receiving a second input of a target screenshot type option in the screenshot type options;
responding to the second input, and acquiring the first screenshot image according to the screenshot type corresponding to the target screenshot type option;
and displaying the first screenshot image.
7. The method of claim 1, applied to an electronic device comprising a first screen area and a second screen area;
before the step of receiving the first input in the case of displaying the video playing interface, the method further includes:
receiving a third input through the second screen region;
determining a scaling in response to the third input;
and updating the video playing interface for displaying the first screen area according to the scaling ratio.
8. A screenshot device, the device comprising:
the first receiving module is used for receiving a first input under the condition of displaying a video playing interface; the video playing interface comprises an blackboard writing and a portrait;
a first display module for displaying a first screenshot image in response to the first input; the portrait is not included in the first screenshot image, or the portrait in the first screenshot image does not block the blackboard writing.
9. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the screenshot method of any one of claims 1 to 7.
10. A computer readable storage medium having stored thereon a program or instructions which when executed by a processor performs the steps of the screenshot method of any one of claims 1 to 7.
CN202311755658.9A 2023-12-19 2023-12-19 Screenshot method and device, electronic equipment and computer readable storage medium Pending CN117631932A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311755658.9A CN117631932A (en) 2023-12-19 2023-12-19 Screenshot method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311755658.9A CN117631932A (en) 2023-12-19 2023-12-19 Screenshot method and device, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN117631932A true CN117631932A (en) 2024-03-01

Family

ID=90034000

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311755658.9A Pending CN117631932A (en) 2023-12-19 2023-12-19 Screenshot method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN117631932A (en)

Similar Documents

Publication Publication Date Title
CN113126862B (en) Screen capture method and device, electronic equipment and readable storage medium
CN112860163A (en) Image editing method and device
CN113794831B (en) Video shooting method, device, electronic equipment and medium
CN115065874A (en) Video playing method and device, electronic equipment and readable storage medium
CN112511890A (en) Video image processing method and device and electronic equipment
CN115866314A (en) Video playing method and device
CN115718581A (en) Information display method and device, electronic equipment and storage medium
CN116107531A (en) Interface display method and device
CN114302209A (en) Video processing method, video processing device, electronic equipment and medium
CN114895815A (en) Data processing method and electronic equipment
CN117631932A (en) Screenshot method and device, electronic equipment and computer readable storage medium
CN114998102A (en) Image processing method and device and electronic equipment
CN114245017A (en) Shooting method and device and electronic equipment
CN114786062A (en) Information recommendation method and device and electronic equipment
CN114518859A (en) Display control method, display control device, electronic equipment and storage medium
CN114580015A (en) Privacy processing method and device and electronic equipment
CN113852774A (en) Screen recording method and device
CN112363787A (en) Image processing method and device and electronic equipment
CN112165584A (en) Video recording method, video recording device, electronic equipment and readable storage medium
CN114390205B (en) Shooting method and device and electronic equipment
CN114327715B (en) Interface display method, interface display device, electronic apparatus, and readable storage medium
CN117112111A (en) Information display method and device and electronic equipment
CN117676228A (en) Information display method, information display device, electronic equipment and readable storage medium
CN116452781A (en) Image display method, device, electronic equipment and storage medium
CN117369634A (en) Display method, display device, electronic equipment and readable 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