Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," "third," "fourth," "actual," "preset," and the like in the description and the claims of the present application and in the above figures 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 where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1 is a flowchart of a method for switching an operation mode of an image collector according to an embodiment of the present application, where the embodiment of the present application is applicable to a case of switching an operation mode of an image collector. Typically, the embodiment of the application can be applied to the situation that whether to exit the full-time video mode or not is determined through image detection when the image collector is in the full-time video mode with low power consumption. The method may be performed by an image collector operating mode switching device, which may be implemented in hardware and/or software, and which may be configured in an electronic device. As shown in fig. 1, the method includes:
S110, detecting the acquired image based on a priority detection mode under the condition that the image acquisition device is in a full-time video recording mode, wherein the priority detection mode is a mode for detecting based on a target detection mode in a preset detection mode preferentially. The full-time video recording mode is a low-power consumption mode in which only part of functions are started.
The full-time video recording mode in the embodiment of the application is a low-power-consumption full-time video recording mode, namely a mode of continuously performing image acquisition in the whole course according to a lower frame rate, and the frame rate is reduced to 1 frame/second in the mode assuming that the normal frame rate is 15 frames/second. And only partial functions, such as only functions of image acquisition and image detection, and not networking, storage, live interaction and the like, are started. The priority detection mode may be a mode set in advance by a user. According to the setting of a user, selecting a target detection mode from preset detection modes, detecting the acquired image based on the target detection mode preferentially, and determining whether to detect the acquired image based on other preset detection modes according to the detection result. The acquired image is the latest image acquired by the image acquisition device according to the frame rate in real time, is the updated image and is not a fixed image. Each detection process is performed based on the latest image acquired by the image acquirer. The preset detection mode can be set according to the requirements of the user, and can comprise motion detection, target recognition, action detection, gesture detection, stay time detection and the like, and is determined according to the features focused by the user. For example, if the user's requirement is to exit the full-time video recording mode when detecting a specific target motion in the captured image, the preset detection mode includes motion detection and target recognition. If the user's requirement is that the action of the specific target in the acquired image is detected to contain the specific action and the stay time length reaches a certain time length, the full-time video recording mode is exited, and the preset detection mode comprises target identification, action detection and stay time length detection. The number of the preset detection modes is not limited, and can be determined according to actual conditions.
In the embodiment of the application, if the image collector is in the full-time video recording mode, the collected image is detected based on the priority detection mode. The detection process may be performed once for every acquisition of an image by the image acquisition unit. The detection process includes detection based on a target detection mode or detection based on other preset detection modes. The priority detection mode is not fixed, and the priority detection mode can be adjusted newly according to the detection result. For example, the preset detection method a is set as the target detection method in the current detection period, detection is preferentially performed based on a as the priority detection mode of a, the preset detection method B is set as the target detection method in the next detection period, detection is preferentially performed based on B as the priority detection mode of B. The switching process of the priority detection mode can be switched according to the actual detection result, so that each preset detection mode can be used as a target detection mode, namely, the detection mode adopted preferentially detects the acquired image. In the process of detecting the collected image based on the priority detection mode, the collected image is preferentially detected based on the target detection mode, but other preset detection modes are not completely adopted, and whether the collected image is continuously detected by adopting other preset detection modes or not can be determined according to the detection result of the detection based on the target detection mode.
For example, in order to ensure the accuracy of detection, frequent switching of the working mode is avoided, the working mode can be switched under the condition that the detection results detected based on each preset detection mode meet the requirements, in this case, the collected image can be continuously detected by adopting other preset detection modes under the condition that the detection results detected based on the target detection mode at the previous time meet the requirements, otherwise, the requirement that the working mode is not switched currently can be determined without adopting other preset detection modes to continuously detect.
S120, if detection results of detecting the acquired images based on each preset detection mode in the priority detection mode are preset results corresponding to the preset detection modes, the image acquisition device is caused to exit the full-time video recording mode and enter the preset image acquisition mode, wherein the power consumption of the preset image acquisition mode is larger than that of the full-time video recording mode.
The preset result may correspond to a preset detection mode, and may be preset by the user according to an actual application scenario. For example, the preset detection mode is motion detection, the preset result may be motion presence, the preset detection mode is target recognition, the preset result is target presence, the preset detection mode is motion detection, and the preset result is specific motion presence. The preset result corresponding to the preset detection mode can be determined according to the adaptability of the actual application scene. For example, in a target intrusion detection scenario, the preset mode is motion detection, and the preset result is that motion exists. In the scene of the old man action detection, the preset mode is motion detection, and the preset result can be that no motion exists, namely, the detection characteristic that the old man does not act is important attention.
In the prior art, there is an implementation manner of motion detection by using an external infrared sensor (PIR) as a trigger condition for waking up an image collector from sleep, but after full-time video (AOV) application, since an image of 1 frame per second can be saved, an implementation manner of motion detection by using the inter-frame difference of the image appears in the field, so that the hardware cost of the infrared sensor is saved. In the embodiment of the application, the power consumption of single detection in different detection modes can be the same or different, for example, motion detection and human shape detection, and the power consumption of single motion detection can be lower than human shape detection or higher than or equal to human shape detection due to the difference of detection precision and algorithm mode. The initial priority detection mode can be set according to the detection power consumption, or the sequence and/or combination of the detection modes can be selected, or a false detection threshold value for reasonably switching the target detection modes can be set. The false detection threshold corresponding to the detection mode may be inversely related to the power consumption of the detection mode. That is, the higher the power consumption of the detection mode, the smaller the set false detection threshold, and the lower the power consumption, the larger the set false detection threshold. The false detection threshold has the function that if the false detection times reach the false detection threshold corresponding to the first detection mode in the detection process of the first detection mode, the detection is carried out by switching the detection mode of the second detection mode, and vice versa.
For example, in one possible scheme, the power consumption of single motion detection is 2W, and the power consumption of human shape detection is 4W, the initial preferential detection mode is that motion detection is firstly performed, human shape detection is performed again if motion exists, if motion detection is misdetected for 10 times within a certain time, the detection mode is switched to advanced human shape detection, and motion detection is performed again if human shape exists. When the detection mode is switched to the advanced human shape detection, if human shape detection is performed again, the human shape detection can be switched to the advanced motion detection after 3 false detection in a certain time due to higher power consumption of human shape detection, and if the human shape detection is performed again after the motion exists, the power consumption is saved adaptively, the processes of human shape detection and false detection are avoided excessively, the power consumption is consumed, and the detection accuracy is affected.
In the embodiment of the application, each preset detection mode includes a target detection mode and other preset detection modes except the target detection mode. For example, under the condition that the detection result of detecting the collected image based on the target detection mode is the preset result corresponding to the target detection mode preferentially, continuing to detect the collected image based on other preset detection modes, if the detection results of continuing to detect the collected image based on other preset detection modes are all preset results corresponding to other preset detection modes, determining that the current collected image meets the condition of triggering the working mode switching set by the user, and enabling the image collector to exit the full-time video recording mode and enter the preset image collection mode. The power consumption of the preset image acquisition mode is larger than that of the full-time video recording mode. The preset image acquisition mode can be a normal working mode of 15 frames per second, or other working modes with resolution and frame rate higher than those of a full-time video recording mode, or a high-power consumption mode with other functions such as face recognition, image anti-shake, storage, networking, application live interaction and the like started.
According to the scheme provided by the embodiment of the application, the acquired images can be detected orderly based on each preset detection mode in the priority detection mode, and the detection is synchronously performed based on each preset detection mode no matter whether the detection result meets the requirement or not, so that the power consumption is reduced, and the requirement of a low-power-consumption full-time video recording mode is met. When detection results of detecting the collected images based on all preset detection modes are preset results corresponding to the preset detection modes, trigger conditions meeting the switching of the working modes are determined, and the full-time video recording mode is exited, so that the characteristics in the collected images are comprehensively evaluated in multiple aspects, the collected images are accurately detected in multiple aspects, false triggering caused by triggering exiting the full-time video recording mode when the single detection result meets the requirements is avoided, the working modes are frequently switched, the stability of the working modes of the image collector is affected, and power consumption is increased.
And S130, if not, enabling the image collector to be in a full-time video recording mode continuously.
If the preset detection mode exists, if the detection result of detecting the collected image based on the preset detection mode does not meet the preset result corresponding to the preset detection mode, it is determined that the collected image does not meet the condition of triggering to exit the full-time video recording mode, and the image collector is enabled to be in the full-time video recording mode continuously.
According to the technical scheme, when the image collector is in a full-time video recording mode, the collected images are detected based on a priority detection mode, wherein the priority detection mode is a mode for detecting the images based on a target detection mode in preset detection modes, the full-time video recording mode is a low-power consumption mode for only starting part of functions, if detection results of detecting the collected images based on all the preset detection modes in the priority detection mode are preset results corresponding to the preset detection modes, the image collector is made to exit the full-time video recording mode and enter the preset image collection mode, the power consumption of the preset image collection mode is larger than that of the full-time video recording mode, and otherwise, the image collector is made to continue to be in the full-time video recording mode. According to the scheme, the collected images can be orderly detected based on the preset detection mode according to the priority detection mode, so that the power consumption is effectively reduced, the low power consumption requirement of the full-time video recording mode is met, the full-time video recording mode is exited under the condition that the detection results are all preset results, the condition of pictures in the collected images is more accurately identified, and false triggering of working mode switching is avoided.
Fig. 2 is a flowchart of a method for switching an operation mode of an image capturing device according to another embodiment of the present application, where the method is optimized based on the above embodiment, and a scheme not described in detail in the embodiment of the present application is as follows. As shown in fig. 2, the method in the embodiment of the present application specifically includes the following steps:
S210, under the condition that the image collector is in a full-time video recording mode, detecting the collected image based on a target detection mode in a priority detection mode.
Illustratively, in the priority detection mode, the captured image is detected based on the target detection mode. For example, assuming that the preset detection mode includes motion detection and object recognition, the object detection mode is motion detection, and the priority detection mode is to perform motion detection on the acquired image preferentially.
S220, if the detection result of detecting the acquired image based on the target detection mode is a preset result corresponding to the target detection mode, detecting the acquired image based on other preset detection modes except the target detection mode.
Exemplary, the specific implementation flowchart is shown in fig. 3, if the detection result of detecting the collected image based on the target detection mode is a preset result corresponding to the target detection mode, detecting the collected image based on other preset detection modes except the target detection mode, and if the detected detection result is not the preset result corresponding to the target detection mode, detecting the collected image based on other preset detection modes is not needed. Specifically, if the detection result of the motion detection on the collected image is that motion exists, detecting the collected image based on other preset detection modes except the target detection mode to determine whether the characteristics in the collected image meet other conditions for triggering to exit the full-time video recording mode. If the detection result of the motion detection on the acquired image is that no motion exists, the condition of whether the motion exists is not satisfied, and other detection processes are not needed to be executed based on other preset detection modes, so that unnecessary power consumption is avoided.
In the embodiment of the present application, detecting the acquired image based on other preset detection modes includes:
Starting from one other preset detection mode according to a first preset sequence, and detecting the acquired images based on the other preset detection modes;
and if the detected detection result is a preset result corresponding to the other preset detection modes, switching the next other preset detection modes.
The first preset sequence may be determined according to actual situations, and may be a sequence preset by a user. For example, for other preset detection modes, the first preset sequence may be set as target recognition and duration detection. Starting from a first other preset detection mode according to a first preset sequence, and detecting the acquired images based on the other preset detection modes. And if the detected detection result is a preset result corresponding to the other preset detection modes, switching the next other preset detection modes. Specifically, taking the first preset sequence as an example, firstly performing object recognition on the collected images, and if the detected result is that the object exists, detecting the duration of the motion of the collected images.
The scheme can sequentially detect according to the first preset sequence based on each preset detection mode, namely sequentially detect according to the attention degree of the user to the features, can comprehensively detect the acquired images, and accurately judge whether the condition of exiting the full-time video recording mode is met or not. And energy consumption can be saved, and unnecessary power consumption is avoided from being increased when all the detection is executed in parallel and the triggering condition is not met.
In an embodiment of the present application, the method further includes:
If the detection results detected by other preset detection modes are not the preset results corresponding to the other preset detection modes, continuing to detect the acquired image based on the target detection mode.
In the process of switching detection of other preset detection modes, if the detection structure detected by the other preset detection modes is not the preset result corresponding to the other preset detection modes, the trigger condition for exiting the full-time video recording is not satisfied, so that the detection of the acquired image by the other preset detection modes is not continued, and unnecessary power consumption is avoided. And continuing to detect the acquired image based on the target detection mode, namely re-detecting from the beginning, and judging whether the detection results detected by all the preset detection modes are preset results corresponding to the preset detection modes.
S230, if detection results of detecting the acquired images based on each preset detection mode in the priority detection mode are preset results corresponding to the preset detection modes, the image acquisition device is caused to exit the full-time video recording mode and enter the preset image acquisition mode, wherein the power consumption of the preset image acquisition mode is larger than that of the full-time video recording mode.
In the embodiment of the present application, if the detection results of detecting the acquired image based on each preset detection mode in the priority detection mode are all preset results corresponding to the preset detection modes, the method causes the image collector to exit from the full-time video recording mode, including:
If the detection result of the last other preset detection mode for detecting the acquired image is the preset result corresponding to the last other preset detection mode, the image collector is caused to exit the full-time video recording mode.
For example, if the first preset sequence is switched to the last other preset detection mode and the detection result of the last other preset detection mode for detecting the acquired image is the preset result corresponding to the last other preset detection mode, the detection results of all the preset detection modes are all preset results corresponding to the preset detection modes, and the image collector is caused to exit the full-time video recording mode. It should be noted that, the premise of switching other preset detection modes is that detection results detected by other preset detection modes in the front sequence are all preset results corresponding to the other preset detection modes.
For example, according to a first preset sequence, motion detection is performed on the collected images, if the detected detection result is that motion exists, object identification is performed on the collected images, and if the detected detection result is that object exists, duration detection is performed on the collected images. If the detection result is that the duration time meets a certain time, all detection results are determined to be preset results, the image collector is led to exit the full-time video recording mode and enter the preset image collection mode.
In the embodiment of the present application, if the detection results of detecting the acquired image based on each preset detection mode in the priority detection mode are not all preset results corresponding to the preset detection modes, S250 is executed.
S240, if the detection result of detecting the collected image based on the target detection mode is not the preset result corresponding to the target detection mode, detecting the collected image based on the target detection mode only.
For example, if the detection result of detecting the collected image based on the target detection mode is not the preset result corresponding to the target detection mode, even if the detection result detected by other preset detection modes is the preset result corresponding to other preset detection modes, the condition of exiting the full-time video recording mode is not satisfied, so that the detection is performed without adopting other preset detection modes to save power consumption, and the collected image is detected only based on the target detection mode.
In an embodiment of the present application, detecting the acquired image based on a target detection mode includes:
And if the detection results obtained by detecting the acquired image based on the target detection mode are all preset results corresponding to the target detection mode, and the times reach a first preset times, or the continuous detection results are not preset results corresponding to the target detection mode, and the times reach a second preset times, reselecting the target detection mode from the preset detection modes and switching the priority detection mode to detect the acquired image.
If the detection results obtained by detecting the acquired image based on the target detection mode are all preset results corresponding to the target detection mode, the times reach the first preset times, the detection results of other preset detection modes do not meet the requirement, or the continuous detection results are not preset results corresponding to the target detection mode, the times reach the second preset times, the detection results of the target detection mode are false detection, false triggering or other influencing actions, the feature that the user really pays attention to and can trigger to exit from the full-time video recording is not shown, the target detection mode is detected to reach the false detection threshold in a period of time, the target detection mode is not used as the preferential detection mode any more, the target detection mode is reselected from the preset detection modes, the preferential detection mode is switched, the acquired image is preferentially detected based on the reselected target detection mode, and the process in the embodiment is re-executed. The first preset number of times and the second preset number of times may be determined according to practical situations, for example, the first preset number of times is 10, and the second preset number of times is 5.
It should be noted that, if the detection result obtained by detecting the collected image based on the target detection mode is the preset result corresponding to the target detection mode, the collected image needs to be detected based on other preset detection modes except the target detection mode according to the description of S220, if the detection result of the other preset detection modes is not the preset result corresponding to the other preset detection modes, the collected image is detected again based on the target detection mode, and at this time, the detection result still may be the preset result corresponding to the target detection mode, in this case, the times that the detection results are all the preset results corresponding to the target detection mode need to be accumulated, and at this time, each detection result may not be continuous. If the detection result obtained by detecting the collected image based on the target detection mode is not the preset result corresponding to the target detection mode, the collected image is detected based on the target detection mode only, so that the number of times that the continuous detection result is not the preset result corresponding to the target detection mode is required to be counted under the condition. If the detection result obtained by detecting the acquired image based on the target detection mode is not the preset result corresponding to the target detection mode and is regarded as 'non-triggering', the method has the beneficial effect that the non-triggering of single detection is avoided to be accidental false detection, and the detection accuracy is improved through repeated verification. In addition, when the number of times of non-triggering reaches the second preset number of times, the logic of the scheme is to detect based on other detection modes when the detection result based on the target detection mode is the corresponding preset result, and if the detection result is consistent and not yet switched, the step of detecting based on other detection modes can not be executed forever, and at this time, the detection result based on other detection modes may be triggered, so that the priority detection mode needs to be switched to detect based on other detection modes preferentially, and the dead cycle is avoided.
For example, assuming that in the priority detection mode, the target detection mode is motion detection, if the detection result of the motion detection is a corresponding preset result, that is, there is motion, and the number of times the detection result is detected reaches 10 times, or if the detection result of the motion detection is not a corresponding preset result, that is, there is no motion, and the number of times the detection result is detected reaches 5 times, the target recognition is taken as the target detection mode, and the priority detection mode is switched, that is, the collected image is preferentially detected based on the target recognition.
In the embodiment of the present application, reselecting a target detection mode from preset detection modes and switching a priority detection mode to detect the acquired image includes:
re-selecting a target detection mode from the pre-set detection modes which are not selected according to a second pre-set sequence, and switching a priority detection mode to detect the acquired image until all the pre-set detection modes are selected as the target detection mode;
and continuing to start the first preset detection mode as a target detection mode according to a second preset sequence, and detecting the acquired image based on a priority detection mode.
The second preset sequence may be determined according to actual situations, and the first preset sequence and the second preset sequence may be the same or different. Assuming that the second preset sequence is motion detection and target recognition, if motion detection is used as a target detection mode, after detection is performed in a priority detection mode, detection results meet preset results corresponding to the target detection mode, and the times reach the first preset times, or continuous detection results are not preset results corresponding to the target detection mode, and the times reach the second preset times, the target recognition is used as the target detection mode, the priority detection mode is switched, the collected image is detected based on the target recognition preferentially, and the execution process in the priority detection mode is the same as that of the embodiment. If the detection results of detecting the collected images based on the target recognition still meet the preset results corresponding to the target detection mode, the times reach the first preset times, or the continuous detection results are not the preset results corresponding to the target detection mode, and the times reach the second preset times, the motion detection is used as the target detection mode, the priority detection mode is switched, and the collected images are detected based on the motion detection preferentially.
S250, enabling the image collector to be in a full-time video recording mode continuously.
The embodiment of the application provides a working mode switching method of an image collector, which is characterized in that under the condition that the image collector is in a full-time video mode, an acquisition image is detected in a priority detection mode based on a target detection mode, if the detection result of the acquisition image detected based on the target detection mode is a preset result corresponding to the target detection mode, the acquisition image is detected based on other preset detection modes except the target detection mode, and if the detection results of the acquisition image detected based on all preset detection modes in the priority detection mode are all preset results corresponding to the preset detection mode, the image collector is led to exit the full-time video mode and enter the preset image acquisition mode, multiple detection is realized, and the problem that the power consumption is influenced due to misjudgment caused by frequent exit from the full-time video mode when only a single aspect detects a meeting condition is avoided. If the detection result of detecting the acquired image based on the target detection mode is not the preset result corresponding to the target detection mode, detecting the acquired image based on the target detection mode only, so that the image collector is continuously in a full-time video recording mode, repeated verification is realized for a plurality of times, and the accuracy of the mode switching time is prevented from being influenced by single false triggering.
Fig. 4 is a schematic structural diagram of an operation mode switching device of an image collector according to an embodiment of the present application, where the device may execute the operation mode switching method of the image collector according to any embodiment of the present application, and the device has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 4, the apparatus includes:
The detection module 310 is configured to detect an acquired image based on a priority detection mode when the image acquisition device is in a full-time video recording mode, where the priority detection mode is a mode that performs detection based on a target detection mode in a preset detection mode preferentially;
a mode exit module 320, configured to, if detection results of detecting the acquired image based on each preset detection mode in the priority detection mode are all preset results corresponding to the preset detection modes, cause the image collector to exit the full-time video recording mode and enter a preset image acquisition mode, where power consumption of the preset image acquisition mode is greater than that of the full-time video recording mode;
and a mode maintaining module 330, configured to, if not, enable the image collector to continue in the full-time video recording mode.
In an embodiment of the present application, the detecting module 310 detects the acquired image based on the priority detection mode includes:
If the detection result of detecting the acquired image based on the target detection mode is a preset result corresponding to the target detection mode, detecting the acquired image based on other preset detection modes except the target detection mode;
And if the detection result of detecting the acquired image based on the target detection mode is not the preset result corresponding to the target detection mode, detecting the acquired image based on the target detection mode only.
In the embodiment of the present application, the detection module 310 detects the acquired image based on other preset detection modes, including:
Starting from one other preset detection mode according to a first preset sequence, and detecting the acquired images based on the other preset detection modes;
If the detected detection result is a preset result corresponding to the other preset detection modes, switching the next other preset detection modes;
correspondingly, if the detection results of detecting the acquired image based on each preset detection mode in the priority detection mode are all preset results corresponding to the preset detection modes, the image acquisition device is caused to exit the full-time video recording mode, including:
If the first preset sequence is switched to the last other preset detection mode and the detection result of the last other preset detection mode for detecting the acquired image is the preset result corresponding to the last other preset detection mode, the image collector is caused to exit the full-time video recording mode.
In the embodiment of the present application, the detection module 310 is specifically configured to:
If the detection results detected by other preset detection modes are not the preset results corresponding to the other preset detection modes, continuing to detect the acquired image based on the target detection mode.
In the embodiment of the present application, the detection module 310 detects the acquired image based on the target detection mode, including:
And if the detection results obtained by detecting the acquired image based on the target detection mode are all preset results corresponding to the target detection mode, and the times reach a first preset times, or the continuous detection results are not preset results corresponding to the target detection mode, and the times reach a second preset times, reselecting the target detection mode from the preset detection modes and switching the priority detection mode to detect the acquired image.
In the embodiment of the present application, the detecting module 310 reselects the target detecting mode from the preset detecting modes and switches the priority detecting mode to detect the acquired image, including:
re-selecting a target detection mode from the pre-set detection modes which are not selected according to a second pre-set sequence, and switching a priority detection mode to detect the acquired image until all the pre-set detection modes are selected as the target detection mode;
and continuing to start the first preset detection mode as a target detection mode according to a second preset sequence, and detecting the acquired image based on a priority detection mode.
In the embodiment of the application, the preset detection mode is determined according to the feature focused by the user, and the acquired image is the latest image acquired by the image acquisition device in real time.
The working mode switching device of the image collector provided by the embodiment of the application can execute the working mode switching method of the image collector provided by any embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 5 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the applications described and/or claimed herein.
As shown in fig. 5, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., connected to the at least one processor 11 for data processing, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
The various components in the electronic device 10 are connected to an I/O interface 15, including an input unit 16, such as a keyboard, mouse, etc., an output unit 17, such as various types of displays, speakers, etc., a storage unit 18, such as a magnetic disk, optical disk, etc., and a data processing unit 19, such as a network card, modem, wireless data processing transceiver, etc. The data processing unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the respective methods and processes described above, for example, the operation mode switching method of the image pickup.
In some embodiments, the method of operating mode switching of an image acquisition device may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the data processing unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the above-described operation mode switching method of the image pickup may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the method of operating mode switching of the image collector by any other suitable means (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be a special or general purpose programmable processor, operable to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of an operating mode switching device of a general purpose computer, special purpose computer, or other programmable image acquisition apparatus, such that the computer programs, when executed by the processor, cause the functions/operations specified in the flowchart and/or block diagram to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present application, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user, for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback), and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system may be interconnected by any form or medium of digital data processing (e.g., a data processing network). Examples of data processing networks include Local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a data processing network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present application may be executed in parallel, sequentially, or in a different order, so long as the information desired by the technical solution of the present application can be achieved, and the present application is not limited herein.
The above embodiments do not limit the scope of the present application. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the scope of the present application.