CN111212239A - Exposure time length adjusting method and device, electronic equipment and storage medium - Google Patents

Exposure time length adjusting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111212239A
CN111212239A CN201811400917.5A CN201811400917A CN111212239A CN 111212239 A CN111212239 A CN 111212239A CN 201811400917 A CN201811400917 A CN 201811400917A CN 111212239 A CN111212239 A CN 111212239A
Authority
CN
China
Prior art keywords
exposure
maximum allowable
exposure duration
exposure time
gain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811400917.5A
Other languages
Chinese (zh)
Other versions
CN111212239B (en
Inventor
秦莹莹
马晓南
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Artificial Intelligence Advanced Research Institute Co ltd
Original Assignee
Nanjing Artificial Intelligence Advanced Research Institute Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Artificial Intelligence Advanced Research Institute Co ltd filed Critical Nanjing Artificial Intelligence Advanced Research Institute Co ltd
Priority to CN201811400917.5A priority Critical patent/CN111212239B/en
Priority to PCT/CN2019/099209 priority patent/WO2020103495A1/en
Publication of CN111212239A publication Critical patent/CN111212239A/en
Application granted granted Critical
Publication of CN111212239B publication Critical patent/CN111212239B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/73Circuitry for compensating brightness variation in the scene by influencing the exposure time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene

Abstract

An exposure duration adjusting method, an exposure duration adjusting device, an electronic device and a storage medium are disclosed. Therefore, in the application, the current moving speed of the movable device can be determined, the maximum allowable exposure time of the image acquisition device is determined according to the current moving speed, when the first exposure time of the image acquisition device is greater than the maximum allowable exposure time, the first exposure time can be updated based on the first exposure time and the maximum allowable exposure time to reduce the exposure time of the image acquisition device, so that when the movable device moves at the current moving speed, a picture shot by the image acquisition device arranged on the movable device can meet the definition requirement, all objects located in a road can be identified, the road condition can be accurately analyzed, then the moving state can be adjusted according to the road condition, and accidents such as traffic accidents are avoided.

Description

Exposure time length adjusting method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an exposure duration adjustment method and apparatus, an electronic device, and a storage medium.
Background
With the rapid development of the technology, robots are widely used in various industries, and in the moving process of the robots, the road conditions, such as vehicles, pedestrians, various obstacles and the like in the road, are often sensed through cameras, and then the moving state is adjusted according to the road conditions, so that accidents such as traffic accidents are avoided.
The robot may take a picture including a road using a camera, identify all objects located in the road in the picture, and analyze a road condition according to the identified objects.
Disclosure of Invention
The present application is proposed to solve the above-mentioned technical problems. The embodiment of the application provides an exposure duration adjusting method and device, electronic equipment and a storage medium.
According to an aspect of the present application, there is provided an exposure time length adjustment method including:
determining a current movement speed of the movable device;
determining the maximum allowable exposure time of image acquisition equipment according to the current moving speed, wherein the image acquisition equipment is arranged on the movable equipment;
determining a first exposure duration of the image acquisition device;
updating the first exposure duration based on the first exposure duration and the maximum allowable exposure duration.
According to another aspect of the present application, there is provided an exposure time period adjusting apparatus including:
a first determination module for determining a current movement speed of the movable device;
the second determination module is used for determining the maximum allowable exposure time of image acquisition equipment according to the current moving speed, and the image acquisition equipment is arranged on the movable equipment;
the third determining module is used for determining the first exposure time of the image acquisition equipment;
a first updating module, configured to update the first exposure duration based on the first exposure duration and the maximum allowable exposure duration.
According to another aspect of the present application, there is provided an electronic device including: a processor; a memory; and computer program instructions stored in the memory, which, when executed by the processor, cause the processor to perform the exposure time period adjustment method described above.
According to another aspect of the present application, there is provided a computer program product comprising computer program instructions which, when executed by a processor, cause the processor to perform the exposure time period adjustment method described above.
According to another aspect of the present application, there is provided a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, cause the processor to execute the exposure time period adjustment method described above.
In this application, when mobile device's translation rate is very fast, if image acquisition equipment's exposure is long longer, then the picture that image acquisition equipment was shot can't satisfy the definition requirement, and then can't discern all objects that are arranged in the road, just also can't accurately analyze out the road situation, accident such as traffic accident appears easily.
Therefore, in the application, the current moving speed of the movable device can be determined, the maximum allowable exposure time of the image acquisition device is determined according to the current moving speed, when the first exposure time of the image acquisition device is greater than the maximum allowable exposure time, the first exposure time can be updated based on the first exposure time and the maximum allowable exposure time to reduce the exposure time of the image acquisition device, so that when the movable device moves at the current moving speed, a picture shot by the image acquisition device arranged on the movable device can meet the definition requirement, all objects located in a road can be identified, the road condition can be accurately analyzed, then the moving state can be adjusted according to the road condition, and accidents such as traffic accidents are avoided.
Drawings
The above and other objects, features and advantages of the present application will become more apparent by describing in more detail embodiments of the present application with reference to the attached drawings. The accompanying drawings are included to provide a further understanding of the embodiments of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the principles of the application. In the drawings, like reference numbers generally represent like parts or steps.
Fig. 1 is a flowchart illustrating an exposure duration adjustment method according to an embodiment of the present application.
Fig. 2 shows a flowchart of a method for updating a first exposure duration according to an embodiment of the present application.
Fig. 3 shows a flow chart of a method of updating a luminance gain according to an embodiment of the present application.
Fig. 4 shows a flowchart of a method for updating a first exposure duration according to an embodiment of the present application.
Fig. 5 is a block diagram illustrating an exposure time period adjusting apparatus according to an embodiment of the present application.
Fig. 6 is a block diagram illustrating an exposure time period adjusting apparatus according to an embodiment of the present application.
FIG. 7 shows a block diagram of an electronic device according to an embodiment of the application.
Detailed Description
Hereinafter, example embodiments according to the present application will be described in detail with reference to the accompanying drawings. It should be understood that the described embodiments are only some embodiments of the present application and not all embodiments of the present application, and that the present application is not limited by the example embodiments described herein.
In the application, the current moving speed of the movable equipment can be determined, the maximum allowable exposure time of the image acquisition equipment is determined according to the current moving speed, when the first exposure time of the image acquisition equipment is greater than the maximum allowable exposure time, the first exposure time can be updated based on the first exposure time and the maximum allowable exposure time to reduce the exposure time of the image acquisition equipment, so that when the movable equipment moves at the current moving speed, pictures shot by the image acquisition equipment arranged on the movable equipment can meet the definition requirement, all objects located in a road can be identified, the road condition can be accurately analyzed, then the moving state can be adjusted according to the road condition, and accidents such as traffic accidents are avoided.
Fig. 1 illustrates a flowchart of an exposure time length adjustment method according to an embodiment of the present application.
As shown in fig. 1, an exposure time length adjustment method according to an embodiment of the present application may include:
in step S101, the current moving speed of the movable device is determined.
In the present application, the mobile device may receive odometer information acquired by an odometer, the odometer being provided on the mobile device, and then determine a current moving speed of the mobile device based on the odometer information.
In step S102, a maximum allowable exposure time period of the image capturing device, which is set on the movable device, is determined according to the current moving speed.
In the application, for any moving speed, the movable equipment can be controlled to move at a constant speed in advance, then a video is respectively shot by using a plurality of different exposure durations in the process of moving at the constant speed, and then a candidate video meeting the definition requirement is determined in the shot videos by using an image recognition algorithm; and determining the maximum exposure duration in the exposure durations corresponding to each candidate video as the maximum allowable exposure duration corresponding to the moving speed, and then forming a corresponding table entry by the moving speed and the maximum allowable exposure duration corresponding to the moving speed and storing the table entry in the corresponding relation between the moving speed and the maximum allowable exposure duration.
For example, for a current movement speed, when the movable device is at the current movement speed, a video is respectively captured using a plurality of different exposure durations; determining candidate videos meeting the definition requirement in a plurality of shot videos by using an image recognition algorithm; determining the maximum exposure duration in the exposure durations corresponding to each candidate video as the maximum allowable exposure duration corresponding to the current moving speed; and forming a corresponding table entry by the current moving speed and the maximum allowable exposure time corresponding to the current moving speed, and storing the table entry in the corresponding relation between the moving speed and the maximum allowable exposure time.
The above operation is also performed for each of the other moving speeds.
In this way, in this step, the maximum allowable exposure duration corresponding to the current moving speed may be searched for in the correspondence between the moving speed and the maximum allowable exposure duration, and may be used as the maximum allowable exposure duration of the image capturing apparatus.
In step S103, a first exposure time period of the image pickup apparatus is determined.
In the application, some shooting parameters, such as exposure duration, aperture, depth of field, and the like, are stored in the image capturing device, and when the image capturing device needs to shoot, the internally stored shooting parameters are obtained, and shooting is performed according to the obtained shooting parameters.
In this manner, in this step, the exposure time period included in the internally stored shooting parameters may be acquired as the first exposure time period.
In step S104, the first exposure duration is updated based on the first exposure duration and the maximum allowable exposure duration.
In this application, if the first exposure duration is greater than the maximum allowable exposure duration, the first exposure duration is updated using the maximum allowable exposure duration, for example, the first exposure duration is updated to the maximum allowable exposure duration.
In this application, when mobile device's translation rate is very fast, if image acquisition equipment's exposure is long longer, then the picture that image acquisition equipment was shot can't satisfy the definition requirement, and then can't discern all objects that are arranged in the road, just also can't accurately analyze out the road situation, accident such as traffic accident appears easily.
Therefore, in the application, the current moving speed of the movable device can be determined, the maximum allowable exposure time of the image acquisition device is determined according to the current moving speed, when the first exposure time of the image acquisition device is greater than the maximum allowable exposure time, the first exposure time can be updated based on the first exposure time and the maximum allowable exposure time to reduce the exposure time of the image acquisition device, so that when the movable device moves at the current moving speed, a picture shot by the image acquisition device arranged on the movable device can meet the definition requirement, all objects located in a road can be identified, the road condition can be accurately analyzed, then the moving state can be adjusted according to the road condition, and accidents such as traffic accidents are avoided.
Further, in order to further improve the clarity of the picture taken by the image capturing device, referring to fig. 2, step S104 includes:
in step S201, if the first exposure period is greater than the maximum allowable exposure period, a second exposure period that is less than the maximum allowable exposure period is determined.
One exposure duration may be selected from exposure durations smaller than the maximum allowable exposure duration, and may be used as the second exposure duration. For example, the maximum allowable exposure period is 0.3ms, and the exposure periods smaller than the maximum allowable exposure period include: 0.1ms, 0.15ms, 0.2ms, 0.25ms, etc., 0.2ms or 0.25ms may be used as the second exposure period.
In step S202, the first exposure period is updated based on the second exposure period.
In one embodiment, the first exposure duration is updated to the second exposure duration; in another embodiment, the second exposure duration may be adjusted based on a preset offset, and the first exposure duration may be updated to the adjusted second exposure duration. The preset offset can be determined by the delay time of the image sensor of the image acquisition equipment for light induction, and the second exposure time can be adjusted by the preset offset, so that the second exposure time can be ensured to be more accurate.
For example, if the second exposure duration is 0.2ms and the first exposure duration is 0.4ms, the updated first exposure duration obtained based on the second exposure duration is 0.2 ms. For another example, if the preset offset is 0.05ms, the second exposure duration is 0.2ms, and the first exposure duration is 0.4ms, the second exposure duration is adjusted based on the preset offset, the obtained second exposure duration is 0.25ms, and the updated first exposure duration obtained based on the second exposure duration is 0.25 ms.
In the application, because the second exposure duration is less than the maximum allowable exposure duration, compared with the case of shooting a picture by using the maximum allowable exposure duration, the exposure duration of the image acquisition device is set to be the second exposure duration less than the maximum allowable exposure duration, and compared with the maximum allowable exposure duration, the image acquisition device shoots the picture according to the second exposure duration, so that the definition of the shot picture can be further improved.
However, if the exposure duration of the image capturing device is reduced, the illumination accumulation of the image capturing device in the shooting process is reduced, and the brightness of an image shot by the image capturing device according to the reduced exposure duration is darker, when the movable device identifies the image captured by the image capturing device, an identification model is used, the identification model is obtained by training based on a plurality of sample images, and the brightness of the sample images is a normal brightness interval, so that the identification accuracy of the identification model for the image with the brightness in the normal brightness interval is higher, and the identification accuracy for the image with the brightness not in the normal brightness interval is lower.
Therefore, when the brightness of the image shot by the image acquisition device according to the reduced exposure time is low, some objects in the image may not be recognized after the mobile device recognizes the image by using the recognition model, and the road condition cannot be accurately analyzed, so that accidents such as traffic accidents are easy to occur.
Therefore, in order to enable the mobile device to identify all objects in the image using the identification model after reducing the exposure time of the image capturing device, in another embodiment of the present application, referring to fig. 3, the method further comprises:
in step S301, a first luminance gain of the image capturing apparatus is acquired.
In the application, some shooting parameters, such as exposure duration, aperture, brightness gain, depth of field, and the like, are stored in the image acquisition device, and when the image acquisition device needs to shoot, the internally stored shooting parameters are obtained, and shooting is performed according to the obtained shooting parameters.
As such, in this step, the luminance gain included in the internally stored photographing parameters may be acquired as the first luminance gain.
In step S302, a second brightness gain is obtained according to the maximum allowable exposure time period, the first brightness gain and the first exposure time period.
Generally, both the exposure time length and the brightness gain of the image capturing device affect the brightness of the picture taken by the image capturing device, for example, the longer the exposure time length, the brighter the picture taken by the image capturing device, the shorter the exposure time length, the darker the picture taken by the image capturing device, the greater the brightness gain, the brighter the picture taken by the image capturing device, the smaller the brightness gain, and the darker the picture taken by the image capturing device. Therefore, it is necessary to make the luminance gain of the image pickup device and the exposure time period inversely proportional.
Therefore, after the exposure duration of the image acquisition device is reduced, the brightness gain of the image acquisition device needs to be increased to improve the illumination accumulation of the image acquisition device in the shooting process, so as to improve the brightness of the picture shot by the image acquisition device.
In this case, the product of the first exposure time period and the first luminance gain may be calculated, and then the ratio between the product and the maximum allowable exposure time period may be calculated as the second luminance gain.
In step S303, the first luminance gain is updated based on the second luminance gain.
For example, the first luminance gain is updated to the second luminance gain.
Sometimes, the brightness gain of the image capturing device cannot be increased infinitely due to the hardware condition of the image capturing device, that is, some image capturing devices have the maximum allowable brightness gain, and if the brightness gain larger than the maximum allowable brightness gain is forcibly set for the image capturing device, the setting usually fails, so that the image capturing device still shoots according to the brightness gain smaller than the second brightness gain during shooting, and the brightness of the picture shot by the image capturing device is still the lower brightness of the normal brightness interval.
Therefore, in this case, in order to be able to successfully improve the luminance gain of the image capturing apparatus, the maximum allowable luminance gain of the image capturing apparatus may be acquired; determining a third luminance gain that is greater than or equal to the second luminance gain and less than or equal to the maximum allowable luminance gain if the second luminance gain is less than the maximum allowable luminance gain; updating the first brightness gain to a third brightness gain; if the second luminance gain is greater than or equal to the maximum allowable luminance gain, the first luminance gain is updated to the maximum allowable luminance gain.
For example, assuming that the maximum allowable luminance gain is 7 and the second luminance gain duration is 3, the third luminance gain, which is greater than or equal to the second luminance gain and less than or equal to the maximum allowable luminance gain, includes: 3.5, 4, 4.5, 5, etc., then 3.5 or 4 may be taken as the third brightness gain; if the second brightness gain duration is 8, the first brightness gain is updated to the maximum allowable brightness gain of 7.
In another embodiment of the present application, referring to fig. 4, step S104 includes:
in step S401, a first luminance gain of the image pickup device is acquired.
In the application, some shooting parameters, such as exposure duration, aperture, brightness gain, depth of field, and the like, are stored in the image acquisition device, and when the image acquisition device needs to shoot, the internally stored shooting parameters are obtained, and shooting is performed according to the obtained shooting parameters.
As such, in this step, the luminance gain included in the internally stored photographing parameters may be acquired as the first luminance gain.
In step S402, the maximum allowable luminance gain of the image pickup apparatus is acquired.
In step S403, determining a third exposure duration according to the first exposure duration, the first brightness gain and the maximum allowable brightness gain;
generally, both the exposure time length and the brightness gain of the image capturing device affect the brightness of the picture taken by the image capturing device, for example, the longer the exposure time length, the brighter the picture taken by the image capturing device, the shorter the exposure time length, the darker the picture taken by the image capturing device, the greater the brightness gain, the brighter the picture taken by the image capturing device, the smaller the brightness gain, and the darker the picture taken by the image capturing device. Therefore, it is necessary to make the luminance gain of the image pickup device and the exposure time period inversely proportional.
Therefore, after the exposure duration of the image acquisition device is reduced, the brightness gain of the image acquisition device needs to be increased to improve the illumination accumulation of the image acquisition device in the shooting process, so as to improve the brightness of the picture shot by the image acquisition device.
However, sometimes, the brightness gain of the image capturing apparatus cannot be increased infinitely due to the hardware condition of the image capturing apparatus, that is, some image capturing apparatuses have the maximum allowable brightness gain, and if the brightness gain larger than the maximum allowable brightness gain is forcibly set to the image capturing apparatus, the setting usually fails.
Therefore, the exposure time of the image acquisition equipment cannot be reduced without limit, otherwise, the illumination accumulation of the image acquisition equipment in the shooting process is reduced rapidly, the brightness of an image shot by the image acquisition equipment according to the reduced exposure time is darker, when the movable equipment identifies the image acquired by the image acquisition equipment, an identification model is used, the identification model is obtained based on training of a plurality of sample images, and the brightness of the sample images is a normal brightness interval, so that the identification accuracy of the identification model on the image with the brightness in the normal brightness interval is higher, and the identification accuracy of the identification model on the image with the brightness out of the normal brightness interval is lower.
Therefore, when the brightness of the image shot by the image acquisition device according to the reduced exposure time is low, some objects in the image may not be recognized after the mobile device recognizes the image by using the recognition model, and the road condition cannot be accurately analyzed, so that accidents such as traffic accidents are easy to occur.
Therefore, in order to enable the mobile device to identify all objects in the image using the identification model after reducing the exposure time period of the image capturing device, it is necessary to determine the minimum exposure time period of the image capturing device according to the first exposure time period, the first brightness gain and the maximum allowable brightness gain, for example, wherein the product between the first exposure time period and the first brightness gain may be calculated; the third exposure time period is then determined based on the ratio between the product and the maximum allowable brightness gain, for example, the ratio between the product and the maximum allowable brightness gain is calculated, resulting in the minimum exposure time period of the image capturing apparatus, that is, the third exposure time period.
In step S404, a fourth exposure period that is greater than or equal to the third exposure period and less than or equal to the maximum allowable exposure period is determined.
One exposure duration may be selected from exposure durations greater than or equal to the third exposure duration and less than or equal to the maximum allowable exposure duration as the fourth exposure duration.
For example, assuming that the maximum allowable exposure duration is 8ms and the third exposure duration is 3ms, the exposure duration that is greater than or equal to the third exposure duration and less than or equal to the maximum allowable exposure duration: 3.5ms, 4ms, 4.5ms, 5ms, etc., then 3.5ms or 4ms may be used as the fourth exposure period.
In step S405, the first exposure period is updated to the fourth exposure period.
Exemplary devices
Next, an exposure time period adjustment device according to an embodiment of the present application is described with reference to fig. 5.
Fig. 5 illustrates a block diagram of an exposure time period adjustment apparatus according to an embodiment of the present application.
As shown in fig. 5, the exposure time period adjusting apparatus according to the embodiment of the present application may include:
a first determining module 501, configured to determine a current moving speed of the movable device;
a second determining module 502, configured to determine a maximum allowable exposure duration of an image capturing device according to the current moving speed, where the image capturing device is disposed on the mobile device;
a third determining module 503, configured to determine a first exposure duration of the image capturing apparatus;
a first updating module 504, configured to update the first exposure duration based on the first exposure duration and the maximum allowed exposure duration.
Referring to fig. 6, in an alternative implementation, the second determining module 502 includes:
a shooting unit 5021, configured to shoot a video using a plurality of different exposure durations respectively when the mobile device is at the current moving speed;
a first determining unit 5022 for determining candidate videos satisfying the definition requirement among the plurality of photographed videos using an image recognition algorithm;
a second determining unit 5023, configured to determine the maximum exposure duration in the exposure durations corresponding to each candidate video as the maximum allowable exposure duration corresponding to the current moving speed;
the storage unit 5024 is configured to form a corresponding table entry by using the current moving speed and the maximum allowable exposure duration corresponding to the current moving speed, and store the corresponding table entry in the corresponding relationship between the moving speed and the maximum allowable exposure duration.
In an optional implementation manner, the first determining module 502 further includes:
the searching unit 5025 is configured to search the maximum allowable exposure duration corresponding to the current moving speed in the correspondence between the moving speed and the maximum allowable exposure duration, and use the maximum allowable exposure duration as the maximum allowable exposure duration of the image capturing device.
In an optional implementation manner, the first updating module 504 includes:
a third determining unit 5041, configured to determine a second exposure duration that is less than the maximum allowed exposure duration if the first exposure duration is greater than the maximum allowed exposure duration;
a first updating unit 5042, configured to update the first exposure duration based on the second exposure duration.
In an optional implementation, the apparatus further comprises:
a first obtaining module 505, configured to obtain a first brightness gain of the image capturing apparatus.
A second obtaining module 506, configured to obtain a second brightness gain according to the maximum allowable exposure duration, the first brightness gain, and the first exposure duration;
a second updating module 507, configured to update the first luminance gain based on the second luminance gain.
In an optional implementation manner, the second updating module 507 includes:
a first acquisition unit 5073, configured to acquire a maximum allowable luminance gain of the image acquisition apparatus;
a third updating unit 5074 for determining a third luminance gain greater than or equal to the second luminance gain and less than or equal to the maximum allowable luminance gain if the second luminance gain is less than the maximum allowable luminance gain; updating the first luminance gain to the third luminance gain;
a fourth updating unit 5075, configured to update the first luminance gain to the maximum allowable luminance gain if the second luminance gain is greater than or equal to the maximum allowable luminance gain.
In an optional implementation manner, the first updating module 504 includes:
a second obtaining unit 5043, configured to obtain a first luminance gain of the image capturing apparatus;
a third obtaining unit 5044, configured to obtain a maximum allowable brightness gain of the image capturing apparatus;
a fifth determining unit 5045, configured to determine a third exposure duration according to the first exposure duration, the first brightness gain, and the maximum allowable brightness gain;
a sixth determining unit 5046, configured to determine a fourth exposure duration that is greater than or equal to the third exposure duration and less than or equal to the maximum allowable exposure duration;
a fifth updating unit 5047, configured to update the first exposure duration to the fourth exposure duration.
In an optional implementation manner, the fifth determining unit 5043 includes:
a calculation subunit configured to calculate a product between the first exposure time and the first luminance gain;
a determination subunit operable to determine the third exposure time period based on a ratio between the product and the maximum allowable brightness gain.
In this application, when mobile device's translation rate is very fast, if image acquisition equipment's exposure is long longer, then the picture that image acquisition equipment was shot can't satisfy the definition requirement, and then can't discern all objects that are arranged in the road, just also can't accurately analyze out the road situation, accident such as traffic accident appears easily.
Therefore, in the application, the current moving speed of the movable device can be determined, the maximum allowable exposure time of the image acquisition device is determined according to the current moving speed, when the first exposure time of the image acquisition device is greater than the maximum allowable exposure time, the first exposure time can be updated based on the first exposure time and the maximum allowable exposure time to reduce the exposure time of the image acquisition device, so that when the movable device moves at the current moving speed, a picture shot by the image acquisition device arranged on the movable device can meet the definition requirement, all objects located in a road can be identified, the road condition can be accurately analyzed, then the moving state can be adjusted according to the road condition, and accidents such as traffic accidents are avoided.
Exemplary electronic device
Next, an electronic apparatus according to an embodiment of the present application is described with reference to fig. 7.
FIG. 7 illustrates a block diagram of an electronic device in accordance with an embodiment of the present application.
As shown in fig. 7, the electronic device 10 includes one or more processors 11 and memory 12.
The processor 11 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device 10 to perform desired functions.
Memory 12 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, Random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, Read Only Memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium and executed by the processor 11 to implement the exposure time length adjustment methods of the various embodiments of the present application described above and/or other desired functions. Various contents such as an input signal, a signal component, a noise component, etc. may also be stored in the computer-readable storage medium.
In one example, the electronic device 10 may further include: an input device 13 and an output device 14, which are interconnected by a bus system and/or other form of connection mechanism (not shown).
The input device 13 may also include, for example, a keyboard, a mouse, and the like.
The output device 14 may output various information including the determined distance information, direction information, and the like to the outside. The output devices 14 may include, for example, a display, speakers, a printer, and a communication network and its connected remote output devices, among others.
Of course, for simplicity, only some of the components of the electronic device 10 relevant to the present application are shown in fig. 7, and components such as buses, input/output interfaces, and the like are omitted. In addition, the electronic device 10 may include any other suitable components depending on the particular application.
Exemplary computer program product and computer-readable storage Medium
In addition to the above-described methods and apparatuses, embodiments of the present application may also be a computer program product comprising computer program instructions that, when executed by a processor, cause the processor to perform the steps in the exposure time period adjustment method according to various embodiments of the present application described in the above-mentioned "exemplary methods" section of this specification.
The computer program product may be written with program code for performing the operations of embodiments of the present application in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present application may also be a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, cause the processor to perform the steps in the exposure time period adjustment method according to various embodiments of the present application described in the "exemplary method" section above in this specification.
The computer-readable storage medium may take any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, 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.
The foregoing describes the general principles of the present application in conjunction with specific embodiments, however, it is noted that the advantages, effects, etc. mentioned in the present application are merely examples and are not limiting, and they should not be considered essential to the various embodiments of the present application. Furthermore, the foregoing disclosure of specific details is for the purpose of illustration and description and is not intended to be limiting, since the foregoing disclosure is not intended to be exhaustive or to limit the disclosure to the precise details disclosed.
The block diagrams of devices, apparatuses, systems referred to in this application are only given as illustrative examples and are not intended to require or imply that the connections, arrangements, configurations, etc. must be made in the manner shown in the block diagrams. These devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by those skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. The words "or" and "as used herein mean, and are used interchangeably with, the word" and/or, "unless the context clearly dictates otherwise. The word "such as" is used herein to mean, and is used interchangeably with, the phrase "such as but not limited to".
It should also be noted that in the devices, apparatuses, and methods of the present application, the components or steps may be decomposed and/or recombined. These decompositions and/or recombinations are to be considered as equivalents of the present application.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the application. Thus, the present application is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, the description is not intended to limit embodiments of the application to the form disclosed herein. While a number of example aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof.

Claims (11)

1. An exposure time length adjustment method includes:
determining a current movement speed of the movable device;
determining the maximum allowable exposure time of image acquisition equipment according to the current moving speed, wherein the image acquisition equipment is arranged on the movable equipment;
determining a first exposure duration of the image acquisition device;
updating the first exposure duration based on the first exposure duration and the maximum allowable exposure duration.
2. The method of claim 1, wherein the method further comprises:
when the movable equipment is at the current moving speed, respectively shooting a video by using a plurality of different exposure durations;
determining candidate videos meeting the definition requirement in a plurality of shot videos by using an image recognition algorithm;
determining the maximum exposure duration in the exposure durations corresponding to each candidate video as the maximum allowable exposure duration corresponding to the current moving speed;
and forming a corresponding table entry by the current moving speed and the maximum allowable exposure time corresponding to the current moving speed, and storing the table entry in the corresponding relation between the moving speed and the maximum allowable exposure time.
3. The method of claim 2, wherein said determining a maximum allowed exposure time period for the image capture device based on said current movement speed comprises:
and searching the maximum allowable exposure duration corresponding to the current moving speed in the corresponding relation between the moving speed and the maximum allowable exposure duration, and taking the maximum allowable exposure duration as the maximum allowable exposure duration of the image acquisition equipment.
4. The method of claim 1, wherein said updating the first exposure duration based on the first exposure duration and the maximum allowed exposure duration comprises:
determining a second exposure duration that is less than the maximum allowed exposure duration if the first exposure duration is greater than the maximum allowed exposure duration;
updating the first exposure duration based on the second exposure duration.
5. The method of claim 4, wherein the method further comprises:
acquiring a first brightness gain of the image acquisition equipment;
acquiring a second brightness gain according to the maximum allowable exposure time length, the first brightness gain and the first exposure time length;
updating the first luminance gain based on the second luminance gain.
6. The method of claim 5, wherein said updating the first luminance gain based on the second luminance gain comprises:
acquiring the maximum allowable brightness gain of the image acquisition equipment;
determining a third luminance gain that is greater than or equal to the second luminance gain and less than or equal to the maximum allowable luminance gain if the second luminance gain is less than the maximum allowable luminance gain;
updating the first luminance gain to the third luminance gain;
updating the first brightness gain to the maximum allowable brightness gain if the second brightness gain is greater than or equal to the maximum allowable brightness gain.
7. The method of claim 1, wherein said updating the first exposure duration based on the first exposure duration and the maximum allowed exposure duration comprises:
acquiring a first brightness gain of the image acquisition equipment;
acquiring the maximum allowable brightness gain of the image acquisition equipment;
determining a third exposure time length according to the first exposure time length, the first brightness gain and the maximum allowable brightness gain;
determining a fourth exposure duration that is greater than or equal to the third exposure duration and less than or equal to the maximum allowed exposure duration;
and updating the first exposure duration to the fourth exposure duration.
8. The method of claim 7, wherein said determining a third exposure time period from said first exposure time period, said first brightness gain, and said maximum allowed brightness gain comprises:
calculating a product between the first exposure time length and the first brightness gain;
determining the third exposure time period based on a ratio between the product and the maximum allowable brightness gain.
9. An exposure time period adjusting apparatus comprising:
a first determination module for determining a current movement speed of the movable device;
the second determination module is used for determining the maximum allowable exposure time of image acquisition equipment according to the current moving speed, and the image acquisition equipment is arranged on the movable equipment;
the third determining module is used for determining the first exposure time of the image acquisition equipment;
a first updating module, configured to update the first exposure duration based on the first exposure duration and the maximum allowable exposure duration.
10. An electronic device, comprising:
a processor;
a memory; and
computer program instructions stored in the memory, which, when executed by the processor, cause the processor to perform the method of any of claims 1-8.
11. A computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, cause the processor to perform the method of any one of claims 1-8.
CN201811400917.5A 2018-11-22 2018-11-22 Exposure time length adjusting method and device, electronic equipment and storage medium Active CN111212239B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811400917.5A CN111212239B (en) 2018-11-22 2018-11-22 Exposure time length adjusting method and device, electronic equipment and storage medium
PCT/CN2019/099209 WO2020103495A1 (en) 2018-11-22 2019-08-05 Exposure duration adjustment method and device, electronic apparatus, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811400917.5A CN111212239B (en) 2018-11-22 2018-11-22 Exposure time length adjusting method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111212239A true CN111212239A (en) 2020-05-29
CN111212239B CN111212239B (en) 2021-06-04

Family

ID=70774573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811400917.5A Active CN111212239B (en) 2018-11-22 2018-11-22 Exposure time length adjusting method and device, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN111212239B (en)
WO (1) WO2020103495A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114245026B (en) * 2021-12-15 2023-10-13 惠州Tcl移动通信有限公司 Shooting method, shooting device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100634A (en) * 2015-07-09 2015-11-25 小米科技有限责任公司 Image photographing method and image photographing device
CN105979162A (en) * 2016-07-21 2016-09-28 凌云光技术集团有限责任公司 Automatic exposure adjustment method and device for extensible dynamic range images
US20170019589A1 (en) * 2015-07-14 2017-01-19 Samsung Electronics Co., Ltd. Image capturing apparatus and method
CN106657805A (en) * 2017-01-13 2017-05-10 广东欧珀移动通信有限公司 Shooting method in movement and mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2819395B1 (en) * 2013-06-27 2015-08-12 Axis AB Method and apparatus for setting a camera exposure time
CN104660915B (en) * 2015-02-09 2017-12-01 广东欧珀移动通信有限公司 Panorama is taken pictures the control method and device of exposure
CN106303243A (en) * 2016-08-19 2017-01-04 乐视控股(北京)有限公司 A kind of photographic method, device and terminal
CN107820024B (en) * 2017-12-05 2020-09-29 北京小米移动软件有限公司 Image shooting method, device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100634A (en) * 2015-07-09 2015-11-25 小米科技有限责任公司 Image photographing method and image photographing device
US20170019589A1 (en) * 2015-07-14 2017-01-19 Samsung Electronics Co., Ltd. Image capturing apparatus and method
CN105979162A (en) * 2016-07-21 2016-09-28 凌云光技术集团有限责任公司 Automatic exposure adjustment method and device for extensible dynamic range images
CN106657805A (en) * 2017-01-13 2017-05-10 广东欧珀移动通信有限公司 Shooting method in movement and mobile terminal

Also Published As

Publication number Publication date
WO2020103495A1 (en) 2020-05-28
CN111212239B (en) 2021-06-04

Similar Documents

Publication Publication Date Title
US20210264133A1 (en) Face location tracking method, apparatus, and electronic device
JP2021509515A (en) Distance measurement methods, intelligent control methods and devices, electronic devices and storage media
US6226388B1 (en) Method and apparatus for object tracking for automatic controls in video devices
CN109409277B (en) Gesture recognition method and device, intelligent terminal and computer storage medium
WO2016144431A1 (en) Systems and methods for object tracking
US9910247B2 (en) Focus hunting prevention for phase detection auto focus (AF)
US11055927B2 (en) Method for building scene, electronic device and storage medium
WO2018210305A1 (en) Image identification and tracking method and device, intelligent terminal and readable storage medium
CN112565602A (en) Method and apparatus for controlling image photographing apparatus, and computer-readable storage medium
CN111212239B (en) Exposure time length adjusting method and device, electronic equipment and storage medium
EP3109695B1 (en) Method and electronic device for automatically focusing on moving object
EP2918072B1 (en) Method and apparatus for capturing and displaying an image
CN110291771B (en) Depth information acquisition method of target object and movable platform
CN109981967B (en) Shooting method and device for intelligent robot, terminal equipment and medium
CN114463781A (en) Method, device and equipment for determining trigger gesture
CN112770056B (en) Shooting method, shooting device and electronic equipment
CN110830726B (en) Automatic focusing method, device, equipment and storage medium
CN114549578A (en) Target tracking method, device and storage medium
CN106370883B (en) Speed measurement method and terminal
CN112770057A (en) Camera parameter adjusting method and device, electronic equipment and storage medium
CN107667522B (en) Method and apparatus for forming moving image
CN112165579A (en) Standard shooting method, system, computer equipment and storage medium
CN111337010B (en) Positioning method and positioning device of movable equipment and electronic equipment
CN111131717A (en) Focusing method, device, equipment and computer readable storage medium
CN112150529A (en) Method and device for determining depth information of image feature points

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant