Self-starting shooting method and device, medium and equipment
By using the plane array and line array camera on the shooting terminal, the brightness characteristic values of the sub-region images are calculated in real time and the inter-frame difference values are compared, which solves the problem of misstart caused by global light changes, and improves the accuracy and efficiency of the shooting system.
Patent Information
- Application Number
- CN202411417096.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-11
- Publication Date
- 2025-02-18
AI Technical Summary
The existing automatic shooting system is susceptible to interference from changes in global ambient light, resulting in misstart shooting, wasting storage space and reducing system efficiency.
By setting the surface array camera and line array camera on the shooting terminal, the surface array area image is acquired in real time and divided into multiple sub-region images, the brightness characteristic value of each sub-region image is calculated, and the brightness difference between the current frame and the previous frame is compared. Value: If the characteristic difference of any sub-region exceeds the set threshold, the linear array camera is activated for shooting.
It effectively solves the interference of global ambient light changes on judgments, reduces the situation of shooting incorrectly, and improves the accuracy and efficiency of the system.
Smart Images

Figure CN119484995A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of photographing technology, and in particular to a self-starting photographing method, device, medium and equipment. Background Art
[0002] In the application scenario of accurately capturing moving targets, existing automatic shooting systems usually rely on picture changes to decide whether to start shooting. However, this method is easily disturbed by changes in global ambient light, resulting in misjudgment and false shooting. For example, sudden changes in global light may be misjudged as important target movement, which will trigger unnecessary shooting, waste storage space and reduce the overall efficiency of the system. Summary of the invention
[0003] Based on this, it is necessary to provide a self-starting shooting method, device, medium and equipment to solve the problem that sudden changes in global light may cause false starts.
[0004] A self-starting shooting method is applied to a shooting terminal, wherein the shooting terminal includes an area array camera and a line array camera, and the method includes:
[0005] Setting the area array area of the area array camera and the line array area of the line array camera;
[0006] Acquire in real time an area array area image obtained by photographing the area array area with the area array camera, divide the area array area image into a plurality of sub-area images, and calculate a brightness characteristic value of each sub-area image; wherein the brightness characteristic value is used to indicate a relative brightness of a corresponding sub-area image compared to the area array area image;
[0007] Taking the brightness feature value of the current frame in the target sub-region image as the first feature value, taking the brightness feature value of the previous frame of the current frame in the target sub-region image as the second feature value, and calculating the difference between the first feature value and the second feature value to obtain the current multiple feature difference values; wherein the target sub-region image is any one of the multiple sub-region images;
[0008] Among the current multiple feature difference values, if any one feature difference value is greater than the current target difference threshold, the line array camera is started to shoot the line array area.
[0009] In one embodiment, the step of calculating the brightness characteristic value of each sub-region image includes:
[0010] Calculate the sum of the RBG brightness values of all pixels in each sub-region image to obtain the sub-region brightness value of each sub-region image;
[0011] Calculate the average brightness value of all sub-areas to obtain the brightness value of the array area;
[0012] The ratio of the sub-region brightness value of each sub-region image to the area array region brightness value is used as the brightness characteristic value of the corresponding sub-region image.
[0013] In one embodiment, the step of calculating the brightness characteristic value of each sub-region image includes:
[0014] Calculate the sum of the grayscale values of all pixels in each sub-region image to obtain the sub-region brightness value of each sub-region image;
[0015] Calculate the average brightness value of all sub-areas to obtain the brightness value of the array area;
[0016] The ratio of the sub-region brightness value of each sub-region image to the area array region brightness value is used as the brightness characteristic value of the corresponding sub-region image.
[0017] In one embodiment, the method further comprises:
[0018] Obtaining a reference difference threshold corresponding to the area array image at a preset reference brightness value;
[0019] The brightness difference between the array area brightness value and the reference brightness value is calculated, and the current target difference threshold is calculated according to the brightness difference and the reference difference threshold; wherein the brightness difference is positively correlated with the target difference threshold.
[0020] In one embodiment, the brightness difference between the brightness value of the array area and the reference brightness value is calculated, and the current target difference threshold is calculated according to the brightness difference and the reference difference threshold, which is expressed as:
[0021] thre1=thre0+k1(L1-L0)
[0022] In the above formula, thre1 represents the target difference threshold; thre0 represents the reference difference threshold; k1 represents a preset brightness adjustment scale factor, k1>0; L1 represents the array area brightness value; L0 represents the reference brightness value.
[0023] In one embodiment, the method further comprises:
[0024] Set the number of sub-region images, expressed as:
[0025]
[0026] In the above formula, n represents the number of sub-region images; ceil represents the upward rounding function; k2 represents the preset number adjustment scale factor; V 对象represents the target object area when the target object appears completely in the array area; V 总 Represents the area of the array region.
[0027] A self-starting shooting device is applied to a shooting terminal, wherein the shooting terminal includes an area array camera and a line array camera, and the self-starting shooting device includes:
[0028] An area setting module, used to set the area array area of the area array camera and the line array area of the line array camera;
[0029] a brightness characteristic value calculation module, used for acquiring in real time an area array area image obtained by the area array camera shooting the area array, dividing the area array area image into a plurality of sub-area images, and calculating a brightness characteristic value of each sub-area image; wherein the brightness characteristic value is used to indicate a relative brightness of a corresponding sub-area image compared to the area array area image;
[0030] A judgment module is started, which is used to take the brightness characteristic value of the current frame in the target sub-area image as the first characteristic value, and take the brightness characteristic value of the previous frame of the current frame in the target sub-area image as the second characteristic value, and calculate the difference between the first characteristic value and the second characteristic value to obtain the current multiple characteristic difference values; wherein the target sub-area image is any one of the multiple sub-area images; among the current multiple characteristic difference values, if any one characteristic difference value is greater than the current target difference threshold, the linear array camera is started to shoot the linear array area.
[0031] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor is caused to execute the steps of the above method.
[0032] A self-starting shooting device comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above method.
[0033] The present invention provides a self-starting shooting method, device, medium and equipment, which are applied to a shooting terminal including an area array camera and a linear array camera, and are intended to obtain an area array area image in real time through the area array camera and divide it into multiple sub-area images, calculate the brightness characteristic value of each sub-area image, and then compare the brightness difference between the current frame and the previous frame. If the characteristic difference value of any sub-area exceeds the set threshold, the linear array camera is started to shoot. This method effectively solves the interference of global environmental light changes on judgment, reduces the situation of mistakenly starting shooting, and thus improves the accuracy and efficiency of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0035] in:
[0036] Figure 1 It is a flowchart of the self-starting shooting method;
[0037] Figure 2 Schematic diagram of setting up the area array area and line array area in the scene of accurately capturing athletes near the finish line;
[0038] Figure 3 A schematic diagram of dividing a surface array region image into a plurality of sub-region images;
[0039] Figure 4 It is a structural schematic diagram of a self-starting photographing device;
[0040] Figure 5 This is a structural block diagram of a self-starting shooting device. DETAILED DESCRIPTION
[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0042] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0043] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0044] The self-starting shooting method provided by the present invention is applied to scenarios where a moving target object needs to be accurately captured, such as scenarios where an athlete needs to be accurately captured near a sports finish line, or scenarios where a vehicle needs to be accurately captured in a speed measurement area on a highway, and of course other similar scenarios.
[0045] like Figure 1 As shown, Figure 1 The flowchart of a self-starting shooting method in an embodiment is applied to a shooting terminal, which includes an area array camera and a line array camera. The area array camera can capture the entire image area and is used to detect changes in a large range; the line array camera only captures the area of a line, with concentrated pixel density, and has higher accuracy than the area array camera. In this embodiment, the area array camera is currently started, and the line array camera is currently not started. The line array camera is started only when specific conditions are met to accurately capture the moving target object.
[0046] The steps provided by the self-starting shooting method in this embodiment include:
[0047] S101, setting the area array area of the area array camera and the line array area of the line array camera.
[0048] The area array area refers to the two-dimensional monitoring range covered by the area array camera, and the line array area refers to the specific linear area that the line array camera focuses on.
[0049] For example, Figure 2 As shown, in the scenario of accurately capturing athletes near the finish line, the area array area is set to the rectangular frame area near the finish line, and the line array area is set to the narrow linear area covered by the finish line. Alternatively, in the scenario of accurately capturing vehicles in the speed measurement area of a highway, the area array area is set to a specific speed measurement area, and the line array area is set to the preset speed measurement line in the speed measurement area. Alternatively, in the scenario of unmanned entrances and exits (such as factories, parking lots, etc.), the area array area is set to the entire range of the entrance or exit, and the line array area is set to the key position of the entrance or exit.
[0050] S102, acquiring in real time an area array region image obtained by photographing the area array region with an area array camera, dividing the area array region image into a plurality of sub-region images, and calculating a brightness feature value of each sub-region image.
[0051] The area array image is a complete image captured by the area array camera within the two-dimensional monitoring range it covers. The sub-area image is a smaller part divided from the area array image. The brightness feature value is used to indicate the relative brightness of the corresponding sub-area image compared to the area array image.
[0052] First, divide the array area image into multiple sub-area images:
[0053] Optional, such as Figure 3 As shown in the figure, in the scenario of accurately capturing athletes near the finish line, or in the scenario of unmanned entrances and exits (such as factories, parking lots, etc.), we can evenly divide the area array image into 100 sub-area images. Or in the scenario of accurately capturing vehicles in the speed measurement area of the highway, we can divide the area array image into multiple sub-area images, each sub-area corresponding to a different lane or area.
[0054] Then calculate the brightness feature value of each sub-region image:
[0055] Optionally, the array region image is converted into a grayscale image, and then the grayscale values of the pixels in each sub-region image are counted to form a histogram. The mean, median or a quantile value of the histogram is taken as the sub-region brightness value of the sub-region. The mean of all sub-region brightness values is calculated to obtain the array region brightness value; the ratio of the sub-region brightness value of each sub-region image to the array region brightness value is taken as the brightness feature value of the corresponding sub-region image.
[0056] Optionally, the sum of the RBG brightness values of all pixels in each sub-region image is calculated to obtain the sub-region brightness value of each sub-region image; the mean of all sub-region brightness values is calculated to obtain the area array area brightness value; and the ratio of the sub-region brightness value of each sub-region image to the area array area brightness value is used as the brightness characteristic value of the corresponding sub-region image.
[0057] Optionally, the area array area image is converted into a grayscale image, and the sum of the grayscale values of all pixels in each sub-area image is calculated to obtain the sub-area brightness value of each sub-area image; the mean of all sub-area brightness values is calculated to obtain the area array area brightness value; and the ratio of the sub-area brightness value of each sub-area image to the area array area brightness value is used as the brightness feature value of the corresponding sub-area image.
[0058] This setting of brightness characteristic value enables the system to ignore the changes in global ambient light and focus on the changes in local brightness. For example, if the light in the entire area suddenly increases, the brightness of both the sub-area image and the array area image will change synchronously, and the system will judge that there is no significant change in the sub-area through the ratio, thus avoiding false start.
[0059] S103, taking the brightness feature value of the current frame in the target sub-region image as the first feature value, taking the brightness feature value of the previous frame of the current frame in the target sub-region image as the second feature value, and calculating the difference between the first feature value and the second feature value to obtain the current multiple feature difference values.
[0060] The target sub-region image is any one of the multiple sub-region images, that is, this step performs the same operation on all sub-region images. Each feature difference reflects the relative brightness change of the same sub-region image between two consecutive frames.
[0061] S104, among the current multiple feature difference values, determine whether any feature difference value is greater than the current target difference threshold. If no feature difference value is greater than the current target difference threshold, return to execute S102 and subsequent steps; if any feature difference value is greater than the current target difference threshold, execute S105, start the linear array camera to shoot the linear array area.
[0062] Among them, the target difference threshold is used to measure whether the feature difference is large enough. It can be a fixed value or a dynamically changing value. If the feature difference values of all sub-areas are less than the set target difference threshold, the shooting terminal believes that these changes are just natural fluctuations in ambient light or small, non-important changes, and does not start the line array camera to shoot, and continues to repeat the monitoring process. When the feature difference value of a sub-area exceeds the set target difference threshold, it means that the brightness of the sub-area has changed significantly, and an important target (such as a person or vehicle) may have entered the area. The shooting terminal believes that this is an event that needs to be photographed, so it will start the line array camera to shoot the linear array area.
[0063] For example, in a scenario where an athlete is accurately captured near the finish line, the shooting terminal immediately activates the line array camera to capture an accurate image of the finish line to confirm the moment when the athlete reaches the finish line. Alternatively, in a scenario where a vehicle is accurately captured in a speed measurement area on a highway, or in a scenario where an unmanned entrance or exit (such as a factory, parking lot, etc.), the shooting terminal immediately activates the line array camera to capture the vehicle's license plate and other key details.
[0064] The above self-starting shooting method is applied to a shooting terminal including an area array camera and a line array camera, and aims to obtain the area array area image in real time through the area array camera and divide it into multiple sub-area images, calculate the brightness characteristic value of each sub-area image, and then compare the brightness difference between the current frame and the previous frame. If the characteristic difference value of any sub-area exceeds the set threshold, the line array camera is started to shoot. This method effectively solves the interference of global ambient light changes on judgment, reduces the situation of mistaken shooting, and thus improves the accuracy and efficiency of the system.
[0065] In a specific embodiment, under the premise that the target difference threshold is a dynamically changing value, in order to determine the current target difference threshold, the present invention may further perform the following steps:
[0066] A1. Obtain a reference difference threshold corresponding to the area array image at a preset reference brightness value.
[0067] The reference brightness value is a preset illumination standard value, which is used as a reference standard for the system to calculate the target difference threshold. The reference difference threshold is obtained by experiment and is the target difference threshold with the best recognition effect set under the reference brightness value.
[0068] A2. Calculate the brightness difference between the area array brightness value and the reference brightness value, and calculate the current target difference threshold value based on the brightness difference value and the reference difference threshold value.
[0069] The brightness difference is used to evaluate the change of the current lighting condition relative to the preset standard. In this specific embodiment, the brightness difference is set to be positively correlated with the target difference threshold.
[0070] In this way, by dynamically adjusting the target difference threshold according to the brightness value of the array area, the shooting terminal can adapt to different lighting environments. For example, in strong light conditions, increasing the threshold can effectively reduce false triggers caused by changes in ambient light, protect storage resources and improve shooting efficiency. In dim light conditions, lowering the threshold can ensure that the system can still keenly capture dynamic changes under low light conditions, improving the system's detection capabilities.
[0071] Optionally, the calculation formula of the target difference threshold is expressed as:
[0072] thre1=thre0+k1(L1-L0)
[0073] In the above formula, thre1 represents the target difference threshold; thre0 represents the reference difference threshold; k1 represents the preset brightness adjustment scale factor, k1>0; L1 represents the array area brightness value; L0 represents the reference brightness value.
[0074] In a specific embodiment, the present invention may further perform the following steps: setting the number of sub-region images, expressed as:
[0075]
[0076] In the above formula, n represents the number of sub-region images; ceil represents the upward rounding function; k2 represents the preset number adjustment scale factor; V 对象 Indicates the area of the target object when the target object appears completely in the array area; V 总 The area of the array region.
[0077] Optionally, let k2=1.2. In this way, through this method of setting the number of sub-regions, the area covered by the sub-region image can be slightly smaller than the area of the target object, which can ensure that the target object can be detected when it approaches or enters a sub-region, and effectively avoid the interference of small objects, thereby improving the accuracy and efficiency of detection.
[0078] In one embodiment, Figure 4 As shown, a self-starting shooting device is proposed, which is applied to a shooting terminal, wherein the shooting terminal includes an area array camera and a line array camera. The self-starting shooting device includes:
[0079] An area setting module 401 is used to set the area array area of the area array camera and the line array area of the line array camera;
[0080] The brightness characteristic value calculation module 402 is used to obtain in real time the area array area image obtained by the area array camera shooting the area array, divide the area array area image into a plurality of sub-area images, and calculate the brightness characteristic value of each sub-area image; wherein the brightness characteristic value is used to indicate the relative brightness of the corresponding sub-area image compared with the area array area image;
[0081] A judgment module 403 is started, which is used to use the brightness characteristic value of the current frame in the target sub-area image as the first characteristic value, and the brightness characteristic value of the previous frame of the current frame in the target sub-area image as the second characteristic value, and calculate the difference between the first characteristic value and the second characteristic value to obtain the current multiple characteristic difference values; wherein the target sub-area image is any one of the multiple sub-area images; among the current multiple characteristic difference values, if any one characteristic difference value is greater than the current target difference threshold, the linear array camera is started to shoot the linear array area.
[0082] Figure 5 FIG. 2 shows an internal structure diagram of a self-starting shooting device in one embodiment. Figure 5As shown, the self-starting shooting device includes a processor, a memory and a network interface connected via a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the self-starting shooting device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement the self-starting shooting method. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can implement the self-starting shooting method. Those skilled in the art can understand that Figure 5 The structure shown in the figure is merely a block diagram of a portion of the structure related to the scheme of the present application, and does not constitute a limitation on the self-starting shooting device to which the scheme of the present application is applied. The specific self-starting shooting device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0083] A computer-readable storage medium stores a computer program, which implements the following steps when executed by a processor: setting an area array area of the area array camera and a linear array area of the linear array camera; acquiring in real time an area array area image obtained by the area array camera shooting the area array area, dividing the area array area image into a plurality of sub-area images, and calculating a brightness characteristic value of each sub-area image; wherein the brightness characteristic value is used to indicate the relative brightness of the corresponding sub-area image compared with the area array area image; taking the brightness characteristic value of the current frame in the target sub-area image as a first characteristic value, taking the brightness characteristic value of the previous frame of the current frame in the target sub-area image as a second characteristic value, calculating the difference between the first characteristic value and the second characteristic value to obtain a plurality of current characteristic difference values; wherein the target sub-area image is any one of the plurality of sub-area images; and among the plurality of current characteristic difference values, if any one characteristic difference value is greater than the current target difference value threshold, starting the linear array camera to shoot the linear array area.
[0084] A self-starting shooting device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: setting the array area of the array camera and the linear array area of the linear array camera; acquiring in real time the array area image obtained by the array camera shooting the array area, dividing the array area image into a plurality of sub-area images, and calculating the brightness characteristic value of each sub-area image; wherein the brightness characteristic value is used to indicate the relative brightness of the corresponding sub-area image compared with the array area image; taking the brightness characteristic value of the current frame in the target sub-area image as the first characteristic value, taking the brightness characteristic value of the previous frame of the current frame in the target sub-area image as the second characteristic value, calculating the difference between the first characteristic value and the second characteristic value to obtain the current plurality of characteristic difference values; wherein the target sub-area image is any one of the plurality of sub-area images; and among the current plurality of characteristic difference values, if any one characteristic difference value is greater than the current target difference value threshold, starting the linear array camera to shoot the linear array area.
[0085] It should be noted that the above-mentioned self-starting shooting method, device, equipment and computer-readable storage medium belong to a general inventive concept, and the contents in the embodiments of the self-starting shooting method, device, equipment and computer-readable storage medium are applicable to each other.
[0086] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0087] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0088] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A self-starting shooting method, characterized in that: Applied to a shooting terminal, the shooting terminal includes an area array camera and a line array camera, and the method includes: Setting the area array area of the area array camera and the line array area of the line array camera; Acquire in real time an area array area image obtained by photographing the area array area with the area array camera, divide the area array area image into a plurality of sub-area images, and calculate a brightness characteristic value of each sub-area image; wherein the brightness characteristic value is used to indicate a relative brightness of a corresponding sub-area image compared to the area array area image; Taking the brightness feature value of the current frame in the target sub-region image as the first feature value, taking the brightness feature value of the previous frame of the current frame in the target sub-region image as the second feature value, and calculating the difference between the first feature value and the second feature value to obtain the current multiple feature difference values; wherein the target sub-region image is any one of the multiple sub-region images; Among the current multiple feature difference values, if any one feature difference value is greater than the current target difference threshold, the line array camera is started to shoot the line array area.
2. The method according to claim 1, characterized in that The step of calculating the brightness characteristic value of each sub-region image includes: Calculate the sum of the RBG brightness values of all pixels in each sub-region image to obtain the sub-region brightness value of each sub-region image; Calculate the average brightness value of all sub-areas to obtain the brightness value of the array area; The ratio of the sub-region brightness value of each sub-region image to the area array region brightness value is used as the brightness characteristic value of the corresponding sub-region image.
3. The method according to claim 1, characterized in that: The step of calculating the brightness characteristic value of each sub-region image includes: Calculate the sum of the grayscale values of all pixels in each sub-region image to obtain the sub-region brightness value of each sub-region image; Calculate the average brightness value of all sub-areas to obtain the brightness value of the array area; The ratio of the sub-region brightness value of each sub-region image to the area array region brightness value is used as the brightness characteristic value of the corresponding sub-region image.
4. The method according to claim 2 or 3, characterized in that: The method further comprises: Obtaining a reference difference threshold corresponding to the area array image at a preset reference brightness value; The brightness difference between the array area brightness value and the reference brightness value is calculated, and the current target difference threshold is calculated according to the brightness difference and the reference difference threshold; wherein the brightness difference is positively correlated with the target difference threshold.
5. The method according to claim 4, characterized in that The calculation of the brightness difference between the brightness value of the array area and the reference brightness value, and the calculation of the current target difference threshold according to the brightness difference and the reference difference threshold, is expressed as: thre1=thre0+k1(L1-L0) In the above formula, thre1 represents the target difference threshold; thre0 represents the reference difference threshold; k1 represents a preset brightness adjustment scale factor, k1>0; L1 represents the array area brightness value; L0 represents the reference brightness value.
6. The method according to claim 1, characterized in that The method further comprises: Set the number of sub-region images, expressed as: In the above formula, n represents the number of sub-region images; ceil represents the upward rounding function; k2 represents the preset number adjustment scale factor; V 对象 represents the target object area when the target object appears completely in the array area; V 总 Represents the area of the array region.
7. A self-starting photographing device, characterized in that: Applied to a shooting terminal, the shooting terminal includes an area array camera and a line array camera, and the self-starting shooting device includes: An area setting module, used to set the area array area of the area array camera and the line array area of the line array camera; a brightness characteristic value calculation module, used for acquiring in real time an area array area image obtained by the area array camera shooting the area array, dividing the area array area image into a plurality of sub-area images, and calculating a brightness characteristic value of each sub-area image; wherein the brightness characteristic value is used to indicate a relative brightness of a corresponding sub-area image compared to the area array area image; A judgment module is started, which is used to take the brightness characteristic value of the current frame in the target sub-area image as the first characteristic value, and take the brightness characteristic value of the previous frame of the current frame in the target sub-area image as the second characteristic value, and calculate the difference between the first characteristic value and the second characteristic value to obtain the current multiple characteristic difference values; wherein the target sub-area image is any one of the multiple sub-area images; among the current multiple characteristic difference values, if any one characteristic difference value is greater than the current target difference threshold, the linear array camera is started to shoot the linear array area.
8. A computer-readable storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the processor is caused to execute the steps of the method according to any one of claims 1 to 6.
9. A self-starting photographing device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method according to any one of claims 1 to 6.