Camera steady-state control method and device, camera control device and readable storage medium
By fitting the temperature data of the depth camera at different ambient temperatures and adjusting the frame rate and exposure time of the depth camera, the problem of poor temperature stability when operating at different ambient temperatures is solved, and the temperature correction efficiency and image quality are improved.
Patent Information
- Application Number
- CN202211073033.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-02
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2042-09-02
AI Technical Summary
When the depth camera is running under different ambient temperature conditions, it needs to wait for a long time to enter a temperature stable state, resulting in poor accuracy of the acquired depth image, affecting the efficiency of temperature correction operation.
By obtaining the camera temperature data of the target camera at the target ambient temperature, fitting the temperature change curve, adjusting the frame rate and exposure time, real-time detection of the temperature, adjusting the frame rate and exposure time to speed up the temperature stability process, ensuring that the camera is under different ambient temperatures Quickly enter a stable temperature state.
The camera steady-state waiting time is reduced, and the temperature correction efficiency of the depth camera is improved, so that high-quality depth images can be quickly obtained at different ambient temperatures.
Smart Images

Figure CN115442537B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of optoelectronic technology, and in particular to a camera steady-state control method and apparatus, a camera control device, and a readable storage medium. Background Art
[0002] With the continuous development of science and technology, in some optical application scenarios (for example, 3D modeling, dimension measurement, etc.), it is often necessary to use depth cameras to obtain high-precision depth images. However, since depth cameras are composed of components such as laser light sources, optical components, and image sensors, they will inevitably be affected by their own equipment temperature and ambient temperature, resulting in unstable optical component performance. The quality of the depth images captured is poor, which seriously affects the accuracy of the depth camera. Therefore, in the actual use of depth cameras, it is usually necessary to perform temperature correction on the depth camera to compensate for the image error caused by temperature.
[0003] When the depth camera is running under different ambient temperature conditions, it usually takes a long time to enter a temperature stable state. The depth images obtained by the depth camera during the period of waiting for the temperature to stabilize are of poor accuracy, low image stability and low image value. Usually, only the depth images obtained after waiting for the temperature to stabilize are worthy of being used for temperature correction processing. Therefore, for the temperature correction operation, how to quickly obtain the depth images of the depth camera when it is running stably under different ambient temperature conditions is an important factor affecting the efficiency of the implementation of the temperature correction operation. Summary of the invention
[0004] In view of this, the purpose of the present application is to provide a camera steady-state control method and apparatus, a camera control device and a readable storage medium, which can enable a depth camera to quickly enter a temperature stable state under different ambient temperatures and improve the temperature correction efficiency of the depth camera.
[0005] In order to achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0006] In a first aspect, the present application provides a camera steady-state control method, the control method comprising:
[0007] Obtain camera temperature data of a target camera during a preset time period when the target camera is initially operated at a target ambient temperature, according to a target frame rate and a target exposure time;
[0008] Performing temperature change curve fitting on the camera temperature data within the preset time period to obtain the target camera steady-state temperature and temperature change trend under the target ambient temperature;
[0009] Adjusting the current actual frame rate and / or actual exposure time of the target camera according to the temperature change trend, and detecting the actual camera temperature of the target camera in real time;
[0010] When it is detected that the actual camera temperature is close to the target camera steady-state temperature, the actual frame rate is adjusted according to the target frame rate, and the actual exposure time is adjusted according to the target exposure time.
[0011] In an optional implementation, the temperature change trend includes a temperature rising trend and a temperature falling trend, and the step of adjusting the current actual frame rate and / or actual exposure time of the target camera according to the temperature change trend includes:
[0012] If the temperature change trend is a temperature rising trend, increasing the current actual frame rate and / or actual exposure time of the target camera;
[0013] If the temperature change trend is a temperature decreasing trend, the current actual frame rate and / or actual exposure time of the target camera is lowered.
[0014] In an optional implementation, the step of increasing the current actual frame rate of the target camera includes:
[0015] Within a preset frame rate range allowed when the target camera operates normally at a target ambient temperature, screening out at least one first frame rate to be switched that is greater than the target frame rate;
[0016] A first frame rate to be switched is randomly selected from the at least one first frame rate to be switched as the current actual frame rate of the target camera, or a first frame rate to be switched with the largest value is directly selected from the at least one first frame rate to be switched as the current actual frame rate of the target camera.
[0017] In an optional implementation, the step of increasing the current actual exposure time of the target camera includes:
[0018] Within a preset exposure time range allowed when the target camera operates normally at a target ambient temperature, screening out at least one first exposure time to be switched that is greater than the target exposure time;
[0019] A first exposure time to be switched is randomly selected from the at least one first exposure time to be switched as the current actual exposure time of the target camera, or the first exposure time to be switched with the largest value is directly selected from the at least one first exposure time to be switched as the current actual exposure time of the target camera.
[0020] In an optional implementation, the step of lowering the current actual frame rate of the target camera includes:
[0021] Within a preset frame rate range allowed when the target camera operates normally at a target ambient temperature, screening out at least one second frame rate to be switched that is less than the target frame rate;
[0022] A second frame rate to be switched is randomly selected from the at least one second frame rate to be switched as the current actual frame rate of the target camera, or the second frame rate to be switched with the smallest value is directly selected from the at least one second frame rate to be switched as the current actual frame rate of the target camera.
[0023] In an optional implementation, the step of lowering the current actual exposure time of the target camera includes:
[0024] Within a preset exposure time range allowed when the target camera operates normally at a target ambient temperature, screening out at least one second exposure time to be switched that is shorter than the target exposure time;
[0025] A second exposure time to be switched is randomly selected from the at least one second exposure time to be switched as the current actual exposure time of the target camera, or the second exposure time to be switched with the smallest value is directly selected from the at least one second exposure time to be switched as the current actual exposure time of the target camera.
[0026] In a second aspect, the present application provides a camera stabilization control device, the control device comprising:
[0027] A temperature data acquisition module is used to acquire the camera temperature data of the target camera during the initial operation of the target camera at the target ambient temperature according to the target frame rate and the target exposure time within a preset time period;
[0028] A temperature data fitting module is used to perform temperature change curve fitting on the camera temperature data within the preset time period to obtain a target camera steady-state temperature and a temperature change trend at a target ambient temperature;
[0029] A camera parameter adjustment module, used to adjust the current actual frame rate and / or actual exposure time of the target camera according to the temperature change trend, and detect the actual camera temperature of the target camera in real time;
[0030] The camera steady-state adjustment module is used to adjust the actual frame rate according to the target frame rate and adjust the actual exposure time according to the target exposure time when it is detected that the actual camera temperature changes to the target camera steady-state temperature.
[0031] In an optional implementation, the temperature change trend includes a temperature rising trend and a temperature falling trend, and the camera parameter adjustment module includes:
[0032] A parameter increasing submodule, used for increasing the current actual frame rate and / or actual exposure time of the target camera when the temperature change trend is a temperature rising trend;
[0033] The parameter lowering submodule is used to lower the current actual frame rate and / or actual exposure time of the target camera when the temperature change trend is a temperature decreasing trend.
[0034] In a third aspect, the present application provides a camera control device, comprising a processor and a memory, wherein the memory stores a computer program that can be executed by the processor, and the processor can execute the computer program to implement the camera steady-state control method described in any one of the aforementioned embodiments.
[0035] In a fourth aspect, the present application provides a readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the camera steadiness control method described in any one of the aforementioned embodiments is implemented.
[0036] In this case, the beneficial effects of the embodiments of the present application include the following:
[0037] The present application obtains the camera temperature data of the target camera during the initial operation of a preset time period at a target ambient temperature according to a target frame rate and a target exposure time, performs temperature change curve fitting, and obtains the target camera steady-state temperature and temperature change trend of the target camera at the target ambient temperature. Then, the current actual frame rate and / or actual exposure time of the target camera are adjusted according to the temperature change trend, so as to utilize the different change curves of the device temperature of the depth camera under different working parameters, accelerate the speed at which the camera device temperature changes to the target camera steady-state temperature by switching the working parameters, and when the actual camera temperature of the target camera is close to the target camera steady-state temperature, switch the actual frame rate to the target frame rate, and switch the actual exposure time to the target exposure time, so that the target camera naturally transitions to a temperature stable state according to the target frame rate and the target exposure time at the target ambient temperature, thereby ensuring that the depth camera can quickly enter a temperature stable state at different ambient temperatures, reduce the camera steady-state waiting time, and improve the temperature correction efficiency of the depth camera.
[0038] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0040] Figure 1 A schematic diagram of the composition of a camera control device provided in an embodiment of the present application;
[0041] Figure 2 A schematic diagram of a flow chart of a camera steady-state control method provided in an embodiment of the present application;
[0042] Figure 3 for Figure 2 A schematic flow chart of the sub-steps included in step S230;
[0043] Figure 4 A schematic diagram of the composition of a camera steady-state control device provided in an embodiment of the present application;
[0044] Figure 5 for Figure 4 Schematic diagram of the composition of the camera parameter adjustment module.
[0045] Icons: 10 - camera control device; 11 - memory; 12 - processor; 13 - communication unit; 100 - camera steady-state control device; 110 - temperature data acquisition module; 120 - temperature data fitting module; 130 - camera parameter adjustment module; 140 - camera steady-state adjustment module; 131 - parameter increase submodule; 132 - parameter decrease submodule. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0047] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0048] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0049] In the description of the present application, it is to be understood that the relational terms such as the term "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the term "includes", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of more restrictions, the elements defined by the sentence "comprising one..." do not exclude the existence of other identical elements in the process, method, article or equipment including the elements. For those of ordinary skill in the art, the specific meaning of the above terms in the present application can be understood by specific circumstances.
[0050] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0051] Please refer to Figure 1 , Figure 1 : is a schematic diagram of the composition of the camera control device 10 provided in the embodiment of the present application. In the embodiment of the present application, the camera control device 10 can control the depth camera to quickly enter a temperature stable state under different ambient temperatures, reduce the camera steady-state waiting time, and improve the subsequent depth camera temperature correction efficiency. Among them, the camera control device 10 can be integrated with the controlled depth camera; the camera control device 10 can also be independent of the controlled depth camera and connected through a wired network or a wireless network. At this time, the camera control device 10 can be, but not limited to, a smart phone, a tablet computer, a personal computer, a server, etc.
[0052] In the embodiment of the present application, the camera control device 10 may include a memory 11, a processor 12, a communication unit 13, and a camera steady state control device 100. The memory 11, the processor 12, and the communication unit 13 are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, the memory 11, the processor 12, and the communication unit 13 may be electrically connected to each other via one or more communication buses or signal lines.
[0053] In this embodiment, the memory 11 may be, but not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc. The memory 11 is used to store a computer program, and the processor 12 may execute the computer program accordingly after receiving an execution instruction.
[0054] In this embodiment, the processor 12 may be an integrated circuit chip with signal processing capability. The processor 12 may be a general-purpose processor, including a central processing unit (CPU), a graphics processing unit (GPU), a network processor (NP), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or at least one of other programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc., which may implement or execute the disclosed methods, steps, and logic block diagrams in the embodiments of the present application.
[0055] In this embodiment, the communication unit 13 is used to establish a communication connection between the camera control device 10 and other electronic devices through a network, and to send and receive data through the network, wherein the network includes a wired communication network and a wireless communication network. For example, the camera control device 10 can obtain the depth camera temperature data collected by a temperature monitoring device installed inside the controlled depth camera through the communication unit 13, and the temperature monitoring device may include at least one temperature sensor, and the at least one temperature sensor is distributed at a position close to each component of the controlled depth camera.
[0056] In this embodiment, the camera stabilization control device 100 may include at least one software function module that can be stored in the memory 11 in the form of software or firmware or solidified in the operating system of the camera control device 10, and the processor 12 may be used to execute the executable module stored in the memory 11, such as the software function module and computer program included in the camera stabilization control device 100. The camera control device 10 can control the depth camera to quickly enter a temperature stable state under different ambient temperatures through the camera stabilization control device 100, reduce the camera stabilization waiting time, and improve the temperature correction efficiency of the depth camera.
[0057] Understandably, Figure 1 The block diagram shown is only a schematic diagram of a composition of the camera control device 10. The camera control device 10 may also include Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown. Figure 1 Each component shown in the figure can be implemented by hardware, software or a combination thereof.
[0058] In the present application, in order to ensure that the camera control device 10 can control the depth camera to quickly enter a temperature stable state at different ambient temperatures, reduce the camera steady-state waiting time, and improve the temperature correction efficiency of the depth camera, the present application embodiment provides a camera steady-state control method to achieve the above-mentioned purpose. The camera steady-state control method provided by the present application is described in detail below.
[0059] Please refer to Figure 2 , Figure 2 2 is a flow chart of a camera steady-state control method provided in an embodiment of the present application. In an embodiment of the present application, the camera steady-state control method may include steps S210 to S240.
[0060] Step S210, obtaining camera temperature data of a target camera during an initial operation within a preset time period at a target ambient temperature according to a target frame rate and a target exposure time.
[0061] In this embodiment, the target camera is the currently controlled depth camera; the target ambient temperature is the ambient temperature that is expected to be maintained, and the ambient temperature of the target camera can be adjusted to the target ambient temperature and maintained by setting a constant temperature device; the frame rate and exposure time are two working parameters of the actual operation of the depth camera, the target frame rate is the frame rate value currently required to be maintained for the target camera configuration, and the target exposure time is the exposure time value currently required to be maintained for the target camera configuration. The length of the preset time period can be configured by the user according to needs, and its value can be 160 seconds or 170 seconds.
[0062] The camera control device 10 can obtain, through the communication unit 13, from the temperature monitoring device installed inside the target camera, the camera temperature values corresponding to multiple operating time points during the process of the target camera attempting to operate for a period of time at the target ambient temperature according to the target frame rate and the target exposure time. The attempted operating time period of the target camera is consistent with the preset time period. At this time, the camera temperature data of the target camera during the preset time period of initial operation at the target ambient temperature according to the target frame rate and the target exposure time includes the camera temperature values corresponding to each operating time point of the target camera within the preset time period.
[0063] Step S220 , performing temperature change curve fitting on the camera temperature data within a preset time period to obtain a target camera steady-state temperature and a temperature change trend of the target camera under a target ambient temperature.
[0064] In this embodiment, the camera control device 10 can perform curve fitting based on the camera temperature data of the target camera initially running within the preset time period, with the running time as the independent variable and the camera temperature value as the dependent variable, to obtain a temperature change curve between the camera temperature and the running time when the target camera runs at the target frame rate and the target exposure time at the target ambient temperature, so that the steady-state temperature of the target camera matching the target frame rate and the target exposure time at the target ambient temperature and the temperature change trend of the camera temperature as the running time changes can be determined through the temperature change curve.
[0065] It is worth noting that the target camera steady-state temperature is an estimate by the camera control device 10 of the actual steady-state temperature of the target camera when it operates stably at the target frame rate and target exposure time at the target ambient temperature. Its value may differ from the actual steady-state temperature or may be consistent with the actual steady-state temperature. The specific distribution condition is related to the data processing capability of the camera control device 10 and / or the data accuracy of the camera temperature data within the preset time period.
[0066] Step S230, adjusting the current actual frame rate and / or actual exposure time of the target camera according to the temperature change trend, and detecting the actual camera temperature of the target camera in real time.
[0067] In this embodiment, the temperature change trend may include a temperature rising trend and a temperature falling trend, wherein if the camera temperature value of the target camera before the initial operation according to the target frame rate and the target exposure time is less than the target camera steady-state temperature, then the temperature change trend is extremely the temperature rising trend; if the camera temperature value of the target camera before the initial operation according to the target frame rate and the target exposure time is greater than the target camera steady-state temperature, then the temperature change trend is extremely the temperature falling trend.
[0068] For a conventional depth camera, the shape of the first correlation curve between the camera steady-state temperature and the camera frame rate of the depth camera when the external ambient temperature is fixed and the corresponding exposure time is fixed is close to an exponential function, and the shape of the second correlation curve between the camera steady-state temperature and the exposure time of the depth camera when the external ambient temperature is fixed and the corresponding camera frame rate is fixed is also close to an exponential function. Therefore, under the condition that the external ambient temperature is fixed and the corresponding exposure time is fixed, the greater the camera frame rate of the depth camera, the stronger the self-heating effect of each component inside the depth camera, and the greater the camera steady-state temperature of the depth camera; under the condition that the external ambient temperature is fixed and the corresponding camera frame rate is fixed, the greater the exposure time of the depth camera, the stronger the self-heating effect of each component inside the depth camera, and the greater the camera steady-state temperature of the depth camera.
[0069] Therefore, after determining the temperature change trend of the target camera under the target ambient temperature, the camera control device 10 can utilize the different characteristics of the change curve of the device temperature of the depth camera under different working parameters (including camera frame rate and / or exposure time) to adjust the current actual frame rate of the target camera to the camera frame rate that strengthens the temperature change trend, and / or adjust the current actual exposure time of the target camera to the exposure time that strengthens the temperature change trend, so that the actual camera temperature of the target camera when operating according to the adjusted working parameters at the target ambient temperature can change faster toward the target camera steady-state temperature. At this time, the speed at which the camera device temperature approaches the target camera steady-state temperature is accelerated by switching the working parameters. In this process, the camera control device 10 will continue to obtain the actual camera temperature of the target camera from the temperature monitoring device through the communication unit 13.
[0070] Optionally, see Figure 3 , Figure 3 yes Figure 2 Schematic diagram of the flow of sub-steps included in step S230. In the embodiment of the present application, step S230 may include sub-step S231 and sub-step S232.
[0071] Sub-step S231 , if the temperature change trend is a temperature rising trend, then increase the current actual frame rate and / or actual exposure time of the target camera.
[0072] In this embodiment, if the temperature change trend of the target camera within the preset time period is a temperature rising trend, camera working parameters with a stronger self-heating effect than the current working parameters of the target camera (including the target frame rate and / or the target exposure time) can be used to accelerate the speed at which the current actual camera temperature of the target camera changes toward the target camera steady-state temperature. That is, at this time, it is necessary to increase the current actual frame rate and / or actual exposure time of the target camera.
[0073] The step of increasing the current actual frame rate of the target camera may include:
[0074] Within a preset frame rate range allowed when the target camera operates normally at a target ambient temperature, screening out at least one first frame rate to be switched that is greater than the target frame rate;
[0075] A first frame rate to be switched is randomly selected from the at least one first frame rate to be switched as the current actual frame rate of the target camera, or a first frame rate to be switched with the largest value is directly selected from the at least one first frame rate to be switched as the current actual frame rate of the target camera.
[0076] The step of increasing the current actual exposure time of the target camera may include:
[0077] Within a preset exposure time range allowed when the target camera operates normally at a target ambient temperature, screening out at least one first exposure time to be switched that is greater than the target exposure time;
[0078] A first exposure time to be switched is randomly selected from the at least one first exposure time to be switched as the current actual exposure time of the target camera, or the first exposure time to be switched with the largest value is directly selected from the at least one first exposure time to be switched as the current actual exposure time of the target camera.
[0079] In one implementation of this embodiment, the first frame rate to be switched with the largest value greater than the target frame rate can be directly selected as the current actual frame rate of the target camera, and the first exposure time to be switched with the largest value greater than the target exposure time can be directly selected as the current actual exposure time of the target camera.
[0080] Sub-step S232, if the temperature change trend is a temperature decreasing trend, lowering the current actual frame rate and / or actual exposure time of the target camera.
[0081] In this embodiment, if the temperature change trend of the target camera within the preset time period is a temperature decreasing trend, the camera working parameters having a weaker self-heating effect than the current working parameters of the target camera (including the target frame rate and / or the target exposure time) can be used to accelerate the speed at which the current actual camera temperature of the target camera changes toward the target camera steady-state temperature. That is, at this time, it is necessary to lower the current actual frame rate and / or actual exposure time of the target camera.
[0082] The step of lowering the current actual frame rate of the target camera may include:
[0083] Within a preset frame rate range allowed when the target camera operates normally at a target ambient temperature, screening out at least one second frame rate to be switched that is less than the target frame rate;
[0084] A second frame rate to be switched is randomly selected from the at least one second frame rate to be switched as the current actual frame rate of the target camera, or the second frame rate to be switched with the smallest value is directly selected from the at least one second frame rate to be switched as the current actual frame rate of the target camera.
[0085] The step of lowering the current actual exposure time of the target camera may include:
[0086] Within a preset exposure time range allowed when the target camera operates normally at a target ambient temperature, screening out at least one second exposure time to be switched that is shorter than the target exposure time;
[0087] A second exposure time to be switched is randomly selected from the at least one second exposure time to be switched as the current actual exposure time of the target camera, or the second exposure time to be switched with the smallest value is directly selected from the at least one second exposure time to be switched as the current actual exposure time of the target camera.
[0088] In one implementation of this embodiment, the second frame rate to be switched with the smallest value that is less than the target frame rate can be directly selected as the current actual frame rate of the target camera, and the first exposure time to be switched with the smallest value that is less than the target exposure time can be directly selected as the current actual exposure time of the target camera.
[0089] Therefore, the present application can switch the current working parameters of the target camera by executing the above sub-steps S231 to S232, utilizing the different characteristics of the change curves of the depth camera's device temperature under different working parameters (including camera frame rate and / or exposure time), so as to accelerate the speed of change of the camera device temperature toward the target camera steady-state temperature used to characterize the stable operation of the target camera at the target ambient temperature according to the target frame rate and target exposure time through the switched working parameters.
[0090] Step S240 , when it is detected that the actual camera temperature is close to the target camera steady-state temperature, the actual frame rate is adjusted according to the target frame rate, and the actual exposure time is adjusted according to the target exposure time.
[0091] In this embodiment, after acquiring the current actual camera temperature of the target camera, the camera control device 10 will compare the acquired actual camera temperature with the calculated steady-state temperature of the target camera to confirm whether the absolute value of the temperature difference between the actual camera temperature and the steady-state temperature of the target camera is less than or equal to a preset temperature difference threshold, and when it is determined that the absolute value of the temperature difference is less than or equal to the preset temperature difference threshold, it is determined that the current actual camera temperature of the target camera is substantially close to the steady-state temperature of the target camera. The preset temperature difference threshold may be, but is not limited to, 1°C, 5°C or 3°C.
[0092] When the camera control device 10 detects that the actual camera temperature of the target camera under the adjusted working parameters is close to the steady-state temperature of the target camera, it means that the camera temperature of the target camera is about to enter a stable state matching the target frame rate and the target exposure time at the target ambient temperature. At this time, it is only necessary to switch the current actual frame rate of the target camera back to the target frame rate, and switch the current actual exposure time of the target camera back to the target exposure time, so that the target camera can naturally transition to a temperature stable state according to the target frame rate and the target exposure time at the target ambient temperature, thereby effectively reducing the camera steady-state waiting time and improving the temperature correction efficiency of the depth camera.
[0093] Therefore, the present application can execute the above steps S210 to S240, utilize the different characteristics of the change curves of the depth camera device temperature under different working parameters, and accelerate the speed at which the camera device temperature enters the camera steady-state temperature under different ambient temperatures by switching the working parameters, so that the depth camera can quickly enter a temperature stable state at different ambient temperatures, reduce the camera steady-state waiting time, and improve the temperature correction efficiency of the depth camera.
[0094] In the present application, in order to ensure that the camera control device 10 can effectively perform the above-mentioned camera stabilization control method through the camera stabilization control device 100, the present application implements the above-mentioned functions by dividing the camera stabilization control device 100 into functional modules. The specific composition of the camera stabilization control device 100 provided by the present application is described in detail below.
[0095] Please refer to Figure 4 , Figure 4 1 is a schematic diagram of the composition of the camera stabilization control device 100 provided in the embodiment of the present application. In the embodiment of the present application, the camera stabilization control device 100 may include a temperature data acquisition module 110, a temperature data fitting module 120, a camera parameter adjustment module 130 and a camera stabilization adjustment module 140.
[0096] The temperature data acquisition module 110 is used to acquire the camera temperature data of a target camera during an initial operation within a preset time period at a target ambient temperature according to a target frame rate and a target exposure time.
[0097] The temperature data fitting module 120 is used to perform temperature change curve fitting on the camera temperature data within a preset time period to obtain the target camera steady-state temperature and temperature change trend under the target ambient temperature.
[0098] The camera parameter adjustment module 130 is used to adjust the current actual frame rate and / or actual exposure time of the target camera according to the temperature change trend, and detect the actual camera temperature of the target camera in real time.
[0099] The camera steady-state adjustment module 140 is used to adjust the actual frame rate according to the target frame rate and the actual exposure time according to the target exposure time when it is detected that the actual camera temperature is close to the target camera steady-state temperature.
[0100] Optionally, see Figure 5 , Figure 5 yes Figure 4 Schematic diagram of the composition of the camera parameter adjustment module 130 in FIG. In the embodiment of the present application, the temperature change trend includes a temperature increase trend and a temperature decrease trend, and the camera parameter adjustment module 130 may include a parameter increase submodule 131 and a parameter decrease submodule 132.
[0101] The parameter increasing submodule 131 is used to increase the current actual frame rate and / or actual exposure time of the target camera when the temperature change trend is a temperature rising trend.
[0102] The parameter lowering submodule 132 is used to lower the current actual frame rate and / or actual exposure time of the target camera when the temperature change trend is a temperature decreasing trend.
[0103] It should be noted that the basic principle and technical effect of the camera stabilization control device 100 provided in the embodiment of the present application are the same as those of the aforementioned camera stabilization control method. For the sake of brief description, for the parts not mentioned in this embodiment, reference can be made to the description of the aforementioned camera stabilization control method.
[0104] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic, for example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to the embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of boxes in the block diagram and / or the flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0105] In addition, each functional module in each embodiment of the present application can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part. If the function is implemented in the form of a software functional module and sold or used as an independent product, it can be stored in a readable storage medium. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a readable storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned readable storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk.
[0106] In summary, in a camera steady-state control method and apparatus, a camera control device and a readable storage medium provided by the present application, the present application obtains the camera temperature data of the target camera in the preset time period at the target ambient temperature according to the target frame rate and the target exposure time for initial operation, and performs temperature change curve fitting to obtain the target camera steady-state temperature and the temperature change trend of the target camera at the target ambient temperature, and then adjusts the current actual frame rate and / or actual exposure time of the target camera according to the temperature change trend, so as to utilize the different change curves of the device temperature of the depth camera under different working parameters, and accelerate the speed at which the camera device temperature changes to the target camera steady-state temperature by switching the working parameters, and when the actual camera temperature of the target camera is close to the target camera steady-state temperature, the actual frame rate is switched to the target frame rate, and the actual exposure time is switched to the target exposure time, so that the target camera naturally transitions to a temperature stable state according to the target frame rate and the target exposure time at the target ambient temperature, thereby ensuring that the depth camera can quickly enter a temperature stable state at different ambient temperatures, reducing the camera steady-state waiting time, and improving the temperature correction efficiency of the depth camera.
[0107] The above are only various implementations of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A camera steady-state control method, characterized in that: The control method comprises: Obtain camera temperature data of a target camera during a preset time period when the target camera is initially operated at a target ambient temperature, according to a target frame rate and a target exposure time; Performing temperature change curve fitting on the camera temperature data within the preset time period to obtain the target camera steady-state temperature and temperature change trend under the target ambient temperature; According to the temperature change trend, the current actual frame rate and / or actual exposure time of the target camera is adjusted, and the actual camera temperature of the target camera is detected in real time; wherein, if the temperature change trend is a temperature rising trend, the current actual frame rate and / or actual exposure time of the target camera is increased; if the temperature change trend is a temperature falling trend, the current actual frame rate and / or actual exposure time of the target camera is decreased; When it is detected that the actual camera temperature is close to the target camera steady-state temperature, the actual frame rate is adjusted according to the target frame rate, and the actual exposure time is adjusted according to the target exposure time.
2. The control method according to claim 1, characterized in that: The step of increasing the current actual frame rate of the target camera includes: Within a preset frame rate range allowed when the target camera operates normally at a target ambient temperature, screening out at least one first frame rate to be switched that is greater than the target frame rate; A first frame rate to be switched is randomly selected from the at least one first frame rate to be switched as the current actual frame rate of the target camera, or a first frame rate to be switched with the largest value is directly selected from the at least one first frame rate to be switched as the current actual frame rate of the target camera.
3. The control method according to claim 1 or 2, characterized in that: The step of increasing the current actual exposure time of the target camera comprises: Within a preset exposure time range allowed when the target camera operates normally at a target ambient temperature, screening out at least one first exposure time to be switched that is greater than the target exposure time; A first exposure time to be switched is randomly selected from the at least one first exposure time to be switched as the current actual exposure time of the target camera, or the first exposure time to be switched with the largest value is directly selected from the at least one first exposure time to be switched as the current actual exposure time of the target camera.
4. The control method according to claim 1, characterized in that: The step of lowering the current actual frame rate of the target camera includes: Within a preset frame rate range allowed when the target camera operates normally at a target ambient temperature, screening out at least one second frame rate to be switched that is less than the target frame rate; A second frame rate to be switched is randomly selected from the at least one second frame rate to be switched as the current actual frame rate of the target camera, or the second frame rate to be switched with the smallest value is directly selected from the at least one second frame rate to be switched as the current actual frame rate of the target camera.
5. The control method according to claim 1 or 2, characterized in that: The step of lowering the current actual exposure time of the target camera comprises: Within a preset exposure time range allowed when the target camera operates normally at a target ambient temperature, screening out at least one second exposure time to be switched that is shorter than the target exposure time; A second exposure time to be switched is randomly selected from the at least one second exposure time to be switched as the current actual exposure time of the target camera, or the second exposure time to be switched with the smallest value is directly selected from the at least one second exposure time to be switched as the current actual exposure time of the target camera.
6. A camera steady-state control device, characterized in that: The control device comprises: A temperature data acquisition module is used to acquire the camera temperature data of the target camera during the initial operation of the target camera at the target ambient temperature according to the target frame rate and the target exposure time within a preset time period; A temperature data fitting module is used to perform temperature change curve fitting on the camera temperature data within the preset time period to obtain a target camera steady-state temperature and a temperature change trend at a target ambient temperature; A camera parameter adjustment module, used to adjust the current actual frame rate and / or actual exposure time of the target camera according to the temperature change trend, and detect the actual camera temperature of the target camera in real time; a camera steady-state adjustment module, configured to adjust the actual frame rate according to the target frame rate and adjust the actual exposure time according to the target exposure time when it is detected that the actual camera temperature is close to the target camera steady-state temperature; Wherein, the camera parameter adjustment module includes: A parameter increasing submodule, used for increasing the current actual frame rate and / or actual exposure time of the target camera when the temperature change trend is a temperature rising trend; The parameter lowering submodule is used to lower the current actual frame rate and / or actual exposure time of the target camera when the temperature change trend is a temperature decreasing trend.
7. A camera control device, characterized in that: The invention comprises a processor and a memory, wherein the memory stores a computer program executable by the processor, and the processor can execute the computer program to implement the camera stabilization control method according to any one of claims 1 to 5.
8. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the camera steady-state control method described in any one of claims 1 to 5 is implemented.
