Binocular electric police camera capture method, device, binocular electric police camera and storage medium
By using a binocular lens system in an electric alarm camera, using different focal lengths and mobility, the problem of poor capture effect of non-motor vehicles in the prior art has been solved, and a higher comprehensiveness and accuracy of capture is achieved.
Patent Information
- Application Number
- CN202411873797.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-18
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2044-12-18
AI Technical Summary
The existing non-motor vehicle capture technology is difficult to clearly record small targets such as non-motor vehicle license plates, and is compatible with motor vehicle capture and multi-lane capture.
A binocular electric alarm camera is used to perform scene coverage and small target recognition using different focal lengths and mobility of the first lens and the second lens respectively. The first lens is fixed and has a small focal length, which is used for scene coverage; the second lens is movable and has a large focal length, which is used to improve the recognition accuracy of small targets.
Through the combination of the binocular electric alarm camera, the comprehensiveness and accuracy of the capture are improved, the scene coverage and small object recognition are ensured, and the flexibility and controllability of the capture are enhanced.
Smart Images

Figure CN119383465B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent transportation, and in particular to a binocular electric police camera capture method, device, binocular electric police camera and storage medium. Background Art
[0002] In recent years, non-motor vehicles, especially electric bicycles, have become the preferred means of transportation for more and more people in work and life due to their economy and lightness.
[0003] The existing non-motor vehicle capture relies on the processing power of a single camera with a fixed lens. The capture effect is the same for non-motor vehicles and motor vehicles. It is compatible with motor vehicle capture and supports multi-lane capture. Although it can record the entire driving process of non-motor vehicles, the capture records are easily unclear due to the small size of non-motor vehicles and the easy damage of license plates. Summary of the invention
[0004] In view of this, the present application provides a binocular electric police camera capture method, device, binocular electric police camera and storage medium.
[0005] Specifically, the present application is implemented through the following technical solutions:
[0006] According to a first aspect of an embodiment of the present application, a binocular electric police camera capture method is provided, wherein the binocular electric police camera comprises a first lens and a second lens, wherein the focal length of the first lens is smaller than the focal length of the second lens, the first lens is fixed, and the second lens supports movement according to a configuration instruction, and the field of view of the second lens is within the field of view of the first lens, and the method comprises:
[0007] According to the configuration instruction for the field of view of the second lens, control the second lens to move to a corresponding position;
[0008] Determine a first capture behavior type and a first capture logic of the first lens according to the capture configuration information for the first lens; and determine a second capture behavior type and a second capture logic of the second lens according to the capture configuration information for the second lens; wherein, for the same type of capture object, the first capture behavior type is different from the second capture behavior type;
[0009] Performing capture behavior detection according to the image data collected by the first lens, the first capture behavior type, and the first capture logic, and uploading a first capture image of the capture behavior of any capture object when it is detected that the capture behavior exists in the capture object;
[0010] Based on the image data collected by the second lens, the second capturing behavior type, and the second capturing logic, capturing behavior detection is performed, and when it is detected that any capturing object has a capturing behavior, a second capturing image of the capturing behavior for the capturing object is uploaded.
[0011] According to a second aspect of an embodiment of the present application, a binocular electric police camera capture device is provided, wherein the binocular electric police camera comprises a first lens and a second lens, wherein the focal length of the first lens is smaller than the focal length of the second lens, the first lens is fixed, and the second lens supports movement according to a configuration instruction, and the field of view of the second lens is within the field of view of the first lens; the device comprises:
[0012] A control unit, configured to control the second lens to move to a corresponding position according to a configuration instruction for the field of view of the second lens;
[0013] A determination unit, configured to determine a first capture behavior type and a first capture logic of the first lens according to the capture configuration information for the first lens; and to determine a second capture behavior type and a second capture logic of the second lens according to the capture configuration information for the second lens; wherein, for the same type of capture object, the first capture behavior type is different from the second capture behavior type;
[0014] A first capture processing unit is used to perform capture behavior detection based on the image data collected by the first lens, the first capture behavior type, and the first capture logic, and when it is detected that any capture object has a capture behavior, upload a first capture image of the capture behavior of the capture object;
[0015] The second capture processing unit is used to detect the capture behavior based on the image data collected by the second lens, the second capture behavior type, and the second capture logic, and when it is detected that any capture object has a capture behavior, upload a second capture image of the capture behavior for the capture object.
[0016] According to a third aspect of an embodiment of the present application, a binocular electric police camera is provided, comprising a processor, a memory, a first lens and a second lens, wherein the focal length of the first lens is smaller than the focal length of the second lens, the first lens is fixed, the second lens supports movement according to a configuration instruction, and the field of view of the second lens is within the field of view of the first lens; wherein:
[0017] The first lens and the second lens are used for image acquisition;
[0018] The memory is used to store machine executable instructions that can be executed by the processor;
[0019] The processor is used to execute machine executable instructions to implement the method provided by the first aspect.
[0020] According to a fourth aspect of an embodiment of the present application, a machine-readable storage medium is provided, wherein the machine-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are executed by a processor, the method provided in the first aspect is implemented.
[0021] The technical solution provided by this application can at least bring the following beneficial effects:
[0022] For a binocular electric police camera used for capturing images, the second lens can be controlled to move to a corresponding position according to the configuration instructions for the field of view of the second lens of the binocular electric police camera; in addition, the first capturing behavior type of the first lens and the first capturing logic can be determined according to the capturing configuration information for the first lens; and the second capturing behavior type of the second lens and the second capturing logic can be determined according to the capturing configuration information for the second lens. Furthermore, capturing behavior detection can be performed according to the image data collected by the first lens, the first capturing behavior type, and the first capturing logic, and when it is detected that any capturing object has a capturing behavior, the first capturing image of the capturing behavior for the capturing object can be uploaded; according to The capture behavior is detected through the image data collected by the second lens, the second capture behavior type, and the second capture logic, and when it is detected that any capture object has a capture behavior, the second capture image of the capture behavior of the capture object is uploaded. By applying a binocular electric police camera including a first lens and a second lens with different focal lengths to capture, the first lens with a smaller focal length can ensure scene coverage, and the second lens with a larger focal length can improve the recognition accuracy of small targets. The first lens and the second lens can capture different capture behavior types for the same type of capture object, thereby improving the comprehensiveness and accuracy of the capture. In addition, the second lens supports movement according to configuration instructions, thereby improving the flexibility and controllability of the second lens capture. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is a flowchart of a binocular electric police camera capture method shown in an exemplary embodiment of the present application;
[0024] Figure 2 is a schematic diagram of a field of view range of a first lens and a field of view range of a second lens shown in an exemplary embodiment of the present application;
[0025] Figure 3 is a schematic diagram of a field of view range configuration interface shown in an exemplary embodiment of the present application;
[0026] Figure 4is a schematic diagram of a field of view range configuration interface shown in an exemplary embodiment of the present application;
[0027] Figure 5 It is a structural schematic diagram of a binocular electric police camera capture device shown in an exemplary embodiment of the present application;
[0028] Figure 6 It is a schematic diagram of the hardware structure of a binocular electric police camera shown in an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the technical solutions provided by the embodiments of the present application and to make the above-mentioned purposes, features and advantages of the embodiments of the present application more obvious and understandable, the technical solutions in the embodiments of the present application are further described in detail below in conjunction with the accompanying drawings.
[0030] It should be noted that the serial numbers of the steps in the embodiments of the present application do not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0031] See also Figure 1 , is a flow chart of a binocular electric police camera capture method provided in an embodiment of the present application, such as Figure 1 As shown, the binocular electric police camera capture method may include the following steps:
[0032] Step S100: Control the second lens to move to a corresponding position according to a configuration instruction for the field of view of the second lens.
[0033] In the embodiments of the present application, taking into account the actual scenario, on the one hand, intersection capture needs to ensure that all lanes in the same direction are covered, and on the other hand, it needs to ensure that for small vehicles such as non-motor vehicles, license plate information and other information can be captured more clearly, that is, it is necessary to take into account the feature analysis of large scenes and small license plates.
[0034] When using a single-lens camera to capture images at intersections, if a small lens (i.e. a lens with a larger focal length) is selected, the non-motor vehicle license plate is small, the pixels are insufficient, and the capture effect is poor. This may cause the user to not be able to see the license plate clearly, and the camera's accuracy in recognizing the license plate will also be relatively low. If a large lens (i.e. a lens with a smaller focal length) is selected, the scene will be too small, and the area covered by the camera's field of view may cover some lanes and zebra crossings, but not the intersection, resulting in some capture behaviors, such as vehicles not driving according to the guidance, being unable to be captured.
[0035] Based on the above considerations, in the embodiment of the present application, a binocular electric police camera is applied to capture at intersections, and the two lenses of the binocular electric police camera (which can be respectively referred to as the first lens and the second lens) can have different focal lengths. The lens with a smaller focal length (taking the first lens as an example) is used to ensure the coverage of the scene, and the lens with a larger focal length (taking the second lens as an example) is used to ensure the capture and recognition of small targets (such as license plates of non-motor vehicles).
[0036] For example, lens 1 may be a lens with a focal length of 16 mm, and lens 2 may be a lens with a focal length of 50 mm.
[0037] Exemplarily, the field of view of the second lens is within the field of view of the first lens.
[0038] In one example, the field of view of the first lens and the field of view of the second lens can be as follows: Figure 2 shown.
[0039] For example, in order to improve the flexibility and controllability of the second lens capture, the second lens supports movement according to configuration instructions, that is, relevant personnel can move the second lens according to needs to change the position corresponding to the field of view of the second lens.
[0040] For example, relevant personnel can control the second lens to move up, down, left, and right.
[0041] Step S110: determine the first capture behavior type and the first capture logic of the first lens based on the capture configuration information for the first lens; and determine the second capture behavior type and the second capture logic of the second lens based on the capture configuration information for the second lens; wherein, for the same type of capture object, the first capture behavior type is different from the second capture behavior type.
[0042] In the embodiment of the present application, the first lens and the second lens of the binocular camera can capture independently, that is, the two lenses each capture according to the set capture logic.
[0043] Accordingly, in order to achieve independent capture of the first lens and the second lens of the binocular camera, the first lens and the second lens can be configured for capture respectively. Then, the binocular camera can perform corresponding capture processing through the first lens according to the capture configuration information for the first lens, and perform corresponding capture processing through the second lens according to the capture configuration information for the second lens.
[0044] Exemplarily, the capture configuration information may include but is not limited to the capture behavior type and capture logic.
[0045] Exemplarily, the capture behavior type (which may be referred to as the first capture behavior type) and the capture logic (which may be referred to as the first capture logic) of the first lens may be determined according to the capture configuration information for the first lens.
[0046] Similarly, the capture behavior type (which may be referred to as the second capture behavior type) and the capture logic (which may be referred to as the second capture logic) of the second lens may be determined according to the capture configuration information for the second lens.
[0047] Exemplarily, for the same type of captured object, the first capture behavior type is different from the second capture behavior type.
[0048] Exemplarily, the types of captured objects include motor vehicles, non-motor vehicles, or pedestrians.
[0049] For example, for a non-motor vehicle, the captured behavior type of the first lens may include running a red light, and the captured behavior type of the second lens may include not wearing a helmet.
[0050] In an example, the first capture logic may include a capture trigger position and the number of captured images.
[0051] For example, for red light running behavior, the trigger position for capturing the red light running behavior and the number of captured images required for the red light running behavior (such as 3 images) can be pre-set in the image screen of the first lens.
[0052] In one example, the second capture logic may include the number of captured images.
[0053] It should be noted that, for the second lens, the number of snapshots may be a default value, such as 1.
[0054] Step S120: perform capture behavior detection based on the image data collected by the first lens, the first capture behavior type, and the first capture logic, and when it is detected that any capture object has a capture behavior, upload a first capture image of the capture behavior for the capture object.
[0055] Step S130: perform capture behavior detection based on the image data collected by the second lens, the second capture behavior type, and the second capture logic, and when it is detected that any capture object has a capture behavior, upload a second capture image of the capture behavior for the capture object.
[0056] In the embodiment of the present application, when the first capture behavior type and the first capture logic for the first lens are determined, capture logic processing can be performed on the first lens.
[0057] Similarly, when the second capture behavior type and the second capture logic for the second lens are determined, the capture logic processing can be performed on the second lens.
[0058] That is, the capture logic processing for the first lens and the capture logic processing for the second lens are independent of each other.
[0059] Exemplarily, for any type of capturing behavior that needs to be captured by the first lens, capturing behavior detection can be performed based on the image data collected by the first lens and the capturing logic of the capturing behavior.
[0060] For example, taking a motor vehicle running a red light as an example, the red light running behavior of the motor vehicle can be detected based on the stop line configured for the first lens and the image data collected by the first lens.
[0061] When it is detected that any captured object has captured behavior, a captured image (which may be referred to as a first captured image) of the captured behavior of the captured object may be obtained, and the first captured image may be uploaded.
[0062] Exemplarily, a capture record of the capture behavior of the capture object may be generated based on the first capture image of the capture behavior of the capture object, and the capture record may be uploaded.
[0063] Similarly, for any type of capturing behavior that needs to be captured by the second lens, the capturing behavior detection can be performed based on the image data collected by the second lens and the capturing logic of the capturing behavior.
[0064] For example, taking the behavior of driving a non-motor vehicle without wearing a helmet as an example, the non-motor vehicle detection can be performed based on the image data collected by the second lens, and when a non-motor vehicle is detected, the driver can be detected for wearing a helmet, thereby realizing the detection of the behavior of driving a non-motor vehicle without wearing a helmet.
[0065] When it is detected that any captured object has captured behavior, a captured image (which may be referred to as a second captured image) of the captured behavior of the captured object may be obtained, and the second captured image may be uploaded.
[0066] Exemplarily, a capture record of the capture behavior of the captured object may be generated based on the second capture image of the capture behavior of the captured object, and the capture record may be uploaded.
[0067] It can be seen that in Figure 1In the method flow shown, for a binocular electric police camera used for capturing images, the second lens can be controlled to move to a corresponding position based on the configuration instructions for the field of view of the second lens of the binocular electric police camera; in addition, the first capturing behavior type of the first lens and the first capturing logic can be determined based on the capturing configuration information for the first lens; and the second capturing behavior type and the second capturing logic can be determined based on the capturing configuration information for the second lens. Furthermore, capturing behavior detection can be performed based on the image data collected by the first lens, the first capturing behavior type, and the first capturing logic, and when it is detected that any capturing object has a capturing behavior, the first capturing image of the capturing behavior for the capturing object can be uploaded. Transmit; based on the image data collected by the second lens, the second capturing behavior type, and the second capturing logic, the capturing behavior is detected, and when it is detected that any capturing object has a capturing behavior, the second capturing image of the capturing behavior of the capturing object is uploaded. By applying a binocular electric police camera including a first lens and a second lens with different focal lengths to capturing, the first lens with a smaller focal length can ensure scene coverage, and the second lens with a larger focal length can improve the recognition accuracy of small targets. The first lens and the second lens can capture different capturing behavior types for the same type of capturing object, thereby improving the comprehensiveness and accuracy of capturing. In addition, the second lens supports movement according to configuration instructions, thereby improving the flexibility and controllability of capturing with the second lens.
[0068] In some embodiments, the field of view of the first lens may include zebra crossings on both sides of the intersection along the direction of the lens, traffic lights on the opposite side along the direction of the lens, and lane lines of the lane along the direction of the lens;
[0069] The first capture behavior type includes a capture behavior associated with a traffic light, a capture behavior associated with a zebra crossing, and a portion or all of a capture behavior associated with a lane line;
[0070] The second capture behavior type includes the capture behavior associated with the capture object body.
[0071] For example, during the deployment of binocular electric police cameras, the field of view of the first lens can be controlled to cover the zebra crossings on both sides of the intersection along the direction of the lens, the traffic lights on the opposite side along the direction of the lens, and the lane lines of the lane along the direction of the lens. The schematic diagram can be as follows: Figure 2 As shown ( Figure 2 Signal lights not shown).
[0072] Accordingly, the capture behavior type of the first lens (ie, the first capture behavior type) may include capture behaviors associated with traffic lights, capture behaviors associated with zebra crossings, and some or all of capture behaviors associated with lane lines.
[0073] For example, the first capture behavior type may include red light running (including part or all of motor vehicle running a red light, non-motor vehicle running a red light or pedestrian running a red light), (motor vehicle) failure to give way to pedestrians, (motor vehicle) crossing lane lines, illegal lane changes, etc.
[0074] Exemplarily, the second capture behavior type includes a capture behavior associated with the capture object itself.
[0075] For example, the second capture behavior type may include some or all of the behaviors such as non-motor vehicle drivers not wearing helmets, non-motor vehicles carrying passengers, and non-motor vehicles equipped with awnings and windshields.
[0076] Among them, since the focal length of the second lens is smaller, it can capture more detailed information, so that the capturing behavior associated with the captured object can be more accurate.
[0077] Through the cooperation of the first lens with a large focal length and the second lens with a small focal length, both the comprehensiveness of the captured behavior types and the accuracy of the captured behavior can be guaranteed.
[0078] In some embodiments, the determining of the first capture behavior type of the first lens and the first capture logic according to the capture configuration information for the first lens may include:
[0079] When a capture configuration request for a first lens of a binocular electric police camera is detected, a capture configuration interface for the first lens is output;
[0080] Determine a first capture behavior type of the first lens and a first capture logic according to a configuration operation instruction detected through a capture configuration interface for the first lens;
[0081] and / or,
[0082] The above-mentioned determining the second capture behavior type of the second lens and the second capture logic according to the capture configuration information for the second lens may include:
[0083] When a capture configuration request for a second lens of a binocular electric police camera is detected, a capture configuration interface for the second lens is output;
[0084] According to the configuration operation instruction detected through the snapshot configuration interface for the second lens, the second snapshot behavior type of the second lens and the second snapshot logic are determined.
[0085] Exemplarily, the first lens and the second lens of the binocular electric police camera can be configured to capture photos independently.
[0086] In one example, the configuration interface of the binocular electric police camera may include a channel selection option, through which configuration may be selected for the first lens or the second lens.
[0087] For example, the channel selection options include channel 1 or channel 2, channel 1 corresponds to the first lens, and channel 2 corresponds to the second lens. Relevant personnel can select channel 1 or channel 2 to choose to configure the capture for the first lens or the second lens.
[0088] For example, when a selection instruction for channel 1 is detected by a relevant person, the configuration interface of the binocular electric police camera can be switched to the capture configuration interface for the first lens.
[0089] Similarly, when a selection instruction for channel 2 is detected by a relevant person, the configuration interface of the binocular electric police camera can be switched to the capture configuration interface for the second lens.
[0090] In another example, independent capture configuration interfaces can be set for the first lens and the second lens of the binocular electric police camera respectively, and relevant personnel can configure the capture of the first lens by accessing the capture configuration interface corresponding to the first lens, and can configure the capture of the second lens by accessing the capture configuration interface corresponding to the second lens.
[0091] Exemplarily, when a capture configuration request for the first lens of a binocular electric police camera is detected, for example, when a channel 1 selection instruction input through the configuration interface of the binocular electric police camera is detected, a capture configuration interface for the first lens can be output.
[0092] Exemplarily, the capture configuration interface for the first lens includes options for the capture behavior type that can be configured for the first lens. Relevant personnel can select the first capture behavior type to be configured according to needs and configure the corresponding first capture logic.
[0093] For example, for red light running behavior, you can configure the corresponding trigger line and the number of snapshots.
[0094] Similarly, when a capture configuration request for the second lens of the binocular electric police camera is detected, for example, when a channel 2 selection instruction input through the configuration interface of the binocular electric police camera is detected, a capture configuration interface for the second lens can be output.
[0095] The second capture behavior type of the second lens and the second capture logic may be determined according to the configuration operation instruction detected through the capture configuration interface for the second lens.
[0096] In one example, the capture configuration interface for the second lens includes a field of view range configuration option;
[0097] Controlling the second lens to move to a corresponding position according to the configuration instruction for the field of view of the second lens may include:
[0098] When a selection instruction of a field of view range configuration option input through the capture configuration interface of the second lens is detected, a field of view range configuration interface is output; wherein the field of view range configuration interface includes a current field of view range of the second lens and a total candidate field of view range of the second lens;
[0099] Determining a target field of view range of the second lens according to a field of view range configuration instruction detected through a field of view range configuration interface;
[0100] Determining the target position of the second lens according to the target field of view of the second lens and the corresponding relationship between the field of view and the position of the second lens;
[0101] Control the second lens to move to the target position.
[0102] Exemplarily, the capture configuration interface of the second lens includes a field of view configuration option. Relevant personnel can initiate the field of view configuration for the second lens by selecting the field of view configuration option.
[0103] Accordingly, when a selection instruction of a field of view range configuration option input through the capture configuration interface of the second lens is detected, the field of view range configuration interface may be output.
[0104] Exemplarily, the field of view range configuration interface includes the current field of view range of the second lens and the total candidate field of view range of the second lens.
[0105] Relevant personnel can configure the field of view of the second lens through the field of view configuration interface.
[0106] Accordingly, the target field of view range of the second lens may be determined according to the field of view range configuration instruction detected through the field of view range configuration interface.
[0107] As an example, the total range of the candidate fields of view of the second lens is a rectangular area, and the current field of view range is a sub-area within the total range of the candidate fields of view;
[0108] Determining the target field of view range of the second lens according to the field of view range configuration instruction detected through the field of view range configuration interface may include:
[0109] Moving the current field of view according to the detected movement instruction for the current field of view;
[0110] When a field of view configuration confirmation instruction is detected, a target field of view for the second lens is determined according to a final position of the current field of view.
[0111] Exemplarily, the total range of the candidate fields of view of the second lens is a rectangular area, and the current field of view range is a sub-area within the total range of the candidate fields of view. The schematic diagram thereof can be as follows: Figure 3 shown.
[0112] Relevant personnel can adjust the field of view of the second lens by moving the current field of view.
[0113] Exemplarily, the relevant personnel can move the current field of view by dragging the current field of view, or by using the up, down, left, and right control keys on the keyboard.
[0114] Accordingly, the current field of view range can be moved according to the detected movement instruction for the current field of view range, and when a field of view range configuration confirmation instruction is detected, the target field of view range for the second lens is determined according to the final position of the current field of view range.
[0115] For example, Figure 3 and Figure 4 As shown, the user can move the current field of view to the specified position by dragging, and click the "OK" function button to make the configuration effective. The target field of view is the position shown in 4.
[0116] For example, when the user clicks the "Cancel" function button, the configuration operation is canceled, and the target field of view range is as follows: Figure 3 The position shown (i.e. original position).
[0117] Exemplarily, when the target field of view of the second lens is determined, the target position of the second lens can be determined based on the target field of view of the second lens and the correspondence between the field of view and the position of the second lens, and the second lens can be controlled to move to the target position.
[0118] Exemplarily, the correspondence between the field of view range and the second lens position may include a correspondence between a center point of the field of view range and the second lens position.
[0119] The method provided by the present application is described above. The device provided by the present application is described below:
[0120] See also Figure 5 , is a structural schematic diagram of a binocular electric police camera capture device provided in an embodiment of the present application, wherein the binocular electric police camera comprises a first lens and a second lens with different focal lengths, and the focal length of the first lens is smaller than the focal length of the second lens, the first lens is fixed, and the second lens supports movement according to a configuration instruction, and the field of view of the second lens is within the field of view of the first lens; Figure 5 As shown, the binocular electric police camera capture device may include:
[0121] A control unit 510, configured to control the second lens to move to a corresponding position according to a configuration instruction for the field of view of the second lens;
[0122] A determination unit 520 is used to determine a first capture behavior type and a first capture logic of the first lens according to the capture configuration information for the first lens; and to determine a second capture behavior type and a second capture logic of the second lens according to the capture configuration information for the second lens; wherein, for the same type of capture object, the first capture behavior type is different from the second capture behavior type;
[0123] The first capture processing unit 530 is used to perform capture behavior detection based on the image data collected by the first lens, the first capture behavior type, and the first capture logic, and when it is detected that any capture object has a capture behavior, upload a first capture image of the capture behavior of the capture object;
[0124] The second capture processing unit 540 is used to perform capture behavior detection based on the image data collected by the second lens, the second capture behavior type, and the second capture logic, and when it is detected that any capture object has a capture behavior, upload a second capture image of the capture behavior for the capture object.
[0125] In some embodiments, the field of view of the first lens includes zebra crossings on both sides of the intersection along the direction of the lens, traffic lights on the opposite side along the direction of the lens, and lane lines of the lane along the direction of the lens;
[0126] The first capture behavior type includes a capture behavior associated with a traffic light, a capture behavior associated with a zebra crossing, and a portion or all of a capture behavior associated with a lane line;
[0127] The second capture behavior type includes a capture behavior associated with the capture object itself.
[0128] In some embodiments, the first snapshot logic includes a snapshot trigger position and the number of snapshot images;
[0129] and / or,
[0130] The second snapshot logic includes the number of snapshot images.
[0131] In some embodiments, the determining unit 520 determines the first capture behavior type of the first lens and the first capture logic according to the capture configuration information for the first lens, including:
[0132] When a capture configuration request for a first lens of the binocular electric police camera is detected, outputting a capture configuration interface for the first lens;
[0133] According to the configuration operation instruction detected through the snapshot configuration interface for the first lens, a first snapshot behavior type of the first lens and a first snapshot logic are determined.
[0134] In some embodiments, the determining unit 520 determines the second capture behavior type of the second lens and the second capture logic according to the capture configuration information for the second lens, including:
[0135] When a capture configuration request for a second lens of the binocular electric police camera is detected, outputting a capture configuration interface for the second lens;
[0136] According to the configuration operation instruction detected through the snapshot configuration interface for the second lens, the second snapshot behavior type and the second snapshot logic of the second lens are determined.
[0137] In some embodiments, the capture configuration interface for the second lens includes a field of view range configuration option;
[0138] The control unit 510 controls the second lens to move to a corresponding position according to the configuration instruction for the field of view of the second lens, including:
[0139] When a selection instruction of a field of view range configuration option input through the capture configuration interface of the second lens is detected, a field of view range configuration interface is output; wherein the field of view range configuration interface includes a current field of view range of the second lens and a total candidate field of view range of the second lens;
[0140] Determining a target field of view range of the second lens according to a field of view range configuration instruction detected through the field of view range configuration interface;
[0141] Determining a target position of the second lens according to a target field of view of the second lens and a corresponding relationship between the field of view and a position of the second lens;
[0142] Control the second lens to move to the target position.
[0143] In some embodiments, the total range of the candidate fields of view of the second lens is a rectangular area, and the current field of view range is a sub-area within the total range of the candidate fields of view;
[0144] The control unit 510 determines the target field of view range of the second lens according to the field of view range configuration instruction detected through the field of view range configuration interface, including:
[0145] Moving the current field of view according to the detected movement instruction for the current field of view;
[0146] When a field of view configuration confirmation instruction is detected, a target field of view for the second lens is determined according to a final position of the current field of view.
[0147] See also Figure 6 , which is a hardware structure diagram of a binocular electric police camera provided in an embodiment of the present application. The binocular electric police camera may include a processor 601, a memory 602 storing machine executable instructions, a first lens 604, and a second lens 605. The processor 601 and the memory 602 may communicate via a system bus 603. In addition, by reading and executing the machine executable instructions corresponding to the capture control logic based on the binocular camera in the memory 602, the processor 601 may execute the binocular electric police camera capture method described above.
[0148] The memory 602 mentioned herein may be any electronic, magnetic, optical or other physical storage device that may contain or store information, such as executable instructions, data, etc. For example, the machine-readable storage medium may be: RAM (RadomAccess Memory, random access memory), volatile memory, non-volatile memory, flash memory, storage drive (such as hard disk drive), solid state drive, any type of storage disk (such as optical disk, DVD, etc.), or similar storage medium, or a combination thereof.
[0149] In some embodiments, a machine-readable storage medium is also provided. Figure 6 The memory 602 in the machine-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are executed by the processor, the binocular electric police camera capture method described above is implemented. For example, the machine-readable storage medium can be ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Claims
1. A binocular electric police camera capture method, characterized in that: The binocular electric police camera includes a first lens and a second lens, and the focal length of the first lens is smaller than the focal length of the second lens, the first lens is fixed, and the second lens supports movement according to configuration instructions; The field of view of the second lens is within the field of view of the first lens; the method comprises: According to the configuration instruction for the field of view of the second lens, control the second lens to move to a corresponding position; According to the capture configuration information for the first lens, a first capture behavior type and a first capture logic of the first lens are determined; and according to the capture configuration information for the second lens, a second capture behavior type and a second capture logic of the second lens are determined; wherein, for the same type of capture object, the first capture behavior type is different from the second capture behavior type; and the capture logic processing for the first lens and the capture logic processing for the second lens are independent of each other; Performing capture behavior detection according to the image data collected by the first lens, the first capture behavior type, and the first capture logic, and uploading a first capture image of the capture behavior of any capture object when it is detected that the capture behavior exists in the capture object; Based on the image data collected by the second lens, the second capturing behavior type, and the second capturing logic, capturing behavior detection is performed, and when it is detected that any capturing object has a capturing behavior, a second capturing image of the capturing behavior for the capturing object is uploaded.
2. The method according to claim 1, characterized in that The field of view of the first lens includes zebra crossings on both sides of the intersection along the direction of the lens, traffic lights on the opposite side along the direction of the lens, and lane lines of the lane along the direction of the lens; The first capture behavior type includes a capture behavior associated with a traffic light, a capture behavior associated with a zebra crossing, and a portion or all of a capture behavior associated with a lane line; The second capture behavior type includes a capture behavior associated with the capture object.
3. The method according to claim 1, characterized in that The first snapshot logic includes a snapshot trigger position and the number of snapshot images; and / or, The second snapshot logic includes the number of snapshot images.
4. The method according to claim 1, characterized in that: The determining, based on the capture configuration information for the first lens, a first capture behavior type of the first lens and a first capture logic includes: When a capture configuration request for a first lens of the binocular electric police camera is detected, outputting a capture configuration interface for the first lens; Determining a first capture behavior type and a first capture logic of the first lens according to a configuration operation instruction detected through a capture configuration interface for the first lens; and / or, The determining, based on the capture configuration information for the second lens, the second capture behavior type of the second lens and the second capture logic includes: When a capture configuration request for a second lens of the binocular electric police camera is detected, outputting a capture configuration interface for the second lens; According to the configuration operation instruction detected through the snapshot configuration interface for the second lens, the second snapshot behavior type and the second snapshot logic of the second lens are determined.
5. The method according to claim 4, characterized in that The capture configuration interface for the second lens includes a field of view range configuration option; The step of controlling the second lens to move to a corresponding position according to a configuration instruction for the field of view of the second lens includes: When a selection instruction of a field of view range configuration option input through the capture configuration interface of the second lens is detected, a field of view range configuration interface is output; wherein the field of view range configuration interface includes a current field of view range of the second lens and a total candidate field of view range of the second lens; Determining a target field of view range of the second lens according to a field of view range configuration instruction detected through the field of view range configuration interface; Determining a target position of the second lens according to a target field of view of the second lens and a corresponding relationship between the field of view and a position of the second lens; Control the second lens to move to the target position.
6. The method according to claim 5, characterized in that The total range of the candidate fields of view of the second lens is a rectangular area, and the current field of view range is a sub-area within the total range of the candidate fields of view; The step of determining a target field of view range of the second lens according to the field of view range configuration instruction detected through the field of view range configuration interface includes: Moving the current field of view according to the detected movement instruction for the current field of view; When a field of view range configuration confirmation instruction is detected, a target field of view range for the second lens is determined according to a final position of the current field of view range.
7. A binocular electric police camera capture device, characterized in that: The binocular electric police camera includes a first lens and a second lens, and the focal length of the first lens is smaller than the focal length of the second lens, the first lens is fixed, and the second lens supports movement according to configuration instructions, and the field of view of the second lens is within the field of view of the first lens; the device includes: A control unit, configured to control the second lens to move to a corresponding position according to a configuration instruction for the field of view of the second lens; A determination unit, used to determine a first capture behavior type and a first capture logic of the first lens according to the capture configuration information for the first lens; and to determine a second capture behavior type and a second capture logic of the second lens according to the capture configuration information for the second lens; wherein, for the same type of capture object, the first capture behavior type is different from the second capture behavior type; and the capture logic processing for the first lens and the capture logic processing for the second lens are independent of each other; A first capture processing unit is used to perform capture behavior detection based on the image data collected by the first lens, the first capture behavior type, and the first capture logic, and when it is detected that any capture object has a capture behavior, upload a first capture image of the capture behavior of the capture object; The second capture processing unit is used to detect the capture behavior based on the image data collected by the second lens, the second capture behavior type, and the second capture logic, and when it is detected that any capture object has a capture behavior, upload a second capture image of the capture behavior for the capture object.
8. The device according to claim 7, characterized in that The field of view of the first lens includes zebra crossings on both sides of the intersection along the direction of the lens, traffic lights on the opposite side along the direction of the lens, and lane lines of the lane along the direction of the lens; The first capture behavior type includes a capture behavior associated with a traffic light, a capture behavior associated with a zebra crossing, and a portion or all of a capture behavior associated with a lane line; The second capture behavior type includes a capture behavior associated with the capture object itself; and / or, The first snapshot logic includes a snapshot trigger position and the number of snapshot images; and / or, The second capture logic includes the number of captured images; and / or, The determining unit determines the first capture behavior type of the first lens and the first capture logic according to the capture configuration information for the first lens, including: When a capture configuration request for a first lens of the binocular electric police camera is detected, outputting a capture configuration interface for the first lens; Determining a first capture behavior type and a first capture logic of the first lens according to a configuration operation instruction detected through a capture configuration interface for the first lens; and / or, The determining unit determines the second capture behavior type of the second lens and the second capture logic according to the capture configuration information for the second lens, including: When a capture configuration request for a second lens of the binocular electric police camera is detected, outputting a capture configuration interface for the second lens; Determining a second capture behavior type and a second capture logic of the second lens according to a configuration operation instruction detected through a capture configuration interface for the second lens; Wherein, the capture configuration interface for the second lens includes a field of view range configuration option; The control unit controls the second lens to move to a corresponding position according to a configuration instruction for the field of view of the second lens, including: When a selection instruction of a field of view range configuration option input through the capture configuration interface of the second lens is detected, a field of view range configuration interface is output; wherein the field of view range configuration interface includes a current field of view range of the second lens and a total candidate field of view range of the second lens; Determining a target field of view range of the second lens according to a field of view range configuration instruction detected through the field of view range configuration interface; Determining a target position of the second lens according to a target field of view of the second lens and a corresponding relationship between the field of view and a position of the second lens; Controlling the second lens to move to the target position; The total candidate field of view range of the second lens is a rectangular area, and the current field of view range is a sub-area within the total candidate field of view range; The control unit determines the target field of view range of the second lens according to the field of view range configuration instruction detected through the field of view range configuration interface, including: Moving the current field of view according to the detected movement instruction for the current field of view; When a field of view range configuration confirmation instruction is detected, a target field of view range for the second lens is determined according to a final position of the current field of view range.
9. A binocular electric police camera, characterized in that: The system comprises a processor, a memory, a first lens and a second lens, wherein the focal length of the first lens is smaller than the focal length of the second lens, the first lens is fixed, the second lens supports movement according to configuration instructions, and the field of view of the second lens is within the field of view of the first lens; wherein: The first lens and the second lens are used for image acquisition; The memory is used to store machine executable instructions that can be executed by the processor; The processor is used to execute machine executable instructions to implement the method according to any one of claims 1-6.
10. A machine-readable storage medium, characterized in that: The machine-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are executed by a processor, the method described in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Computer-aided video capture and identification system
CN101847318A
Surveillance method of intelligent video surveillance system based on multi-camera data fusion
CN103248867A
Traffic control method, device and system, equipment and storage medium
CN112529348A