CN117221711A - Image shooting method and device and electronic equipment - Google Patents

Image shooting method and device and electronic equipment Download PDF

Info

Publication number
CN117221711A
CN117221711A CN202311244293.3A CN202311244293A CN117221711A CN 117221711 A CN117221711 A CN 117221711A CN 202311244293 A CN202311244293 A CN 202311244293A CN 117221711 A CN117221711 A CN 117221711A
Authority
CN
China
Prior art keywords
image
information
preview image
electronic device
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
CN202311244293.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.)
Nanjing Weiwo Software Technology Co ltd
Original Assignee
Nanjing Weiwo Software Technology 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 Nanjing Weiwo Software Technology Co ltd filed Critical Nanjing Weiwo Software Technology Co ltd
Priority to CN202311244293.3A priority Critical patent/CN117221711A/en
Publication of CN117221711A publication Critical patent/CN117221711A/en
Pending legal-status Critical Current

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The application discloses an image shooting method and device and electronic equipment, and belongs to the technical field of communication. Wherein the method comprises the following steps: displaying a first preview image; acquiring first information associated with the second electronic device in the case that the first object is included in the first preview image; the first object is associated with the second electronic device; processing the first preview image according to the first information to obtain a second preview image; receiving a first input to a second preview image; in response to the first input, a first image is captured.

Description

