CN113268211B - Image acquisition method, device, electronic equipment and storage medium - Google Patents

Image acquisition method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113268211B
CN113268211B CN202110522819.4A CN202110522819A CN113268211B CN 113268211 B CN113268211 B CN 113268211B CN 202110522819 A CN202110522819 A CN 202110522819A CN 113268211 B CN113268211 B CN 113268211B
Authority
CN
China
Prior art keywords
screen
image
display
electronic equipment
electronic device
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.)
Active
Application number
CN202110522819.4A
Other languages
Chinese (zh)
Other versions
CN113268211A (en
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 Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou 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 Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN202110522819.4A priority Critical patent/CN113268211B/en
Publication of CN113268211A publication Critical patent/CN113268211A/en
Application granted granted Critical
Publication of CN113268211B publication Critical patent/CN113268211B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes

Abstract

The application discloses an image acquisition method, an image acquisition device, electronic equipment and a storage medium, and belongs to the technical field of image processing. The image acquisition method is applied to the first electronic equipment, and comprises the following steps: acquiring a first image acquired by a camera; identifying an acquisition object of the first image; under the condition that the acquisition object of the first image is a device display screen, establishing screen projection connection with second electronic equipment, and displaying a display interface of the second electronic equipment; an image is acquired based on the display interface.

Description

Image acquisition method, device, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of image processing, and particularly relates to an image acquisition method, an image acquisition device, electronic equipment and a storage medium.
Background
With the popularity of intelligent mobile electronic devices, people increasingly use a photographing function of a mobile device to obtain information displayed in other devices, for example, a mobile phone is used to photograph a computer screen, so as to obtain information displayed in the computer screen. However, the image obtained in such a manner may have shadows or bright spots in the captured image due to the influence of light such as reflection of the screen, or the captured text or picture may be inclined due to the influence of the capturing angle, thereby affecting the image obtaining quality, so that it is difficult for the user to obtain the required information from the captured image.
Disclosure of Invention
The embodiment of the application aims to provide an image acquisition method, an image acquisition device, electronic equipment and a storage medium, which can solve the problem that the acquisition quality is poor when the existing display screen image is shot, so that a user is difficult to acquire required information.
In a first aspect, an embodiment of the present application provides an image acquisition method, where the method is applied to a first electronic device, and the method includes:
acquiring a first image acquired by a camera of the first electronic device;
identifying an acquisition object of the first image;
when the acquisition object of the first image is a device display screen, establishing screen projection connection with second electronic equipment, and displaying a display interface of the second electronic equipment;
and acquiring a second image based on the display interface.
In a second aspect, an embodiment of the present application provides an image capturing apparatus, which is used for a first electronic device, including:
the image acquisition module is used for acquiring a first image acquired by a camera of the first electronic equipment;
the object identification module is used for identifying an acquisition object of the first image;
the interface display module is used for establishing screen projection connection with the second electronic equipment and displaying a display interface of the second electronic equipment under the condition that the acquisition object of the first image is an equipment display screen;
and the image acquisition module is used for acquiring a second image based on the display interface.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps of the method according to the first aspect when executed by the processor.
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 implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide 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 the embodiment of the application, under the condition that the acquisition object is the equipment display screen according to the first image acquired by the camera of the first electronic equipment, the second electronic equipment is connected, the display interface in the second electronic equipment is projected and displayed in the first electronic equipment, and then the second image is acquired based on the display interface.
Drawings
FIG. 1 is one of the flowcharts of an image acquisition method shown in accordance with an exemplary embodiment;
FIG. 2 is a schematic diagram of an image acquisition application scenario illustrated in accordance with an exemplary embodiment;
FIG. 3 is a schematic diagram of a screen-shot interactive interface, shown according to an exemplary embodiment;
FIG. 4 is a second flowchart of an image acquisition method according to an exemplary embodiment;
FIG. 5 is a block diagram of an image acquisition apparatus according to an exemplary embodiment;
FIG. 6 is a block diagram of an electronic device, according to an example embodiment;
fig. 7 is a schematic hardware structure of an electronic device implementing an embodiment 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 data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., 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 image acquisition method provided by the embodiment of the application is described in detail below by means of specific embodiments and application scenes thereof with reference to the accompanying drawings.
The image acquisition method provided by the application can be suitable for acquiring the application scene of the image corresponding to the display interface in the second electronic device by using the first electronic device. The second electronic device may be a device provided with a display screen, such as a computer, a television, etc., and the first electronic device may be a device with photographing and display functions, such as a mobile phone, a tablet computer, etc.
According to the above application scenario, the image acquisition method provided in the embodiment of the present application is described in detail below with reference to fig. 1 to 4. It should be noted that, in the image capturing method provided in the embodiment of the present application, the execution subject may be an image capturing device, or a control module in the image capturing device for executing the image capturing method, where the image capturing device may be integrated in the first electronic apparatus. In the embodiment of the present application, an image acquisition device executes an image acquisition method as an example, and the image acquisition method provided in the embodiment of the present application is described.
Fig. 1 is a flowchart illustrating an image acquisition method according to an exemplary embodiment.
As shown in fig. 1, the image acquisition method may include the steps of:
step 110, acquiring a first image acquired by a camera of a first electronic device.
The first image in the embodiment of the application may be an environmental image acquired by a camera of the first electronic device. Specifically, the first image may be a dynamic picture acquired by the camera in real time, or may be a still image acquired by the camera currently, which is not limited herein.
In one specific example, as shown in fig. 2, if the user wants to obtain the information 221 displayed in the computer 22 through the mobile phone 21, the mobile phone 21 can obtain an image including the display screen of the computer 22 by starting the mobile phone 21 to take a photo of APP (application program) and aligning the camera of the mobile phone 21 with the display screen of the computer 22.
Step 120, identifying an acquisition object of the first image.
Here, the acquisition object may be an object contained in the first image, for example, in the case where the device display screen is contained in the first image, the acquisition object may be the device display screen. Specifically, a preset object recognition algorithm may be adopted, and the acquired objects in the first image are recognized by using feature information corresponding to each acquired object, where the object recognition algorithm includes, but is not limited to, a saliency recognition algorithm, and the like.
The method includes the steps of detecting whether the environment image collected by the camera of the first electronic device contains feature information such as a display screen frame and a menu task bar in real time, if the environment image contains the feature information, determining that the collected object is a device display screen, and if the environment image does not contain the feature information, determining that the collected object is not the device display screen.
And 130, under the condition that the acquisition object of the first image is a device display screen, establishing screen projection connection with the second electronic device, and displaying a display interface of the second electronic device.
Here, the second electronic device may be a device that is connected to the first electronic device in a screen-casting manner, including but not limited to a wireless connection.
The method for establishing the screen-throwing connection between the first electronic device and the second electronic device includes, but is not limited to, connection through a wifi direct connection mode, or intercommunication connection of information through a router under the same local area network, or a combination mode of the two connection modes, namely, connection through the wifi direct connection mode is preferred, and if connection errors or packet loss rate reaches a preset threshold value during connection, the connection is switched to intercommunication connection of information through the router in the local area network where the first electronic device is located.
In addition, the connection response mechanism between the first electronic device and the second electronic device includes, but is not limited to, setting a device white list in the second electronic device, that is, when a connection request sent by a device in the device white list is received, the connection request can be automatically responded, and the connection request with the device is granted, so that a connection is established. In order to ensure security and uniqueness, the device names in the whitelist may be generated by CID (Chip Identification, chip identification code) of the internal memory of the corresponding device. The other connection response mechanism can be that the first electronic device is connected with the second electronic device in a key mode, when the second electronic device receives the key and is successfully matched, the connection response mechanism can respond to the connection request of the first electronic device, and the connection request of the first electronic device is granted so as to establish connection.
Of course, other connection response mechanisms may be used in addition to the two connection response mechanisms, for example, the first electronic device may send a connection request to the infrared component of the second electronic device through the infrared component, and further, the devices may be mutually identified and connected by using infrared signals. In addition, a screen-throwing connection communication protocol can be defined, the first electronic device sends a connection request carrying the self CID to the second electronic device in the form of RPMB (Replay Protected Memory Block, replay protection memory block) data through the screen-throwing connection communication protocol, and therefore mutual identification and connection of the devices are achieved by means of CID information and RPMB data. Wherein RPMB is a partition with security features inside the memory. Therefore, the safety of screen throwing connection can be improved.
The device display screen identified from the first image may be a display screen of the second electronic device, but may be a display screen of another device, which is not limited herein. It should be noted that, whether the identified device display screen is the display screen of the second electronic device or not, the embodiment of the application can establish screen-throwing connection with the second electronic device through automatic default connection or manual selection connection and other modes, so as to display the display interface of the second electronic device.
In a specific example, as shown in fig. 2, if the mobile phone 21 identifies the menu task bar from the external environment image, it is determined that the current collection object is the display screen of the other device, that is, the mobile phone 21 may be shooting the display screen of the other device, and at this time, a screen-throwing mode may be started to establish a screen-throwing connection with the computer 22, so as to display the display content in the display screen of the computer 22 on the mobile phone 21.
In addition, in another case, that is, in a case where the acquisition object of the first image does not include the device display screen, the normal framing shooting mode is entered.
Based on this, in an alternative embodiment, the step 120 may specifically include:
searching electronic equipment within a preset range;
under the condition that the second electronic equipment is determined to be searched, screen projection connection is established with the second electronic equipment;
receiving screen display information sent by second electronic equipment;
and displaying a display interface of the second electronic device according to the screen display information.
In an exemplary case that the collection object is a device display screen according to the first image, whether a device capable of being connected with a screen is in a preset range around the first electronic device or not may be searched first, if a second electronic device capable of being connected with the screen is identified, a connection request may be automatically sent to the second electronic device, and after a response that the second electronic device agrees to connect is received, connection is established with the second electronic device. If the electronic device is determined not to be searched for any other electronic device or the second electronic device refuses the connection request, the device enters a normal framing shooting mode.
In addition, the screen display information may be video stream information corresponding to the real-time display interface in the display screen of the second electronic device. By receiving the screen display information, a real-time display interface in a display screen of the second electronic device can be displayed on the first electronic device in a screen throwing mode.
Therefore, the screen display information sent by the electronic equipment is received through the other electronic equipment which is automatically connected to perform screen display on the first electronic equipment, so that a clear screen display interface can be conveniently and rapidly obtained, and a user can conveniently obtain the information needed by the user.
In an optional implementation manner, the step of establishing a screen-throwing connection with the second electronic device in the case that the second electronic device is determined to be searched specifically may include:
displaying N pieces of equipment information corresponding to the N pieces of electronic equipment under the condition that the N pieces of electronic equipment are determined to be searched; the N pieces of equipment information comprise second equipment information corresponding to the second electronic equipment;
receiving a first input of second device information by a user;
in response to the first input, a screen-drop connection is established with the second electronic device.
Here, the device information may be information capable of identifying the device identity, such as a device name.
In a specific example, as shown in fig. 3, a screen-throwing mode operation interface 301 corresponding to a photographing APP is displayed in the mobile phone 30, when the mobile phone 30 enters a screen-throwing mode, an operation menu 302 may be displayed, and when a user clicks a screen-throwing connection, the mobile phone 30 may be triggered to be displayed to determine device information 303 corresponding to the searched at least one connectable electronic device. If the user further selects the option 304 in which the device information is "aaa", the electronic device whose device information is "aaa" is connected.
Therefore, through displaying the equipment information corresponding to the searched electronic equipment, the user can conveniently select and connect the electronic equipment which really wants to be connected, the equipment can be effectively prevented from being connected by mistake, and the safety of the screen-throwing connection process is improved.
And 140, acquiring a second image based on the display interface.
In this embodiment of the present application, the manner of acquiring the second image from the display interface of the first electronic device includes, but is not limited to, screen capturing, screen recording, and the like, and accordingly, the number of acquired second images may be one or more. Specifically, the first electronic device may automatically perform screen capturing or screen recording operation based on the display interface, and of course, may perform screen capturing or screen recording operation in any range on the display interface according to the operation of the user, which is not limited herein.
For example, if the user needs to continuously acquire the information in the display interface, the user may select to trigger the screen-projection recording mode to record the information in the current display interface, so as to obtain video clips corresponding to the plurality of second images.
In an alternative embodiment, the step 130 may specifically include:
receiving a second input of a user to the display interface;
and responding to the second input, and performing screen capturing on the display interface to obtain a second image.
Here, the second input may be an input that the user triggers a screen capture, including, but not limited to, tapping the screen with a finger joint, pressing a preset screen capture function combination key on the first electronic device, or clicking a screen capture button displayed in the screen, or the like.
In addition, the screen capture range may be any range in the display interface, such as a specific pattern range, or a user-defined range, etc.
Therefore, through the second input of the user to the display interface, the screen capturing process of the display interface in the first electronic device can be triggered, and further a clear screen capturing image is obtained to serve as a second image.
Therefore, under the condition that the acquisition object is the equipment display screen according to the first image acquired by the camera of the first electronic equipment, the second electronic equipment is connected, the display interface in the second electronic equipment is projected and displayed in the first electronic equipment, and the second image is acquired based on the display interface.
To better describe the overall solution, based on the above embodiments, as a specific example, as shown in fig. 4, the file sharing method may include steps 1001-1012, which are explained in detail below.
Step 401, starting a mobile phone photographing APP;
here, the user can prepare to photograph an external scene to acquire required information by opening the photographing APP.
Step 402, identifying scene information by a camera;
here, the camera can capture external scene information, so as to judge whether the computer screen is a computer screen.
Step 403, if the screen is a computer screen, executing step 404 if yes, otherwise executing step 412;
step 404, entering a screen projection mode, and identifying and displaying connectable equipment;
step 405, if a connectable device is identified, executing step 406 if yes, otherwise executing step 412;
step 406, selecting and connecting computer equipment;
step 407, if the connection is successful, executing step 408 if yes, otherwise executing step 412;
step 408, receiving screen information sent by the computer equipment and performing screen projection display;
step 409, selecting a screen shooting mode, if the screen shooting mode is selected, executing step 410, and if the screen recording mode is selected, executing step 411;
here, one mode may be selected from the screen recording mode and the screen photographing mode. For example, if the user needs to continuously acquire screen information of the computer device, the user can select a screen-casting recording mode; if only single screen information of the host end needs to be acquired, a screen shooting mode can be selected.
Step 410, starting screen capturing;
for example, if the user only needs to acquire the single screen information of the host computer, the user can select the screen shooting mode to perform the screen shooting operation of the screen information of the host computer, and various screen shooting modes such as specific patterns can be supported. Recording screen information at the host side.
Step 411, starting a screen recording function;
for example, if the user needs to continuously acquire the screen information of the computer device, the user can select a screen projection recording mode to record the screen information of the computer device.
Step 412, enter the normal view photographing mode.
Thus, the screen display interface in the computer equipment is displayed on the mobile phone, and the image is acquired based on the display interface, so that better image acquisition effect can be achieved as the image acquisition effect is not influenced by shooting distance, shooting operation, shooting angle and the like. In addition, because the mobile phone camera does not need to be shot against the screen of the computer equipment, the required information can be acquired at any time through the screen-throwing interface, the problem that the operation is complicated because the user also needs to carry out post-processing on the shot image after shooting so as to remove useless information is solved, the operation process is simplified, and the complexity of the user operation is reduced.
It should be noted that, the application scenario described in the foregoing embodiments of the present application is for more clearly describing the technical solution of the embodiments of the present application, and does not constitute a limitation on the technical solution provided in the embodiments of the present application, and as a person of ordinary skill in the art can know, with the appearance of a new application scenario, the technical solution provided in the embodiments of the present application is also applicable to similar technical problems.
Based on the same inventive concept, the present application also provides an image acquisition apparatus, which may be used for a first electronic device. The image capturing apparatus provided in the embodiment of the present application is described in detail below with reference to fig. 5.
Fig. 5 is a block diagram showing a configuration of an image acquisition apparatus according to an exemplary embodiment.
As shown in fig. 5, the image acquisition apparatus 500 may include:
the image acquisition module 501 is configured to acquire a first image acquired by a camera of the first electronic device;
an object recognition module 502, configured to recognize a collection object of the first image;
an interface display module 503, configured to, when the acquisition object of the first image is a device display screen, establish a screen-throwing connection with a second electronic device, and display a display interface of the second electronic device;
an image acquisition module 504 is configured to acquire a second image based on the display interface.
The image acquisition apparatus 500 is described in detail below, and is specifically as follows:
in one embodiment, the interface display module 503 may specifically include:
the searching sub-module is used for searching the electronic equipment within a preset range;
the connection sub-module is used for establishing screen projection connection with the second electronic equipment under the condition that the second electronic equipment is determined to be searched;
the information receiving sub-module is used for receiving screen display information sent by the second electronic equipment;
and the display sub-module is used for displaying the display interface of the second electronic equipment according to the screen display information.
In one embodiment, the above-mentioned connection sub-module may specifically include:
a display unit, configured to display N pieces of device information corresponding to N pieces of electronic devices when it is determined that the N pieces of electronic devices are searched; the N pieces of equipment information comprise second equipment information corresponding to the second electronic equipment;
a receiving unit, configured to receive a first input of the second device information by a user;
and the connection unit is used for responding to the first input and establishing screen projection connection with the second electronic equipment.
In one embodiment, the image acquisition module 504 may specifically include:
the input receiving sub-module is used for receiving a second input of a user to the display interface;
and the screen capturing submodule is used for responding to the second input and capturing a screen of the display interface to obtain a second image.
Therefore, under the condition that the acquisition object is the equipment display screen according to the first image acquired by the camera of the first electronic equipment, the second electronic equipment is connected, the display interface in the second electronic equipment is projected and displayed in the first electronic equipment, and the second image is acquired based on the display interface.
The image acquisition device in the embodiment of the application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device, such as a mobile phone, a tablet computer, a palm computer, a wearable device, a super mobile personal computer (ultra-mobile personal computer, UMPC), a netbook, or a personal digital assistant (personal digital assistant, PDA), etc., and embodiments of the present application are not limited in detail.
The image capturing device in the embodiment of the present application may be a device having 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 image acquisition device provided in the embodiment of the present application can implement each process implemented by the embodiments of the methods of fig. 1 to 4, and in order to avoid repetition, a description is omitted here.
Optionally, as shown in fig. 6, the embodiment of the present application further provides an electronic device 600, including a processor 601, a memory 602, and a program or an instruction stored in the memory 602 and capable of running on the processor 601, where the program or the instruction implements each process of the embodiment of the image acquisition method when executed by the processor 601, and the process 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. 7 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 700 includes, but is not limited to: radio frequency unit 701, network module 702, audio output unit 703, input unit 704, sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, and processor 710.
Those skilled in the art will appreciate that the electronic device 700 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 710 via a power management system so as to perform functions such as managing charge, discharge, and power consumption via the power management system. Drawing of the figure7The electronic device structure shown in (c) does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown in the figures, or may combine some components, or may be arranged in different components, which are not described here.
The input unit 704 is configured to acquire a first image acquired by the camera;
a processor 710 for identifying an acquisition object of the first image;
the display unit 706 is configured to establish a screen-throwing connection with a second electronic device and display a display interface of the second electronic device when the acquisition object of the first image is a device display screen;
the processor 710 is further configured to acquire a second image based on the display interface.
Therefore, under the condition that the acquisition object is the equipment display screen according to the first image acquired by the camera of the first electronic equipment, the second electronic equipment is connected, the display interface in the second electronic equipment is projected and displayed in the first electronic equipment, and the image is acquired based on the display interface.
Optionally, the radio frequency unit 701 is configured to search for electronic devices within a preset range; establishing screen projection connection with the second electronic equipment under the condition that the second electronic equipment is determined to be searched;
an interface unit 708, configured to receive screen display information sent by the second electronic device;
and the display unit 706 is further configured to display a display interface of the second electronic device according to the screen display information.
Optionally, the display unit 706 is further configured to display N pieces of device information corresponding to N pieces of electronic devices if it is determined that N pieces of electronic devices are searched; the N pieces of equipment information comprise second equipment information corresponding to the second electronic equipment;
a user input unit 707 for receiving a first input of the second device information by a user;
the radio frequency unit 701 is further configured to establish a screen-throwing connection with the second electronic device in response to the first input.
Optionally, the user input unit 707 is further configured to receive a second input from a user to the display interface;
the processor 710 is further configured to, in response to the second input, screen capture the display interface to obtain a second image.
In this way, by displaying the screen display interface in the first electronic device on the screen of the present device and acquiring an image based on the display interface, since the image is not affected by the shooting distance, the shooting operation, the shooting angle, and the like, a better image acquisition effect can be achieved. In addition, because the camera does not need to be shot against the screen of the first electronic equipment, the required information can be acquired through the screen-throwing interface at any time, the problem that the operation is complicated because the user also needs to carry out post-processing on the shot image after shooting so as to remove useless information is solved, the operation process is simplified, and the complexity of the user operation is reduced.
It should be appreciated that in embodiments of the present application, the input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042, with the graphics processor 7041 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 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071 is also referred to as a touch screen. The touch panel 7071 may include two parts, a touch detection device and a touch controller. Other input devices 7072 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. Memory 709 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 710 may integrate an application processor that primarily processes operating systems, user interfaces, 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 710.
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 embodiment of the image acquisition method 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 a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
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, and the processor is used for running a program or an instruction, so as to implement each process of the embodiment of the image acquisition method, and achieve the same technical effect, so that repetition is avoided, and no redundant description is provided 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.
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 (4)

1. An image acquisition method applied to a first electronic device, comprising:
acquiring a first image acquired by a camera of the first electronic device;
identifying an acquisition object of the first image, and determining that the acquisition object of the first image is a device display screen under the condition that the first image contains a display screen frame and/or a menu task bar;
establishing screen projection connection with second electronic equipment and displaying a display interface of the second electronic equipment;
receiving a second input of a user to the display interface;
responding to the second input, and capturing a screen of the display interface to obtain a second image;
the screen projection connection with the second electronic device is established, and a display interface of the second electronic device is displayed, and the screen projection connection method comprises the following steps:
searching electronic equipment within a preset range;
displaying N pieces of equipment information corresponding to N pieces of electronic equipment under the condition that the N pieces of electronic equipment are determined to be searched; the N pieces of equipment information comprise second equipment information corresponding to the second electronic equipment;
receiving a first input of the second device information by a user;
responding to the first input, and establishing screen-throwing connection with the second electronic equipment;
receiving screen display information sent by the second electronic equipment;
and displaying a display interface of the second electronic equipment according to the screen display information.
2. An image acquisition apparatus for a first electronic device, comprising:
the image acquisition module is used for acquiring a first image acquired by a camera of the first electronic equipment;
the object identification module is used for identifying an acquisition object of the first image, and determining that the acquisition object of the first image is a device display screen under the condition that the first image contains a display screen frame and/or a menu task bar;
the interface display module is used for establishing screen projection connection with the second electronic equipment and displaying a display interface of the second electronic equipment;
the input receiving sub-module is used for receiving a second input of a user to the display interface;
the screen capturing submodule is used for responding to the second input and capturing a screen of the display interface to obtain a second image;
wherein, interface display module includes:
the searching sub-module is used for searching the electronic equipment within a preset range;
a display unit, configured to display N pieces of device information corresponding to N pieces of electronic devices when it is determined that the N pieces of electronic devices are searched; the N pieces of equipment information comprise second equipment information corresponding to the second electronic equipment;
a receiving unit, configured to receive a first input of the second device information by a user;
a connection unit, configured to establish a screen-projection connection with the second electronic device in response to the first input;
the information receiving sub-module is used for receiving screen display information sent by the second electronic equipment;
and the display sub-module is used for displaying the display interface of the second electronic equipment according to the screen display information.
3. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the image acquisition method of claim 1.
4. A readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the image acquisition method of claim 1.
CN202110522819.4A 2021-05-13 2021-05-13 Image acquisition method, device, electronic equipment and storage medium Active CN113268211B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110522819.4A CN113268211B (en) 2021-05-13 2021-05-13 Image acquisition method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110522819.4A CN113268211B (en) 2021-05-13 2021-05-13 Image acquisition method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113268211A CN113268211A (en) 2021-08-17
CN113268211B true CN113268211B (en) 2023-05-12

Family

ID=77230591

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110522819.4A Active CN113268211B (en) 2021-05-13 2021-05-13 Image acquisition method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113268211B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113766137A (en) * 2021-09-23 2021-12-07 联想(北京)有限公司 Image processing method and device
CN116419023A (en) * 2021-12-31 2023-07-11 华为技术有限公司 System and method for acquiring screen images across devices

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111432070A (en) * 2020-03-17 2020-07-17 北京百度网讯科技有限公司 Application screen projection control method, device, equipment and medium
CN111787393A (en) * 2019-04-03 2020-10-16 Oppo广东移动通信有限公司 Screen transmission image detection method and system and device with storage function
CN112486386A (en) * 2020-11-30 2021-03-12 维沃移动通信有限公司 Screen projection method, screen projection device, electronic equipment and readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150186095A1 (en) * 2013-12-31 2015-07-02 Huawei Technologies Co., Ltd. Inter-terminal image sharing method, terminal device, and communications system
KR102269481B1 (en) * 2014-10-17 2021-06-28 삼성전자주식회사 Method for screen sharing with devices and device thereof
CN111221484B (en) * 2018-11-27 2023-08-08 钉钉控股(开曼)有限公司 Screen projection method and device
CN112394891B (en) * 2019-07-31 2023-02-03 华为技术有限公司 Screen projection method and electronic equipment
CN111901896A (en) * 2020-07-14 2020-11-06 维沃移动通信有限公司 Information sharing method, information sharing device, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111787393A (en) * 2019-04-03 2020-10-16 Oppo广东移动通信有限公司 Screen transmission image detection method and system and device with storage function
CN111432070A (en) * 2020-03-17 2020-07-17 北京百度网讯科技有限公司 Application screen projection control method, device, equipment and medium
CN112486386A (en) * 2020-11-30 2021-03-12 维沃移动通信有限公司 Screen projection method, screen projection device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN113268211A (en) 2021-08-17

Similar Documents

Publication Publication Date Title
US9788065B2 (en) Methods and devices for providing a video
CN106210539B (en) A kind of method and terminal obtaining panoramic picture
US7990421B2 (en) Arrangement and method relating to an image recording device
CN113268211B (en) Image acquisition method, device, electronic equipment and storage medium
CN110677682B (en) Live broadcast detection and data processing method, device, system and storage medium
CN111901896A (en) Information sharing method, information sharing device, electronic equipment and storage medium
CN107566746B (en) Photographing method and user terminal
CN110557564A (en) Quick starting method and device of camera
CN113794834B (en) Image processing method and device and electronic equipment
WO2022110614A1 (en) Gesture recognition method and apparatus, electronic device, and storage medium
CN112532885B (en) Anti-shake method and device and electronic equipment
CN112492201B (en) Photographing method and device and electronic equipment
CN111884908A (en) Contact person identification display method and device and electronic equipment
CN112291475A (en) Photographing method and device and electronic equipment
CN112511743B (en) Video shooting method and device
CN109729270A (en) A kind of control method, device and electronic equipment
CN106060383A (en) Image obtaining method and system
CN110933352B (en) Fisheye image correction method and digital video recorder
CN112734661A (en) Image processing method and device
CN112486387A (en) Application program control method and device
CN113794833B (en) Shooting method and device and electronic equipment
CN112532904B (en) Video processing method and device and electronic equipment
CN111885302B (en) Image shooting method and device and electronic equipment
CN114245018A (en) Image shooting method and device
CN114125226A (en) Image shooting method and 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
GR01 Patent grant
GR01 Patent grant