Continuous photography method and device, and storage medium
By processing the image processing process of continuous photography in parallel in the terminal device, the problem of long waiting time for users is solved, and the response speed and user experience are improved.
Patent Information
- Application Number
- CN202110984330.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-25
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2041-08-25
AI Technical Summary
The existing terminal photography system needs to wait for a long time after each photo is taken before operating again, causing the user to miss the best moment to record, and the user experience is poor.
By monitoring continuous click operation events, the first photographing processing process and the second photographing processing process are executed in parallel, where the duration of the first photographing processing process is longer than the duration of the second photographing processing process, and instructions are sent to process the image processing results in parallel.
It improves the terminal's response speed to continuous photography, improves user experience, and does not increase more memory consumption.
Smart Images

Figure CN115733913B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of terminal technology, and in particular to a continuous photographing method and device, and a storage medium. Background Art
[0002] In daily life, many wonderful moments are often fleeting. Users can use terminal cameras to continuously and quickly click to take photos. However, the current terminal camera system needs to wait for the image data processed by the camera's underlying program to be returned after each photo is taken before issuing the next photo command. Therefore, users cannot take the next photo immediately after a click operation. Due to the limitations of terminal software and hardware performance, they often have to wait for a long time before they can operate again. This will cause users to miss the best moments to record, making the user experience worse. Summary of the invention
[0003] In view of this, the present application discloses a continuous photographing method and device, and a storage medium.
[0004] According to a first aspect of an embodiment of the present disclosure, a continuous photographing method is provided, the method being applied to a terminal, the method comprising:
[0005] Determine that a continuous click operation event for triggering continuous photography is monitored;
[0006] Based on the continuous click operation events, a first photographing process and a second photographing process are executed in parallel, and the duration of the first photographing process is longer than the duration of the second photographing process.
[0007] Optionally, the performing a first photographing process and a second photographing process in parallel based on the continuous click operation event includes:
[0008] Based on the first click operation in the continuous click operation event, sending a first instruction, wherein the first instruction is used to instruct the bottom program of the camera to execute the first photographing process and return a first image processing result after the first photographing process is executed;
[0009] Before receiving the first image processing result, a second instruction is sent based on each second click operation in the continuous click operation event, and the second instruction is used to instruct the underlying program of the camera to execute the second photo processing process and return the second image processing result after the second photo processing process is completed.
[0010] Optionally, the first click operation includes any one of the following:
[0011] The first click operation in the continuous click operation events; or
[0012] A click operation newly triggered after receiving the first image processing result in the continuous click operation event;
[0013] The second click operation is a click operation located between two adjacent first click operations in the continuous click operation event.
[0014] Optionally, before executing the first photographing process and the second photographing process in parallel based on the continuous click operation event, the method further includes:
[0015] Determine whether a specified condition for executing the first photographing process and the second photographing process in parallel is met.
[0016] Optionally, the determining whether a specified condition for executing the first photographing process and the second photographing process in parallel is satisfied includes:
[0017] Get the camera's sensitivity;
[0018] In response to determining that the sensitivity is greater than or equal to a preset sensitivity, it is determined that the specified condition is satisfied.
[0019] Optionally, the method further comprises:
[0020] In response to determining that the specified condition is not met, the first photographing process is always executed based on the continuous click operation event.
[0021] Optionally, the first photographing processing process at least includes performing noise reduction processing on the image obtained by photographing, and the second photographing processing process does not include performing noise reduction processing on the image obtained by photographing.
[0022] Optionally, the interval between two adjacent click operations in the continuous click operation event is at least a target duration;
[0023] The target duration is a default value, or the target duration is the duration of executing the second photo-taking process once.
[0024] According to a second aspect of an embodiment of the present disclosure, a continuous photographing device is provided, the device being applied to a terminal, the device comprising:
[0025] A monitoring module, used to determine whether a continuous click operation event for triggering continuous photography is monitored;
[0026] The parallel processing module is used to execute a first photographing process and a second photographing process in parallel based on the continuous click operation event, wherein the duration of the first photographing process is longer than the duration of the second photographing process.
[0027] Optionally, the parallel processing module is further used for:
[0028] Based on the first click operation in the continuous click operation event, sending a first instruction, wherein the first instruction is used to instruct the bottom program of the camera to execute the first photographing process and return a first image processing result after the first photographing process is executed;
[0029] Before receiving the first image processing result, a second instruction is sent based on each second click operation in the continuous click operation event, and the second instruction is used to instruct the underlying program of the camera to execute the second photo processing process and return the second image processing result after the second photo processing process is completed.
[0030] Optionally, the first click operation includes any one of the following:
[0031] The first click operation in the continuous click operation events; or
[0032] A click operation newly triggered after receiving the first image processing result in the continuous click operation event;
[0033] The second click operation is a click operation located between two adjacent first click operations in the continuous click operation event.
[0034] Optionally, the device further comprises:
[0035] A determination module is used to determine whether a specified condition for executing the first photographing process and the second photographing process in parallel is met.
[0036] Optionally, the determining module is further used for:
[0037] Get the camera's sensitivity;
[0038] In response to determining that the sensitivity is greater than or equal to a preset sensitivity, it is determined that the specified condition is satisfied.
[0039] Optionally, the device further comprises:
[0040] An execution module is used for, in response to determining that the specified condition is not met, always executing the first photo processing process based on the continuous click operation event.
[0041] Optionally, the first photographing processing process at least includes performing noise reduction processing on the image obtained by photographing, and the second photographing processing process does not include performing noise reduction processing on the image obtained by photographing.
[0042] Optionally, the interval between two adjacent click operations in the continuous click operation event is at least a target duration;
[0043] The target duration is a default value, or the target duration is the duration of executing the second photo-taking process once.
[0044] According to a third aspect of an embodiment of the present disclosure, there is provided a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any one of the above-mentioned continuous photographing methods are implemented.
[0045] According to a fourth aspect of an embodiment of the present disclosure, there is provided a continuous photographing device, comprising:
[0046] processor;
[0047] a memory for storing processor-executable instructions;
[0048] Wherein, the processor is configured to execute the executable instructions to implement the steps of any of the above-mentioned continuous photographing methods.
[0049] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0050] In the case of monitoring a continuous click operation event that triggers continuous photography, the present disclosure can perform a first photography process and a second photography process in parallel based on the continuous connection operation event, wherein the duration of the first photography process is longer than the duration of the second photography process. The terminal's response speed to continuous photography is improved without causing more memory consumption, thereby improving the user experience when taking continuous photos.
[0051] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0053] Figure 1 is a flow chart of a continuous photographing method shown in an exemplary embodiment of the present application;
[0054] Figure 2 is a flow chart of another continuous photographing method shown in an exemplary embodiment of the present application;
[0055] Figure 3 is a flow chart of another continuous photographing method shown in an exemplary embodiment of the present application;
[0056] Figure 4A is a flow chart of a continuous photographing method in the related art;
[0057] Figure 4B is a flow chart of another continuous photographing method shown in an exemplary embodiment of the present application;
[0058] Figure 5 is a block diagram of a continuous photographing device according to an exemplary embodiment;
[0059] Figure 6 The figure is a block diagram of a device suitable for continuous photographing according to an exemplary embodiment. DETAILED DESCRIPTION
[0060] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0061] Figure 1 is a flowchart of a continuous photographing method shown in an exemplary embodiment of the present application. This embodiment is described from the perspective of a terminal, wherein the terminal includes but is not limited to mobile phones, laptop computers, desktop computers, iPads and other devices, such as Figure 1 As shown, the continuous photographing method includes:
[0062] In step 101, it is determined that a continuous click operation event for triggering continuous photographing is monitored.
[0063] In the embodiment of the present disclosure, if the user triggers the icon of the camera application or opens the camera application through a preset gesture, it is determined to enter the interface of the camera application. Further, the terminal monitors whether there is a continuous click operation event for triggering continuous photography.
[0064] In step 102, based on the continuous click operation event, a first photographing process and a second photographing process are executed in parallel.
[0065] In the disclosed embodiment, the duration of the first photographing process is longer than the duration of the second photographing process.
[0066] In a possible implementation, the first photographing processing process at least includes performing noise reduction processing on the image obtained by photographing, and the second photographing processing process does not include performing noise reduction processing on the image obtained by photographing.
[0067] In the above embodiment, when a continuous click operation event that triggers continuous photography is monitored, the first photography process and the second photography process can be performed in parallel based on the continuous connection operation event, wherein the duration of the first photography process is longer than the duration of the second photography process. This improves the terminal's response speed to continuous photography without causing more memory consumption, thereby improving the user experience when taking continuous photos.
[0068] In some optional embodiments, reference Figure 2 As shown, Figure 2 is based on Figure 1 In another continuous photographing method provided by the illustrated embodiment, the above step 102 may include:
[0069] In step 201, a first instruction is sent based on a first click operation in the continuous click operation event.
[0070] In the embodiment of the present disclosure, the first instruction is an instruction to instruct the underlying program of the camera to execute the first photographing process and return the first image processing result after the first photographing process is completed. The underlying program of the camera refers to a program written in a computer language for implementing camera functions. The first click operation may include any of the following: the first click operation in the continuous click operation event; or a click operation newly triggered in the continuous click operation event after receiving the first image processing result.
[0071] In one possible implementation, the first photo processing process may include but is not limited to the following processes: first, the camera application sends a first instruction to the underlying program, and then the camera bottom layer calls the camera to take a photo to obtain the corresponding image. Furthermore, the underlying program can perform algorithmic processing on the image obtained by taking the photo, and the algorithmic processing process at least includes noise reduction processing to obtain YUV image data. Finally, the YUV image data is returned to the camera application as the first image processing result.
[0072] Among them, YUV refers to a color encoding method that allows the bandwidth of chrominance to be reduced when encoding photos or videos, taking into account human perception.
[0073] Among them, the above algorithm processing includes but is not limited to at least one of the following: HDR (High Dynamic Range) processing, MFNR (Multi Frame Noise Reduction) processing, and LLS (Long exposure) processing.
[0074] HDR processing can improve the dynamic range of an image. An image with a high dynamic range is synthesized through the HDR algorithm, which can provide more dynamic range and image details than ordinary images. MFNR means that after taking multiple photos in a row, the noise points at the same position may be red noise points, green noise points, white noise points, or even no noise points. The noise points are filtered out by screening multiple frames of images. Finally, the color guessing and pixel replacement processing are performed to achieve the effect of removing noise points. LLS refers to selecting a slow shutter speed (long exposure time) in photography to achieve special photographic effects, such as making dark scenes clearer.
[0075] In step 202, before receiving the first image processing result, a second instruction is sent based on each second click operation in the continuous click operation event.
[0076] In the embodiment of the present disclosure, the second click operation is a click operation between two adjacent first click operations in the continuous click operation event. The second instruction is used to instruct the underlying program of the camera to execute the second photo processing process and return the second image processing result after the second photo processing process is completed.
[0077] In one possible implementation, the second photographing process is similar to the first photographing process, except that the noise reduction process is not included.
[0078] In the above embodiment, the terminal can send instructions to execute different photo processing processes based on different click operations in continuous click operation events, thereby achieving the purpose of executing the first photo processing process and the second photo processing process in parallel, thereby improving the terminal's response efficiency during continuous photo taking and enhancing the user experience.
[0079] In some optional embodiments, before executing step 102, the terminal may first determine whether a specified condition for executing the first photographing process and the second photographing process in parallel is met.
[0080] In a possible implementation, if the acquired sensitivity of the camera is greater than or equal to a preset sensitivity, it is determined that the specified condition is met. In this case, the first photographing process and the second photographing process may be performed in parallel.
[0081] In the above embodiment, since the second photographing process is short, the image will not be subjected to noise reduction processing, and considering that the image noise is large when the ambient light is insufficient, it will have a significant impact on the image quality. Therefore, in the present application, when it is determined that the camera's sensitivity is greater than or equal to the preset sensitivity, it can be determined that the specified condition is met. At this time, the first photographing process and the second photographing process can be executed in parallel to avoid a significant impact on the image quality when executing the second photographing process. Ultimately, it can be ensured that the image quality differences between the multiple images obtained by continuous photography are small.
[0082] In some optional embodiments, two adjacent click operations in a continuous click operation event may be separated by at least a target duration.
[0083] In a possible implementation, the terminal may determine the target duration as a default value. Optionally, the default value may be a value greater than or equal to 0, for example, may be approximately 200 milliseconds to 300 milliseconds, which is not limited in the present disclosure.
[0084] In another possible implementation, the terminal may not set a default value, or when the default value is 0, the terminal may determine the target duration based on the duration of executing the second photographing process once.
[0085] Since the camera's underlying program needs to perform at least image noise reduction when executing the first photo processing process, which takes 600 to 1200 milliseconds, the user needs to wait for more than 600 milliseconds after one click before triggering the photo again. During the second photo processing process, the camera's underlying program does less work, so the duration of executing the second photo processing process can be less than 100 milliseconds. For the user, he can click the photo button continuously without feeling a large photo delay.
[0086] Of course, in the embodiments of the present disclosure, considering the terminal performance, in order to prevent the algorithm from processing in a timely manner, the target duration may be configured by the terminal manufacturer.
[0087] In the above embodiment, two adjacent click operations in a continuous click operation event can be separated by at least a target time length, which greatly reduces the delay in the case of continuous click photography, can respond to the user's photography request more promptly, and improves the user experience.
[0088] The continuous photography solution of the present application is further illustrated as follows.
[0089] Figure 3 is a flowchart of a continuous photographing method shown in an exemplary embodiment of the present application. This embodiment is described from the perspective of a terminal, wherein the terminal includes but is not limited to mobile phones, laptop computers, desktop computers, iPads and other devices, such as Figure 3 As shown, the continuous photographing method includes:
[0090] In step 301, it is determined that a continuous click operation event for triggering continuous photographing is monitored.
[0091] In step 302, it is determined whether a first image processing result exists, or whether a first image processing result is received.
[0092] If the first image processing result does not exist or is received, step 303 is executed; if the first image processing result exists and is not received, step 304 is executed.
[0093] In step 303, a first instruction is sent.
[0094] The first instruction is used to instruct the underlying program of the camera to execute the first photographing process, and return the first image processing result after the first photographing process is completed.
[0095] In step 304, it is determined whether a specified condition for executing the first photographing process and the second photographing process in parallel is satisfied.
[0096] If the specified condition is met, step 305 is executed, otherwise, the above step 303 needs to be continued after receiving the first image processing result.
[0097] In step 305, a second instruction is sent.
[0098] The second instruction is used to instruct the underlying program of the camera to execute the second photographing process, and return the second image processing result after the second photographing process is executed.
[0099] In an embodiment of the present disclosure, the duration of the first photographing processing process is greater than that of the second photographing processing process. Optionally, the first photographing processing process at least includes performing noise reduction processing on the image obtained by photographing, and the second photographing processing process does not include performing noise reduction processing on the image obtained by photographing.
[0100] It can be seen that when executing the second photo processing process, the first photo processing process is also processed in parallel, and because the duration of the second photo processing process is much shorter than the duration of the first photo processing process, the second instruction will be sent at least once within the time interval between two adjacent sending of the first instructions.
[0101] In the above embodiment, if the first image processing result is not received, the current ambient light is judged. If it will have a significant impact on the image quality, for example, if the current environment is dark, the second photo processing process is not triggered, and only the first photo processing process is executed. This avoids a significant impact on the image quality. In addition, in the related art, the terminal memory performs noise reduction processing based on multiple images at a time, which results in a large workload. In the disclosed embodiment, even if the first photo processing process and the second photo processing process are executed in parallel, no additional memory resources will be occupied. This improves the user experience and has high usability.
[0102] In some optional embodiments, the photo processing process in the related art is as follows: Figure 4A As shown, after the user clicks the photo button for the first time, the camera application will send a first instruction to the camera's underlying program, and the camera's underlying program will perform a first photo processing process based on the first instruction, including at least noise reduction processing, and return a first image processing result, i.e., YUV image data. At this point, the user can click the photo button for the second time to trigger a new first photo processing process.
[0103] By adopting the continuous photographing solution provided by the embodiment of the present disclosure, the photographing process is as follows. Figure 4B As shown, after the user clicks the photo button for the first time, the terminal sends a first instruction to the underlying program of the camera through the camera application, and the underlying program of the camera performs a first photo processing process, which at least includes noise reduction processing and then returns a first image processing result to the camera application.
[0104] When the camera's underlying program executes the first photo processing process, the user can click the photo button for the second time. At this time, the terminal sends the second instruction, and the camera's underlying program performs the second photo processing process, which does not include noise reduction processing, and returns the second image processing result to the camera application. At this time, the user can click the photo button for the third time. If the first image processing result is still not received at this time, the terminal still sends the second instruction to the camera's underlying program.
[0105] Before the user clicks the camera button for the fourth time, the first image processing result is received, and the terminal sends the first instruction to the underlying program of the camera again. And so on. The target time interval between two adjacent click operations is much shorter than Figure 4B The interval between two consecutive click operations in .
[0106] In the above embodiment, the purpose of executing the first photographing process and the second photographing process in parallel is achieved, the response efficiency of the terminal during continuous photographing is improved, and the user experience is enhanced.
[0107] Corresponding to the aforementioned application function implementation method embodiment, the present disclosure also provides an application function implementation device embodiment.
[0108] Reference Figure 5 , Figure 5 The following is a block diagram of a continuous photo taking device according to an exemplary embodiment. The device is applied to a terminal and includes:
[0109] A monitoring module 501 is used to determine whether a continuous click operation event for triggering continuous photo taking is monitored;
[0110] The parallel processing module 502 is used to execute a first photographing process and a second photographing process in parallel based on the continuous click operation event, wherein the duration of the first photographing process is longer than the duration of the second photographing process.
[0111] Optionally, the parallel processing module is further used for:
[0112] Based on the first click operation in the continuous click operation event, sending a first instruction, wherein the first instruction is used to instruct the bottom program of the camera to execute the first photographing process and return a first image processing result after the first photographing process is executed;
[0113] Before receiving the first image processing result, a second instruction is sent based on each second click operation in the continuous click operation event, and the second instruction is used to instruct the underlying program of the camera to execute the second photo processing process and return the second image processing result after the second photo processing process is completed.
[0114] Optionally, the first click operation includes any one of the following:
[0115] The first click operation in the continuous click operation events; or
[0116] A click operation newly triggered after receiving the first image processing result in the continuous click operation event;
[0117] The second click operation is a click operation located between two adjacent first click operations in the continuous click operation event.
[0118] Optionally, the device further comprises:
[0119] A determination module is used to determine whether a specified condition for executing the first photographing process and the second photographing process in parallel is met.
[0120] Optionally, the determining module is further used for:
[0121] Get the camera's sensitivity;
[0122] In response to determining that the sensitivity is greater than or equal to a preset sensitivity, it is determined that the specified condition is satisfied.
[0123] Optionally, the device further comprises:
[0124] An execution module is used for, in response to determining that the specified condition is not met, always executing the first photo processing process based on the continuous click operation event.
[0125] Optionally, the first photographing processing process at least includes performing noise reduction processing on the image obtained by photographing, and the second photographing processing process does not include performing noise reduction processing on the image obtained by photographing.
[0126] Optionally, the interval between two adjacent click operations in the continuous click operation event is at least a target duration;
[0127] The target duration is a default value, or the target duration is the duration of executing the second photo-taking process once.
[0128] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can refer to the partial description of the method embodiments. The device embodiments described above are only schematic, wherein the units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution. A person of ordinary skill in the art may understand and implement it without creative work.
[0129] Accordingly, the present disclosure also provides a computer-readable storage medium for storing a computer program, wherein the computer program is used to implement the steps of any of the above-mentioned continuous photographing methods when executed by a processor.
[0130] Accordingly, the present disclosure also provides a continuous photographing device, comprising:
[0131] processor;
[0132] a memory for storing processor-executable instructions;
[0133] Wherein, the processor is configured to execute the executable instructions to implement the steps of any of the above-mentioned continuous photographing methods.
[0134] Figure 66 is a block diagram of a device for continuous photography according to an exemplary embodiment. For example, the device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
[0135] Reference Figure 6 , the device 600 may include one or more of the following components: a processing component 602 , a memory 604 , a power component 606 , a multimedia component 608 , an audio component 610 , an input / output (I / O) interface 612 , a sensor component 614 , and a communication component 616 .
[0136] The processing component 602 generally controls the overall operation of the device 600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.
[0137] One of the processors 620 in the processing component 602 may be configured to execute the above-mentioned continuous photographing method.
[0138] The memory 604 is configured to store various types of data to support operations on the device 600. Examples of such data include instructions for any application or method operating on the device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0139] The power supply component 606 provides power to the various components of the device 600. The power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 600.
[0140] The multimedia component 608 includes a screen that provides an output interface between the device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0141] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), and when the device 600 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 604 or sent via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.
[0142] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0143] The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the device 600. For example, the sensor assembly 614 can detect the open / closed state of the device 600, the relative positioning of components, such as the display and keypad of the device 600, and the sensor assembly 614 can also detect the position change of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, the orientation or acceleration / deceleration of the device 600, and the temperature change of the device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 614 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0144] The communication component 616 is configured to facilitate wired or wireless communication between the device 600 and other devices. The device 600 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0145] In an exemplary embodiment, the apparatus 600 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.
[0146] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the instructions can be executed by the processor 620 of the device 600 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0147] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. The terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprises a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0148] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0149] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for continuous photographing, It is characterized in that The method is applied to a terminal, and the method includes: Determine that a continuous click operation event for triggering continuous photography is monitored; Based on the continuous click operation event, the first photographing process and the second photographing process are executed in parallel, and two adjacent first photographing processes are executed in series, the duration of the first photographing process is greater than the duration of the second photographing process, the second photographing process may also be a photographing process located between two adjacent first photographing processes, the first photographing process is triggered by a first click operation, and the first click operation that triggers the second first photographing process in the two adjacent first photographing processes is a click operation newly triggered after the first image processing result is returned after the first first photographing process is executed, and the second photographing process is triggered by a click operation between the two adjacent first click operations; The first photographing processing process at least includes performing noise reduction processing on the image obtained by photographing, and the second photographing processing process does not include performing noise reduction processing on the image obtained by photographing.
2. The method according to claim 1, It is characterized in that Based on the continuous click operation event, executing the first photo processing process and the second photo processing process in parallel includes: Based on the first click operation in the continuous click operation event, sending a first instruction, wherein the first instruction is used to instruct the bottom program of the camera to execute the first photographing process and return a first image processing result after the first photographing process is executed; Before receiving the first image processing result, a second instruction is sent based on each second click operation in the continuous click operation event, and the second instruction is used to instruct the underlying program of the camera to execute the second photo processing process and return the second image processing result after the second photo processing process is completed.
3. The method according to claim 2, It is characterized in that The first click operation includes any one of the following: The first click operation in the continuous click operation events; or A click operation newly triggered after receiving the first image processing result in the continuous click operation event; The second click operation is a click operation located between two adjacent first click operations in the continuous click operation event.
4. The method according to claim 1, It is characterized in that Before executing the first photographing process and the second photographing process in parallel based on the continuous click operation event, the method further includes: Determine whether a specified condition for executing the first photographing process and the second photographing process in parallel is met.
5. The method according to claim 4, It is characterized in that The determining that a specified condition for executing the first photographing process and the second photographing process in parallel is satisfied includes: Get the camera's sensitivity; In response to determining that the sensitivity is greater than or equal to a preset sensitivity, it is determined that the specified condition is satisfied.
6. The method according to claim 4, It is characterized in that The method further comprises: In response to determining that the specified condition is not met, the first photographing process is always executed based on the continuous click operation event.
7. The method according to any one of claims 1 to 6, It is characterized in that The interval between two adjacent click operations in the continuous click operation event is at least the target duration; The target duration is a default value, or the target duration is the duration of executing the second photo-taking process once.
8. A continuous photographing device, It is characterized in that The device is applied to a terminal, and the device includes: A monitoring module, used to determine whether a continuous click operation event for triggering continuous photography is monitored; A parallel processing module is used to execute a first photographing process and a second photographing process in parallel based on the continuous click operation event, and to execute two adjacent first photographing processes in series, wherein the duration of the first photographing process is greater than the duration of the second photographing process, and the second photographing process may also be a photographing process located between two adjacent first photographing processes, the first photographing process is triggered by a first click operation, and the first click operation that triggers the second first photographing process in the two adjacent first photographing processes is a click operation newly triggered after the first image processing result returned after the first first photographing process is executed, and the second photographing process is triggered by a click operation between two adjacent first click operations; the first photographing process at least includes performing noise reduction processing on the image obtained by photographing, and the second photographing process does not include performing noise reduction processing on the image obtained by photographing.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the continuous photographing method described in any one of claims 1 to 7 are implemented.
10. A continuous photographing device, It is characterized in that include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the executable instructions to implement the steps of the continuous photographing method according to any one of claims 1 to 7.