Image shooting method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to an image shooting method, an image shooting device and electronic equipment.
Background
With the increasing popularity of electronic devices, users often take images via the electronic devices for recording life and work. However, in an image taken by a user at hand, since the consent of the subject is not solicited, the rights and privacy of other persons are likely to be infringed.
At present, an effective shooting management scheme is lacking for guaranteeing rights and privacy of a shot person.
Disclosure of Invention
The embodiment of the application aims to provide an image shooting method, an image shooting device and electronic equipment, which can solve the problem that the rights and privacy of a shot person cannot be guaranteed at present.
In a first aspect, an embodiment of the present application provides an image capturing method, including:
displaying a first preview image;
acquiring first information associated with the second electronic device in the case that the first object is included in the first preview image; the first object is associated with the second electronic device;
processing the first preview image according to the first information to obtain a second preview image;
receiving a first input to a second preview image;
in response to the first input, a first image is captured.
In a second aspect, an embodiment of the present application provides an image capturing apparatus, including:
the first display module is used for displaying a first preview image;
the acquisition module is used for acquiring first information associated with the second electronic equipment under the condition that the first preview image comprises a first object; the first object is associated with the second electronic device;
the processing module is used for processing the first preview image according to the first information to obtain a second preview image;
A first receiving module for receiving a first input to a second preview image;
and the shooting module is used for responding to the first input and shooting to obtain a first image.
In a third aspect, an embodiment of the present application provides 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 method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the 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 where the processor is configured to execute a program or instructions to implement a 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 method according to the first aspect.
In the embodiment of the application, when the displayed first preview image includes the first object associated with the second electronic device, it is explained that privacy protection needs to be performed on the first object in the first preview screen, so that first information associated with the second electronic device needs to be acquired, and then the first preview image including the first object is processed according to the first information associated with the second electronic device, so that privacy protection on the first object in the first preview image is realized, and the second preview image is obtained. Then, in response to the first input to the second preview image, a first image is photographed, and since the photographed picture of the first image is identical to the picture of the second preview image, privacy protection of the first object is achieved to ensure rights and privacy of the first object as a photographed person.
Drawings
Fig. 1 is a flowchart of an image capturing method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an image processing provided by an embodiment of the present application;
FIG. 3 is a schematic diagram of another image processing provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of a prompt message provided by an embodiment of the present application;
FIG. 5 is a schematic illustration of a first session interface provided by an embodiment of the present application;
fig. 6 is a block diagram of an image capturing apparatus according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application;
fig. 8 is a second schematic diagram of a hardware structure of an electronic device according to an embodiment of the application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the accompanying drawings of 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, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of 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 not limited to 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.
Aiming at the problems of the related art, the embodiment of the application provides an image shooting method, an image shooting device and electronic equipment, which can solve the problem that the rights and privacy of a shot person cannot be ensured currently in the related art.
The image capturing method provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
Fig. 1 is a flowchart of an image capturing method according to an embodiment of the present application.
As shown in fig. 1, the image capturing method may include steps 110 to 150, and the method is applied to an image capturing device, specifically as follows:
step 110, a first preview image is displayed.
The shooting preview interface may be specifically displayed, where the shooting preview interface includes a first preview image.
Step 120, acquiring first information associated with the second electronic device in the case that the first object is included in the first preview image; the first object is associated with a second electronic device.
Wherein the first object associated with the second electronic device comprises: and carrying the user of the second electronic device, or the second electronic device.
If the first object is a user carrying the second electronic equipment, then image processing is needed to be carried out on the user in the first preview image, so that privacy protection of the user carrying the second electronic equipment is realized;
If the first object is the second electronic device, image processing is needed to be carried out on the second electronic device in the first preview image subsequently so as to realize privacy protection of the second electronic device.
Accordingly, the case where the first object is included in the first preview image may include: the first preview image comprises a user carrying the second electronic device; alternatively, the first preview image includes the second electronic device.
The first information is used for indicating the source or the use of the first image obtained by shooting the first object serving as a shot object. Or, the first information is used for indicating a preview picture corresponding to the first object, or the first information is used for indicating that the first image is processed correspondingly.
In one possible embodiment, the first information includes:
the first information includes: the second information and device information of the second electronic device.
And second information for indicating the origin or use of the first image captured by the first subject as a subject.
The second information is sent to surrounding electronic equipment in advance by the second electronic equipment, the surrounding electronic equipment comprises the first electronic equipment, and the second information can be specifically sent by the second electronic equipment through a fused narrow-distance communication technology so as to ensure the touch rate of the second information. The narrow range communication technology may be bluetooth, wireless network, ultrasound, or the like.
The second information may be: presetting watermarks, such as: the vermicelli meets the group photo; the preset watermark is used for indicating the first electronic equipment to shoot a scene comprising a first object, and the provenance of the obtained first image.
Alternatively, the second information may be preset infringement hint text, such as: unauthorized use infringement. The preset infringement prompt text is used for indicating the first electronic equipment to shoot a scene comprising a first object, and the application of the obtained first image is realized.
Or, the second information may be an image processing manner preset by the second electronic device, such as adding a watermark, beautifying, and the like. The preset image processing mode is beauty, and the method can further comprise beauty parameters, so that the second electronic equipment user can use the image processing parameters to process the shot image.
Alternatively, the second information may be a number corresponding to the second electronic device.
The device information of the second electronic device may include: a preview picture corresponding to the second electronic equipment; or carrying a preview picture corresponding to the user of the second electronic device.
The device information of the second electronic device may be determined from the first preview image based on a first distance of the first electronic device from the second electronic device.
In a possible embodiment, before step 120, the following steps may be further included:
determining a first distance from the second electronic equipment under the condition that second information sent by the second electronic equipment is received;
determining a distance to at least one shooting object in a shooting preview interface;
and determining a first object from at least one shooting object according to the distance, wherein the distance between the first object and the first electronic equipment is a first distance.
For the second electronic device, the second electronic device always transmits second information to surrounding electronic devices for the first electronic device to determine a first distance from the second electronic device if the second information is received.
The shooting preview interface of the first electronic device includes a first object, that is, the shooting preview interface of the first electronic device includes: the second electronic device, or a user carrying the second electronic device.
And under the condition that second information sent by the second electronic equipment is received, determining a first distance between the second electronic equipment and the second electronic equipment according to the corresponding physical parameters of the wireless protocol stack.
Wherein the physical parameter is used to indicate a signal transfer rate of the second information, and the first distance may be determined according to the signal transfer rate and the signal transfer time. The signal transmission time is the difference between the time when the first electronic device receives the second information and the time when the second electronic device sends the second information.
Then, the distance to at least one shooting object in the shooting preview interface is determined, if the distance to a certain shooting object is equal to the first distance, the shooting object and the second electronic device for sending second information are indicated to be at the same position, so that the shooting object carries the second electronic device, or the shooting object is the second electronic device, and therefore the shooting object with the first distance to the first electronic device is the first object.
For example, the at least one photographic subject includes: the distances between the object A, the object B and the object C and at least one shooting object in the shooting preview interface are respectively as follows: 1.1 meter, 1.2 meter and 1.3 meter, the predetermined first distance is 1.2 meters, and the first object having the first distance from the first electronic device is object B.
Thereby, under the condition that second information sent by the second electronic equipment is received, determining a first distance from the second electronic equipment; according to the distance between the electronic device and at least one shooting object in the shooting preview interface, a first object with the distance from the first electronic device being a first distance is determined from the at least one shooting object, so that the first object needing privacy protection can be rapidly and accurately determined.
And 130, processing the first preview image according to the first information to obtain a second preview image. Because the first preview image includes the first object, in order to implement privacy protection of the first object, the first preview image needs to be processed according to the first information to obtain the second preview image, so as to implement privacy protection of the first object.
In a possible embodiment, in step 130, the following steps may be specifically included:
according to the first information, carrying out preset image processing on a first object in the first preview image to obtain a second preview image; the preset image processing comprises the following steps: watermarking, blurring or cancellation.
The first object carries the second electronic equipment, or the first object is the second electronic equipment;
in the case where the preset image processing is watermarking processing, it is described that the origin or use of the first image needs to be represented by the first information at this time.
Correspondingly, according to the first information, performing preset image processing on the first object in the first preview image to obtain a second preview image, including: and carrying out preset image processing on the first object in the first preview image according to the second information to obtain a second preview image.
The first information is synthesized to the first preview image, and therefore the obtained second preview image comprises the first information, so that the first image obtained by shooting the second preview image also comprises the first information, and the first information can indicate the source or the use of the first image shot by the first electronic device. Thus, a user who sees the first image can intuitively know the provenance or use of the first image, so as to realize privacy protection of the first object in the first image.
As shown in fig. 2, the first information 210 is "spring festival meeting group photo" to indicate the provenance of the second preview image.
When the preset image processing is adding blurring processing, blurring processing is performed on a first object in a first preview image, and the first object cannot be identified in an obtained second preview image, so that privacy protection of the first object is achieved.
Correspondingly, according to the first information, performing preset image processing on the first object in the first preview image to obtain a second preview image, including: and carrying out preset image processing on the first object in the first preview image according to the equipment information to obtain a second preview image.
The device information of the second electronic device is used for indicating: preview pictures corresponding to the first object are used for indicating: a preview picture corresponding to the second electronic equipment; or carrying a preview picture corresponding to the user of the second electronic device.
As shown in fig. 3, the first object 310 in the first preview image is blurred, and the first object is blurred in the second preview image, so that other users cannot recognize the first object from the second preview image, thereby achieving shooting management and privacy protection of the first object.
When the preset image processing is the elimination processing, the elimination processing is performed on the first object in the first preview image, and the obtained second preview image does not include the first object, so that privacy protection of the first object is realized.
Correspondingly, according to the first information, performing preset image processing on the first object in the first preview image to obtain a second preview image, including: and according to the equipment information, performing elimination processing on the first object in the first preview image to obtain a second preview image.
And eliminating the first object in the first preview image, wherein the first object in the first preview image can be scratched or covered with a preset identification process.
Thus, the first object in the first preview image is subjected to blurring processing or eliminating processing, and the obtained second preview image cannot identify the first object, so that privacy protection of the first object is realized.
In a possible embodiment, before the step of performing the preset image processing on the first object in the first preview image to obtain the second preview image according to the first information, the method may further include the following steps:
displaying first information on the first preview image;
receiving a second input of the first information, the second input indicating removal of the first information;
according to the first information, performing preset image processing on a first object in the first preview image to obtain a second preview image, including:
and responding to the second input, and carrying out preset image processing on the first object in the first preview image according to the first information to obtain a second preview image.
When the shooting preview interface is displayed, first information may be displayed on the first preview image to indicate the origin or use of the image obtained by the current shooting, for example, "unauthorized use infringement", and if the photographer does not want the image obtained by the current shooting to include the first information, the first information may be input in a second manner to remove the first information.
And responding to the second input, and carrying out blurring processing or eliminating processing on the first object in the first preview image to obtain a second preview image.
Therefore, the first object in the first preview image can be subjected to preset image processing based on the image processing mode expected by the user, and the second preview image is obtained.
Step 140, receiving a first input to a second preview image;
the first input is click input of a photographing button in a photographing preview interface, and the photographing preview interface comprises a second preview image.
In response to the first input, a first image is captured, step 150.
Since the first information may indicate the origin or use of the image taken by the second electronic device including the second electronic device. Therefore, the first information is also included in the first image obtained by shooting the second preview image, so that a user who sees the first image can intuitively know the provenance or the use of the first image, and the shot user can efficiently manage the shot first image.
Alternatively, the first information may be used to indicate a preview screen corresponding to the first object, and the first preview image may be processed according to the first information, and the blurring process or the elimination process may be performed on the preview screen corresponding to the first object, so that the privacy of the first object may be protected.
The second electronic equipment side is related to a second electronic equipment holder, namely a shot person, and the second electronic equipment holder only needs to start a protection mode on the second electronic equipment, wherein the protection mode is used for protecting the privacy of the second electronic equipment holder when the second electronic equipment holder is shot; or, when the second electronic device is photographed, protecting the privacy of the second electronic device.
Under the condition that the second electronic device starts a protection mode, the second electronic device continuously transmits a broadcast carrying first information to surrounding devices, so that the first electronic device used for shooting receives the broadcast, processes a first preview image based on the first information carried in the broadcast in shooting to obtain a second image, and responds to a first input used for indicating shooting to obtain the first image, the first image obtained after processing can characterize the provenance of the first image, or privacy protection can be carried out on a first object serving as a shot person.
In a possible embodiment, after step 150, the following steps may be further included:
transmitting first verification information to the second electronic device under the condition that a first operation on the first image is received; the first operation includes: editing operation, sending operation or uploading network platform operation;
executing a first operation on the first image under the condition that first response information sent by the second electronic equipment is received;
and displaying prompt information when receiving second response information sent by the second electronic equipment, wherein the prompt information is used for indicating that the first operation cannot be performed on the first image.
And under the condition that the editing operation, the sending operation or the uploading network platform operation of the first image is received, sending first verification information to the second electronic equipment, wherein the application corresponding to the first operation can obtain the accessory information by analyzing the first image, and the accessory information comprises the first information.
The application corresponding to the first operation is as follows: the method comprises the steps of editing an image editing application corresponding to an operation, sending a session application corresponding to the operation or uploading a network platform corresponding to a network platform operation.
And sending first verification information to the second electronic device to solicit consent from the second electronic device when the first operation on the first image is received, wherein the first verification information is used for verifying whether the first operation on the first image can be executed or not to the second electronic device.
Under the condition that first response information sent by the second electronic equipment is received, the user corresponding to the second electronic equipment is stated to agree with the first operation, and at the moment, the first operation on the first image can be executed; the first response information is used for indicating that the first verification information is passed.
And under the condition that second response information sent by the second electronic equipment is received, the fact that the user corresponding to the second electronic equipment does not agree with the first operation is indicated, prompt information is displayed, and the prompt information is used for indicating that the first operation cannot be performed on the first image. The second response information is used for indicating rejection of the first authentication information.
As shown in FIG. 4, the hint information 410 is "+|! The following is carried out The following is carried out The other party prohibits you from publishing this graph, "etc.
Thus, by transmitting the first authentication information to the second electronic device to request authentication of the second electronic device in the case of receiving the first operation on the first image, it is determined whether the first operation can be performed or not according to the response information of the second electronic device, and the security and privacy of the photographed first object can be ensured.
In a possible embodiment, after step 140, the following steps may be further included:
transmitting the first image and the third information to the second electronic device; the third information includes: a first device identification of the first electronic device, a second device identification of the second electronic device, and first information;
receiving a second image sent by the second electronic equipment, wherein the second image is obtained by performing image processing on the first image by the second electronic equipment;
the first image is replaced with the second image.
After the first image is shot, the first image and the third information are sent to the second electronic equipment, so that no matter who electronic equipment is used by the two parties of the group photo, the electronic equipment corresponding to the two parties of the group photo can directly receive the group photo image, namely the first image, a user is not required to send the first image in sequence, the tedious operation of sending the first image is reduced, and the user experience is improved.
Wherein the third information includes: the first equipment identifier of the first electronic equipment, the second equipment identifier of the second electronic equipment and the first information, so that the electronic equipment which is convenient for receiving the first image can quickly know a photographer and a shot person corresponding to the first image through the first equipment identifier of the first electronic equipment and the second equipment identifier of the second electronic equipment, and quickly know an image obtained after the first image is subjected to image processing through the equipment information.
After the second electronic device receives the first image, the second electronic device can edit the first image to obtain a second image, so that the second image sent by the second electronic device can be received, and the locally stored first image can be replaced by the second image processed by the photographer based on the editing processing intention of the photographer.
In addition, in the process of sending the second image by the second electronic device, if the second image cannot be sent to the first electronic device, communication is attempted again for multiple times, when the preset sending frequency threshold value is exceeded, the second electronic device is judged to be failed in communication, in this case, the second electronic device may lose control interpretation rights to the first image, and according to the principle that two sides of the second electronic device are completely consistent in backup, the second electronic device fails to edit the first image at the time, and the second image in the second electronic device is returned to a state before editing, namely, the second image in the second electronic device is automatically replaced by the first image.
In a possible embodiment, after step 140, the following steps may be further included:
receiving a third input to the first image;
in response to the third input, a session interface of a first session object corresponding to the second electronic device is displayed, the session interface including the first information.
The third input may be a long-press input to the first image, and the session interface of the first session object corresponding to the second electronic device is displayed in response to the third input, so that the user may perform a session with a person to be photographed in the first image, or perform a session with the session object corresponding to the second electronic device in the first image, where the session interface includes the first information.
Therefore, the conversation interface of the first conversation object corresponding to the second electronic equipment is displayed in response to the third input of the first image, conversation of the first conversation object corresponding to the second electronic equipment is facilitated, the conversation interface comprises first information, the first image is obtained by shooting the second preview image, the second preview image is obtained by processing the first preview image according to the first information, and therefore the first image is associated with the first information, and therefore a user can conveniently and quickly know the relation between the conversation object and the first image through the first information.
In a possible embodiment, after the step of displaying the session interface of the first session object corresponding to the second electronic device in response to the third input, the method may further include the steps of:
responsive to the third input, displaying at least one conversation application;
receiving a fourth input to a first one of the at least one conversation application;
in response to the fourth input, sending, by the first session application, second authentication information to the first session object, the second authentication information comprising the first information;
and displaying a session interface under the condition that the third response information sent by the first session object is received.
Responsive to the third input, displaying at least one conversation application; the session application may include: a short message application, a telephone application, a temporary session application, and a social application.
For the temporary session application, communication can be directly established with the first session object, that is, after clicking the temporary session, the two can communicate text, voice or video in a temporary window.
For the short message application, the telephone application and the social application, the communication process does not need to know the number or the social account number of the opposite side, and the opposite side can be searched through the first information.
For social application, the verification of the other party needs to be passed firstly, namely 'friends are added'; receiving a fourth input to a first one of the at least one conversation applications, selecting an application with which a conversation is desired to be established with the counterpart, transmitting second authentication information to the first conversation object through the first conversation application in response to the fourth input, the second authentication information including the first information, the first information in the second authentication information being usable to characterize that a device transmitting the second authentication information is a device that accepted the first information and photographed the first object, since the first information is transmitted by the second electronic device. Thus, the first information is used to characterize the identity of the user initiating the session request;
when the third response message sent by the first session object is received, it is explained that the authentication of the other party is passed, and the session interface can be displayed at this time.
As shown in fig. 5, after the first image is pressed for a long time, a temporary session, sending a short message, making a call and adding friends are displayed, and when third response information sent by the first session object is received, a session interface is displayed, and the session interface may also include first information 510 to characterize an establishment source of the session interface.
In addition, to avoid harassment, after a party exits the session interface or refuses the session request, the session cannot be established later.
In the embodiment of the application, when the first object associated with the second electronic device is included in the displayed first preview image, it is explained that privacy protection needs to be performed on the first object in the first preview screen, so that first information associated with the second electronic device needs to be acquired, and then the first preview image including the first object is processed according to the first information associated with the second electronic device, so that privacy protection on the first object in the first preview image is realized, and the second preview image is obtained. Then, in response to the first input to the second preview image, a first image is photographed, and since the photographed picture of the first image is identical to the picture of the second preview image, privacy protection of the first object is achieved to ensure rights and privacy of the first object as a photographed person.
According to the image shooting method provided by the embodiment of the application, the execution subject can be an image shooting device. In the embodiment of the application, an image capturing device is taken as an example to execute an image capturing method by using the image capturing device, and the image capturing device provided by the embodiment of the application is described.
Fig. 6 is a block diagram of an image capturing apparatus according to an embodiment of the present application, the apparatus 600 includes:
a first display module 610, configured to display a first preview image;
an acquiring module 620, configured to acquire first information associated with the second electronic device in a case where the first preview image includes the first object; the first object is associated with the second electronic device;
the processing module 630 is configured to process the first preview image according to the first information to obtain a second preview image;
a first receiving module 640 for receiving a first input of a second preview image;
the shooting module 650 is configured to obtain a first image by shooting in response to the first input.
In one possible embodiment, the apparatus 600 may further include:
the determining module is used for determining a first distance from the second electronic equipment under the condition that second information sent by the second electronic equipment is received;
the determining module is also used for determining the distance between the first preview image and at least one shooting object in the first preview image;
the determining module is further configured to determine, from at least one shooting object, a first object according to the distance, where the distance between the first object and the first electronic device is a first distance.
In one possible embodiment, the first information includes: the second information and device information of the second electronic device.
In one possible embodiment, the processing module 630 is specifically configured to:
according to the first information, carrying out preset image processing on a first object in the first preview image to obtain a second preview image; the preset image processing comprises the following steps: watermarking, blurring or cancellation.
In one possible embodiment, the apparatus 600 may further include:
the second display module is used for displaying the first information on the first preview image;
a second receiving module for receiving a second input of the first information, the second input being for indicating removal of the first information;
the processing module 630 is specifically configured to:
and responding to the second input, and carrying out preset image processing on the first object in the first preview image according to the first information to obtain a second preview image.
In one possible embodiment, the apparatus 600 may further include:
the first sending module is used for sending first verification information to the second electronic equipment under the condition that a first operation on the first image is received; the first operation includes: editing operation, sending operation or uploading network platform operation;
The execution module is used for executing a first operation on the first image under the condition that the first response information sent by the second electronic equipment is received;
the third display module is used for displaying prompt information when receiving the second response information sent by the second electronic device, wherein the prompt information is used for indicating that the first operation cannot be performed on the first image.
In one possible embodiment, the apparatus 600 may further include:
the second sending module is used for sending the first image and the third information to the second electronic equipment; the third information includes: a first device identification of the first electronic device, a second device identification of the second electronic device, and first information;
the image receiving module is used for receiving a second image sent by the second electronic equipment, wherein the second image is obtained by performing image processing on the first image by the second electronic equipment;
and the replacing module is used for replacing the first image with the second image.
In one possible embodiment, the apparatus 600 may further include:
a third receiving module for receiving a third input to the first image;
and the fourth display module is used for responding to the third input and displaying a session interface of the first session object corresponding to the second electronic equipment, wherein the session interface comprises first information.
In a possible embodiment, the fourth display module is specifically configured to:
responsive to the third input, displaying at least one conversation application;
receiving a fourth input to a first one of the at least one conversation application;
in response to the fourth input, sending, by the first session application, second authentication information to the first session object, the second authentication information comprising the first information;
and displaying a session interface under the condition that the third response information sent by the first session object is received.
In the embodiment of the application, when the first object associated with the second electronic device is included in the displayed first preview image, it is explained that privacy protection needs to be performed on the first object in the first preview screen, so that first information associated with the second electronic device needs to be acquired, and then the first preview image including the first object is processed according to the first information associated with the second electronic device, so that privacy protection on the first object in the first preview image is realized, and the second preview image is obtained. Then, in response to the first input to the second preview image, a first image is photographed, and since the photographed picture of the first image is identical to the picture of the second preview image, privacy protection of the first object is achieved to ensure rights and privacy of the first object as a photographed person.
The image capturing device in the embodiment of the application can be an electronic device, or can be a component in the electronic device, such as 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 computer, notebook computer, palm computer, 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 (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The image capturing device according to the embodiment of the present application may be a device having an action system. The action system may be an Android (Android) action system, an iOS action system, or other possible action systems, and the embodiment of the application is not limited specifically.
The image capturing device provided by the embodiment of the present application can implement each process implemented by the above method embodiment, and in order to avoid repetition, details are not repeated here.
Optionally, as shown in fig. 7, the embodiment of the present application further provides an electronic device 710, including a processor 711, a memory 712, and a program or an instruction stored in the memory 712 and capable of being executed on the processor 711, where the program or the instruction implements each step of any one of the above-mentioned image capturing method embodiments when executed by the processor 711, and the steps achieve the same technical effects, and are not repeated herein.
The electronic device of the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 800 includes, but is not limited to: radio frequency unit 801, network module 802, audio output unit 803, input unit 804, sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, and processor 810.
Those skilled in the art will appreciate that the electronic device 800 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 810 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 8 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.
Wherein, the display unit 808 is configured to display a first preview image;
a processor 810 for acquiring first information associated with a second electronic device in the case that a first object is included in a first preview image; the first object is associated with the second electronic device;
the processor 810 is further configured to process the first preview image according to the first information to obtain a second preview image;
a user input unit 807 for receiving a first input of a second preview image;
the processor 810 is further configured to capture a first image in response to the first input.
Optionally, the processor 810 is further configured to determine, when receiving the second information sent by the second electronic device, a first distance from the second electronic device;
a processor 810 further configured to determine a distance to at least one photographic subject in the first preview image;
the processor 810 is further configured to determine a first object from the at least one photographed object according to the distance, where the distance between the first object and the first electronic device is a first distance.
The processor 810 is further configured to perform preset image processing on a first object in the first preview image according to the first information, so as to obtain a second preview image; the preset image processing comprises the following steps: watermarking, blurring or cancellation.
Optionally, the display unit 808 is further configured to display first information on the first preview image;
a user input unit 807 for receiving a second input of the first information, the second input being for indicating removal of the first information;
the processor 810 is further configured to perform preset image processing on the first object in the first preview image according to the first information in response to the second input, so as to obtain a second preview image.
Optionally, the network module 802 is configured to send, in a case that a first operation on the first image is received, first verification information to the second electronic device; the first operation includes: editing operation, sending operation or uploading network platform operation;
the processor 810 is further configured to perform a first operation on the first image if the first response information sent by the second electronic device is received;
the display unit 808 is further configured to display a prompt message when receiving the second response message sent by the second electronic device, where the prompt message is used to indicate that the first operation cannot be performed on the first image.
Optionally, the network module 802 is further configured to send the first image and the third information to the second electronic device; the third information includes: a first device identification of the first electronic device, a second device identification of the second electronic device, and first information;
The network module 802 is further configured to receive a second image sent by a second electronic device, where the second image is obtained by performing image processing on the first image by the second electronic device;
the processor 810 is also configured to replace the first image with the second image.
Optionally, the user input unit 807 is further configured to receive a third input of the first image;
the display unit 808 is further configured to display a session interface of the first session object corresponding to the second electronic device, the session interface including the first information, in response to the third input.
Optionally, the display unit 808 is further configured to display at least one session application in response to the third input;
a user input unit 807 for receiving a fourth input to a first one of the at least one conversation applications;
the network module 802 is further configured to send, in response to the fourth input, second authentication information to the first session object through the first session application, the second authentication information including the first information;
the display unit 808 is further configured to display a session interface when third response information sent by the first session object is received.
In the embodiment of the application, when the first object associated with the second electronic device is included in the displayed first preview image, it is explained that privacy protection needs to be performed on the first object in the first preview screen, so that first information associated with the second electronic device needs to be acquired, and then the first preview image including the first object is processed according to the first information associated with the second electronic device, so that privacy protection on the first object in the first preview image is realized, and the second preview image is obtained. Then, in response to the first input to the second preview image, a first image is photographed, and since the photographed picture of the first image is identical to the picture of the second preview image, privacy protection of the first object is achieved to ensure rights and privacy of the first object as a photographed person.
It should be appreciated that in embodiments of the present application, the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042, the graphics processor 8041 processing image data of still pictures or video images obtained by an image capturing device (e.g., a camera) in a video image capturing mode or an image capturing mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes at least one of a touch panel 8071 and other input devices 8072. Touch panel 8071, also referred to as a touch screen. The touch panel 8071 may include two parts, a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 809 may be used to store software programs as well as various data including, but not limited to, application programs and action systems. The processor 810 may integrate an application processor that primarily processes an action system, user pages, applications, etc., with a modem processor that primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 810.
The memory 809 can be used to store software programs as well as various data. The memory 809 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 809 may include volatile memory or nonvolatile memory, or the memory x09 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 809 in embodiments of the application includes, but is not limited to, these and any other suitable types of memory.
The processor 810 may include one or more processing units; optionally, the processor 810 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 810.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above image capturing method embodiment, and can achieve the same technical effects, and in order to avoid repetition, a detailed description is omitted 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 comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions, the processes of the embodiment of the image shooting method can be realized, the same technical effects can be achieved, and the repetition is avoided, and the description is omitted here.
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.
Embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the above-described image capturing method embodiments, and achieve the same technical effects, and for avoiding repetition, a detailed description is omitted herein.
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 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 solution 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 (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to 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 having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (11)

1. An image processing method, applied to a first electronic device, comprising:
displaying a first preview image;
acquiring first information associated with a second electronic device in the case that a first object is included in the first preview image, wherein the first object is associated with the second electronic device;
processing the first preview image according to the first information to obtain a second preview image;
receiving a first input to the second preview image;
in response to the first input, a first image is captured.
2. The method of claim 1, wherein, in the case where the first preview image includes a first object, before acquiring the first information associated with the second electronic device, the method further comprises:
determining a first distance from the second electronic equipment under the condition that second information sent by the second electronic equipment is received;
determining a distance to at least one photographic subject in the first preview image;
and determining the first object from the at least one shooting object according to the distance, wherein the distance between the first object and the first electronic equipment is the first distance.
3. The method of claim 2, wherein the first information comprises: the second information and device information of the second electronic device.
4. The method of claim 1, wherein processing the first preview image according to the first information to obtain a second preview image comprises:
according to the first information, carrying out preset image processing on the first object in the first preview image to obtain the second preview image; wherein the preset image processing includes: watermarking, blurring or cancellation.
5. The method of claim 4, wherein the performing, according to the first information, a preset image processing on the first object in the first preview image, before obtaining the second preview image, the method further comprises:
displaying first information on the first preview image;
receiving a second input to the first information, the second input being for indicating removal of the first information;
and performing preset image processing on the first object in the first preview image according to the first information to obtain the second preview image, including:
And responding to the second input, and carrying out preset image processing on a first object in the first preview image according to the first information to obtain the second preview image.
6. The method of claim 1, wherein, in response to the first input, after capturing the first image, the method further comprises:
transmitting first verification information to the second electronic device upon receiving a first operation on the first image; the first operation includes: editing operation, sending operation or uploading network platform operation;
executing the first operation on the first image under the condition that first response information sent by the second electronic equipment is received;
and displaying prompt information under the condition that second response information sent by the second electronic equipment is received, wherein the prompt information is used for indicating that the first operation cannot be performed on the first image.
7. The method of claim 1, wherein, in response to the first input, after capturing the first image, the method further comprises:
transmitting the first image and third information to the second electronic device; the third information includes: a first device identifier of the first electronic device, a second device identifier of the second electronic device, and the first information;
Receiving a second image sent by the second electronic equipment, wherein the second image is obtained by performing image processing on the first image by the second electronic equipment;
and replacing the first image with the second image.
8. The method of claim 1, wherein, in response to the first input, after capturing the first image, the method further comprises:
receiving a third input to the first image;
and responding to the third input, displaying a session interface of a first session object corresponding to the second electronic equipment, wherein the session interface comprises the first information.
9. The method of claim 8, wherein the displaying a session interface of the first session object corresponding to the second electronic device in response to the third input comprises:
displaying at least one conversation application in response to the third input;
receiving a fourth input to a first one of the at least one conversational application;
responsive to the fourth input, sending, by the first session application, second authentication information to the first session object, the second authentication information including the first information;
And displaying the session interface under the condition that third response information sent by the first session object is received.
10. An image capturing apparatus, the apparatus comprising:
the first display module is used for displaying a first preview image;
an acquisition module, configured to acquire first information associated with a second electronic device in a case where a first object is included in the first preview image; the first object is associated with the second electronic device;
the processing module is used for processing the first preview image according to the first information to obtain a second preview image;
a first receiving module for receiving a first input to the second preview image;
and the shooting module is used for responding to the first input and shooting to obtain a first image.
11. 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 method of any of claims 1-9.
CN202311244293.3A 2023-09-25 2023-09-25 Image shooting method and device and electronic equipment Pending CN117221711A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311244293.3A CN117221711A (en) 2023-09-25 2023-09-25 Image shooting method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311244293.3A CN117221711A (en) 2023-09-25 2023-09-25 Image shooting method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN117221711A true CN117221711A (en) 2023-12-12

Family

ID=89035120

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311244293.3A Pending CN117221711A (en) 2023-09-25 2023-09-25 Image shooting method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN117221711A (en)

Similar Documents

Publication Publication Date Title
EP3125154B1 (en) Photo sharing method and device
CN109557999B (en) Bright screen control method and device and storage medium
EP1914961A1 (en) Mobile information terminal apparatus
CN106454392A (en) Live broadcast processing method, device and terminal
CN104636106A (en) Picture displaying method and device and terminal device
CN107959757B (en) User information processing method and device, APP server and terminal equipment
CN104732158A (en) Encryption photographing method, system and device
CN112532885B (en) Anti-shake method and device and electronic equipment
CN113259226B (en) Information synchronization method and device, electronic equipment and storage medium
CN109145878B (en) Image extraction method and device
CN110677551B (en) Image encryption method, device, equipment and storage medium
CN109981890B (en) Reminding task processing method, terminal and computer readable storage medium
CN105701245A (en) Picture recommendation method and device
CN105653623B (en) Picture collection method and device
CN117221711A (en) Image shooting method and device and electronic equipment
CN111865767B (en) User display method, device, server, client, terminal and storage medium for indirectly monitoring telephone in instant messaging
CN109033928A (en) Prevent the image processing method and device of information leakage
CN114245018A (en) Image shooting method and device
CN113568551A (en) Picture saving method and device
CN112561809A (en) Image processing method, device and equipment
CN112637491A (en) Photographing method and photographing apparatus
CN112036241A (en) Image processing method and device, electronic equipment and storage medium
CN111782110A (en) Screen capturing method and device, electronic equipment and storage medium
CN109151403B (en) Video data acquisition method and device
CN109766506B (en) Picture processing method, device, terminal, server 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