Multi-camera snapshot method and device, electronic equipment and storage medium

By using ball machine coordinate information and reception time to calculate the scheduling weight of the point to be captured in a multi-camera system, combining the motion coefficient and control coefficient to optimize the capture queue, the problem of only suitable for distance-first scenarios in the existing technology is solved, and the problem of "availability" is realized. The scope of application of multi-camera capture methods is expanded.

CN118900362APending Publication Date: 2024-11-05ZHEJIANG UNIVIEW TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310507856.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-04
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

The existing multi-camera capture methods are based only on horizontal and vertical coordinates, and cannot effectively take into account both distance priority and time priority scenarios, resulting in a narrow range of application.

Method used

By receiving the ball machine coordinate information and reception time sent by the panoramic camera, determine the space-time information of the point to be captured, calculate its scheduling weight, combine the horizontal and vertical motion coefficients, motion control coefficients and time control coefficients, optimize the capture queue to achieve space and time Take into account the distribution characteristics.

Benefits of technology

The scope of application of multi-camera capture methods has been improved, and it can effectively capture shots in scenarios where distance priority and time priority are preferred.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118900362A_ABST
    Figure CN118900362A_ABST
Patent Text Reader

Abstract

The invention provides a multi-camera snapshot method and device, electronic equipment and a storage medium, and relates to the technical field of camera shooting, and the multi-camera snapshot method comprises the steps: receiving ball machine coordinate information corresponding to at least one to-be-snapshot point sent by at least one panoramic camera; determining spatio-temporal information corresponding to each point to be snapshot; the spatio-temporal information comprises the ball machine coordinate information and a receiving duration corresponding to the ball machine coordinate information determined based on the current moment; determining a scheduling weight corresponding to the to-be-captured point based on the spatio-temporal information corresponding to the to-be-captured point; and snapshotting each point to be snapshotted based on each scheduling weight. According to the method, the spatial distribution characteristic and the time distribution characteristic are considered at the same time, and a distance-first scene and a time-first scene can be considered, so that the application range of the multi-camera snapshot method is widened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of camera technology, and in particular to a multi-camera capture method, device, electronic equipment and storage medium. Background Art

[0002] Multi-cameras have become the development trend of cameras, among which panoramic cameras take into account the overall situation, while ball cameras take into account the details. Panoramic cameras are used to perform large-scale intelligent detection, and then linked to ball cameras for clear capture. The cooperation between panoramic cameras and ball cameras takes into account both the overall situation of a large range and the details of the range.

[0003] In the related art, each panoramic camera usually determines its own capture queue based on the distribution of its own capture point coordinates, and sends its own capture queue to the ball camera, and the ball camera captures based on the received capture queues.

[0004] However, in the above-mentioned related technologies, the capture queue is determined by the panoramic camera based on the coordinate distribution of the capture points, and the capture point coordinates include horizontal coordinates and vertical coordinates. The horizontal coordinates and vertical coordinates can only reflect the spatial distribution characteristics and are only applicable to distance-priority scenarios, resulting in a narrow scope of application of the capture method. Summary of the invention

[0005] In view of the problems existing in the prior art, the embodiments of the present invention provide a multi-camera capture method, device, electronic device and storage medium.

[0006] The present invention provides a multi-camera capture method, comprising:

[0007] Receiving the ball camera coordinate information corresponding to at least one point to be captured sent by at least one panoramic camera;

[0008] Determine the time and space information corresponding to each of the points to be captured; the time and space information includes the ball camera coordinate information and the receiving time corresponding to the ball camera coordinate information determined based on the current time;

[0009] Determine the scheduling weight corresponding to the point to be captured based on the spatiotemporal information corresponding to the point to be captured;

[0010] Each of the points to be captured is captured based on each of the scheduling weights.

[0011] According to a multi-camera capture method provided by the present invention, the determining of the scheduling weight corresponding to the point to be captured based on the spatiotemporal information corresponding to the point to be captured includes:

[0012] Determine a horizontal motion coefficient and a vertical motion coefficient corresponding to the at least one point to be captured based on the spatiotemporal information corresponding to the at least two captured points;

[0013] For each of the points to be captured, a scheduling weight corresponding to the point to be captured is determined based on the horizontal motion coefficient, the vertical motion coefficient and the spatiotemporal information corresponding to the point to be captured.

[0014] According to a multi-camera capture method provided by the present invention, the determining of the scheduling weight corresponding to the point to be captured based on the horizontal motion coefficient, the vertical motion coefficient and the spatiotemporal information corresponding to the point to be captured includes:

[0015] Acquire a motion control coefficient and a time control coefficient; the motion control coefficient and the time control coefficient are used to characterize the capture priority of each of the points to be captured in the time dimension and the distance dimension;

[0016] Based on the horizontal motion coefficient, the vertical motion coefficient, the motion control coefficient, the time control coefficient and the spatiotemporal information corresponding to the point to be captured, a scheduling weight corresponding to the point to be captured is determined.

[0017] According to a multi-camera capture method provided by the present invention, the motion control coefficient is positively correlated with the capture priority of the distance dimension, and the time control coefficient is positively correlated with the capture priority of the time dimension.

[0018] According to a multi-camera capture method provided by the present invention, the determining of the horizontal motion coefficient and the vertical motion coefficient corresponding to the at least one point to be captured based on the spatiotemporal information corresponding to the at least two captured points includes:

[0019] Sorting the capturing moments of each of the at least two captured points according to the capturing sequence to obtain a sorting result;

[0020] Determine the horizontal motion coefficient based on the horizontal coordinate information in the spatiotemporal information corresponding to the last two captured points in the sorting result;

[0021] The vertical motion coefficient is determined based on the vertical coordinate information in the spatiotemporal information corresponding to the last two captured points in the sorting result.

[0022] According to a multi-camera capture method provided by the present invention, capturing each of the points to be captured based on each of the scheduling weights includes:

[0023] The spatiotemporal information corresponding to each of the points to be captured is sorted in descending order according to the scheduling weights to obtain a capture queue;

[0024] Starting from the to-be-captured point corresponding to the maximum scheduling weight in the capture queue, each of the to-be-captured points is captured in sequence.

[0025] The present invention also provides a camera capture device, comprising:

[0026] A receiving unit, used for receiving the ball camera coordinate information corresponding to at least one point to be captured sent by at least one panoramic camera;

[0027] A first determining unit is used to determine the time and space information corresponding to each of the points to be captured; the time and space information includes the ball camera coordinate information and the receiving time corresponding to the ball camera coordinate information determined based on the current time;

[0028] A second determining unit, configured to determine a scheduling weight corresponding to the point to be captured based on the spatiotemporal information corresponding to the point to be captured;

[0029] The capturing unit is used to capture each of the points to be captured based on each of the scheduling weights.

[0030] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the camera capture methods described above is implemented.

[0031] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the camera capture method described in any one of the above is implemented.

[0032] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the camera capture method described above is implemented.

[0033] The multi-camera capture method, device, electronic device and storage medium provided by the present invention receive the dome camera coordinate information corresponding to at least one point to be captured sent by at least one panoramic camera, determine the time-space information corresponding to each point to be captured, the time-space information includes the dome camera coordinate information and the receiving duration corresponding to the dome camera coordinate information determined based on the current moment, determine the scheduling weight corresponding to the point to be captured based on the time-space information corresponding to the point to be captured, and capture each point to be captured based on each scheduling weight. It can be seen that the present invention determines the scheduling weight of the corresponding point to be captured based on the dome camera coordinate information and the receiving duration corresponding to the dome camera coordinate information determined based on the current moment, the dome camera coordinate information can reflect the spatial distribution characteristics, and the receiving duration can reflect the temporal distribution characteristics, that is, the present invention takes into account both the spatial distribution characteristics and the temporal distribution characteristics, and can take into account both the distance priority scene and the time priority scene, thereby improving the scope of application of the multi-camera capture method. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are 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] Figure 1 This is one of the flow charts of the multi-camera capture method provided by an embodiment of the present invention;

[0036] Figure 2 This is a second flow chart of the multi-camera capture method provided by an embodiment of the present invention;

[0037] Figure 3 This is a third flow chart of the multi-camera capture method provided by an embodiment of the present invention;

[0038] Figure 4 It is one of the schematic diagrams of the capture points corresponding to the targets in the pictures detected by three panoramic cameras provided in an embodiment of the present invention;

[0039] Figure 5 This is one of the schematic diagrams of the capture points corresponding to the targets in the pictures detected by three panoramic cameras provided in an embodiment of the present invention in PT coordinates;

[0040] Figure 6 This is a second schematic diagram of the capture points corresponding to the targets in the images detected by three panoramic cameras provided in an embodiment of the present invention in PT coordinates;

[0041] Figure 7 This is a second schematic diagram of capture points corresponding to targets in images detected by three panoramic cameras provided in an embodiment of the present invention;

[0042] Figure 8 It is a structural schematic diagram of a multi-camera capture device provided by an embodiment of the present invention;

[0043] Fig. 9 It is a schematic diagram of the physical structure of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are 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.

[0045] Combine the following Figure 1-Figure 7The multi-camera capture method of the present invention is described.

[0046] Figure 1 It is one of the flow diagrams of the multi-camera capture method provided by an embodiment of the present invention. The multi-camera may include a ball camera and at least one panoramic camera. The execution subject of the multi-camera capture method of the present invention is the ball camera. Figure 1 As shown, the multi-camera capture method includes the following steps:

[0047] Step 101: Receive the ball camera coordinate information corresponding to at least one point to be captured sent by at least one panoramic camera.

[0048] The panoramic camera and the ball camera will be calibrated during the initial configuration to establish a corresponding relationship between the coordinate information of the panoramic camera's capture point and the coordinate information of the ball camera.

[0049] For example, for each panoramic camera, the panoramic camera detects the target to be captured through a deep learning algorithm. The target can be a motor vehicle, a non-motor vehicle, a pedestrian, etc. Different panoramic cameras usually detect different targets, and when the panoramic camera detects the target, it needs to control the ball camera to capture the details of the target. Therefore, the panoramic camera needs to determine the ball camera coordinate information corresponding to the coordinate information of the capture point when capturing the target based on the pre-established correspondence between the coordinate information of the capture point of the panoramic camera and the coordinate information of the ball camera, so that the ball camera can capture the target details corresponding to the capture point of the panoramic camera based on the coordinate information of the ball camera. To capture a picture, for a ball camera, the capture point of the panoramic camera is the point to be captured by the ball camera; the ball camera coordinate information is the PT coordinate of the ball camera. For the convenience of expression, the ball camera coordinate information is recorded as (x, y) below. Since the panoramic camera can capture at least one target, each target corresponds to a ball camera information, and finally the ball camera coordinate information corresponding to the coordinate information of the capture point when capturing each target is sent to the ball camera, so that the ball camera receives the ball camera coordinate information corresponding to at least one point to be captured sent by each panoramic camera, and the ball camera coordinate information includes the horizontal coordinate information and vertical coordinate information of the pan / tilt head.

[0050] It should be noted that, in order to meet complex monitoring scenarios, multiple cameras may actually have multiple panoramic cameras. For example, a three-ball machine may actually have two panoramic cameras and one ball camera. The present invention does not limit the number of panoramic cameras.

[0051] Step 102, determining the time and space information corresponding to each of the points to be captured; the time and space information includes the dome camera coordinate information and the receiving time corresponding to the dome camera coordinate information determined based on the current time.

[0052] For example, when the ball camera receives the ball camera coordinate information corresponding to each point to be captured sent by the panoramic camera, since the ball camera coordinate information only includes the horizontal coordinate information and vertical coordinate information of the pan / tilt head, the ball camera coordinate information can be expressed as p(x n ,y n ), in the ball camera coordinate information p(y n ,y n ) and add the receiving time t to obtain the spatiotemporal information p(y n ,y n , t), when the ball camera just receives a new ball camera coordinate information, the receiving time t is 0, that is, the space-time information corresponding to the new ball camera coordinate information is expressed as p(x n ,y n , 0), as time goes by, the receiving time t is constantly updated. The receiving time t can be the time from the current moment to the moment when the ball camera coordinate information is received, or it can be the time updated based on the current moment and a preset period.

[0053] When the receiving time t is the time from the current moment to the receiving moment when the dome camera coordinate information is received, for each point to be captured, the receiving moment when the dome camera coordinate information corresponding to the point to be captured is subtracted from the current moment to obtain the receiving time relative to the current moment in the space-time information corresponding to the point to be captured, thereby realizing real-time update of the receiving time in the space-time information of each point to be captured.

[0054] In the case where the receiving time t is a time based on the current time and the preset period update, it is assumed that when the ball camera receives the time and space information corresponding to each point to be captured sent by each panoramic camera, it adds each time and space information to the original queue, that is, the original queue is the original coordinate set A of each time and space information, and the original coordinate set A can be expressed as: A = {(x1, y1, t1), (x2, y2, t2), ... (x n ,y n , t n )}, assuming the current time is t c , the original queue was last updated at t b When the preset period arrives, get the current time and determine the difference between the current time and the last update time Δt=t c -t b , the difference Δt is added to each t in the space-time information in the original coordinate set A to obtain the updated coordinate set B. The updated coordinate set B can be expressed as: B = {(x1, y1, t1+Δt), (x2, y2, t2+Δt), … (x n ,y n , t n +Δt)}.

[0055] Step 103: Determine the scheduling weight corresponding to the point to be captured based on the spatiotemporal information corresponding to the point to be captured.

[0056] For example, when determining the spatiotemporal information of the ball camera coordinate information corresponding to each point to be captured, the horizontal coordinate information of the gimbal, the vertical coordinate information of the gimbal, and the receiving time included in the spatiotemporal information can be analyzed to obtain the scheduling weight corresponding to each point to be captured, and the points to be captured with a large scheduling weight will be captured first.

[0057] Step 104: Capture each of the points to be captured based on the scheduling weights.

[0058] For example, when determining the scheduling weight corresponding to each to-be-captured point sent by all panoramic cameras, the ball camera sorts the spatiotemporal information of each to-be-captured point based on the size of each scheduling weight, and captures each to-be-captured point based on the sorting result.

[0059] The multi-camera capture method provided by the present invention receives the ball camera coordinate information corresponding to at least one point to be captured sent by at least one panoramic camera, determines the time-space information corresponding to each point to be captured, the time-space information includes the ball camera coordinate information and the receiving duration corresponding to the ball camera coordinate information determined based on the current moment, determines the scheduling weight corresponding to the point to be captured based on the time-space information corresponding to the point to be captured, and captures each point to be captured based on each scheduling weight. It can be seen that the present invention determines the scheduling weight of the corresponding point to be captured based on the ball camera coordinate information and the receiving duration corresponding to the ball camera coordinate information determined based on the current moment, the ball camera coordinate information can reflect the spatial distribution characteristics, and the receiving duration can reflect the time distribution characteristics, that is, the present invention takes into account the spatial distribution characteristics and the time distribution characteristics at the same time, and can take into account the distance priority scene and the time priority scene, thereby improving the scope of application of the multi-camera capture method.

[0060] In one embodiment, Figure 2 FIG. 2 is a flow chart of a multi-camera capture method provided by an embodiment of the present invention. Figure 2 As shown, the above step 103 can be specifically implemented by the following steps:

[0061] Step 1031: Determine a horizontal motion coefficient and a vertical motion coefficient corresponding to the at least one point to be captured based on the spatiotemporal information corresponding to at least two captured points.

[0062] For example, in order to ensure the continuity of the movement direction of the pan / tilt of multiple cameras and extend the service life of the pan / tilt motor, it is necessary to determine the horizontal movement coefficient and the vertical movement coefficient of the pan / tilt. The horizontal movement coefficient and the vertical movement coefficient can be determined by the following method:

[0063] A horizontal motion coefficient and a vertical motion coefficient corresponding to at least one point to be captured are determined based on the spatiotemporal information corresponding to the two captured points that were captured last in the captured queue.

[0064] It should be noted that the horizontal motion coefficient and vertical motion coefficient corresponding to at least one point to be captured can also be determined based on the space-time information corresponding to any two captured points in the captured queue; or the space-time information corresponding to the last M captured points can be selected from the captured queue, and the space-time information corresponding to the M captured points can be divided into two sets, and the average of all the space-time information in one set can be taken to obtain the first space-time information, and the average of all the space-time information in the other set can be taken to obtain the second space-time information, and the horizontal motion coefficient and vertical motion coefficient corresponding to at least one point to be captured can be determined based on the first space-time information and the second space-time information, and M can be an integer greater than 2.

[0065] Step 1032: for each of the points to be captured, determine a scheduling weight corresponding to the point to be captured based on the horizontal motion coefficient, the vertical motion coefficient and the spatiotemporal information corresponding to the point to be captured.

[0066] For example, when determining the horizontal motion coefficient and the vertical motion coefficient corresponding to at least one point to be captured, for each point to be captured, the scheduling weight corresponding to the point to be captured can be determined based on the horizontal motion coefficient, the vertical motion coefficient and the space-time information corresponding to the point to be captured, and finally the scheduling weight corresponding to each point to be captured is obtained.

[0067] It should be noted that after the ball camera performs a capture operation on the point to be captured, the space-time information corresponding to the point to be captured is added to the captured queue to update the captured queue. When the ball camera coordinate information corresponding to the new point to be captured sent by the panoramic camera is received, the horizontal motion coefficient and the vertical motion coefficient need to be updated based on the space-time information corresponding to the last two captured points in the updated captured queue.

[0068] The multi-camera capture method provided by an embodiment of the present invention can determine the horizontal motion coefficient and the vertical motion coefficient corresponding to at least one point to be captured based on the spatiotemporal information corresponding to at least two captured points, and determine the scheduling weight corresponding to the point to be captured based on the horizontal motion coefficient, the vertical motion coefficient and the spatiotemporal information corresponding to the point to be captured, that is, the continuity of the pan-tilt movement direction is taken into account when determining the scheduling weight, so that the determined scheduling weight is more accurate.

[0069] In one embodiment, Figure 3 FIG. 3 is a flow chart of a multi-camera capture method provided by an embodiment of the present invention. Figure 3 As shown, the above step 1032 can be specifically implemented by the following steps:

[0070] Step 10321, obtaining a motion control coefficient and a time control coefficient; the motion control coefficient and the time control coefficient are used to characterize the capture priority of each of the points to be captured in the time dimension and the distance dimension.

[0071] Among them, due to the different actual capture requirements, the motion control coefficient k can be adjusted m and time control coefficient k t The size of achieves the adjustment of time dimension priority and distance dimension priority. The time dimension corresponds to the detection time of each point to be captured, and the distance dimension corresponds to the spatial continuity of the pan-tilt rotation.

[0072] For example, the user can reasonably set the corresponding motion control coefficient and time control coefficient based on the installation position of each panoramic camera and the motion characteristics of the target in the monitoring scene; for example, when the monitoring scene is a crossroads scene, the main monitored target is the vehicle. Since the motion characteristic of the vehicle is fast, the time dimension is prioritized, so the time control coefficient can be set larger and the motion control coefficient can be set smaller; when the monitoring scene is a scene where pedestrians are monitored from a high-rise building to a lower floor, the main monitored target is pedestrians. Since the motion characteristic of pedestrians is slow, the distance dimension is prioritized, so the motion control coefficient can be set larger and the time control coefficient can be set smaller. Finally, the user inputs the set motion control coefficient and time control coefficient into the multi-camera, so that the ball camera in the multi-camera obtains the motion control coefficient and time control coefficient.

[0073] Step 10322: Determine the scheduling weight corresponding to the point to be captured based on the horizontal motion coefficient, the vertical motion coefficient, the motion control coefficient, the time control coefficient and the spatiotemporal information corresponding to the point to be captured.

[0074] For example, for each point p to be captured i (x i ,y i , t i ), combined with the motion control coefficient k m , time control coefficient k ti , horizontal motion coefficient k p , vertical motion coefficient k t And the spatiotemporal information p of the point to be captured i (x i ,y i , t i ), calculate the scheduling weight w of the point to be captured i , the specific scheduling weight w i The calculation of is shown in the following formula (1):

[0075] w i =k m (kt x i +k p y i )+k ti (t i -t0) (1)

[0076] Among them, t0 is the receiving time length of the spatiotemporal information corresponding to the last captured point in the captured queue, and the vertical motion coefficient k t With horizontal coordinate information x i The multiplication is to balance the horizontal movement distance and vertical movement distance of the gimbal. The horizontal movement coefficient k p With vertical coordinate information y i Multiplication is also to balance the horizontal and vertical movement distances of the gimbal.

[0077] It should be noted that the horizontal coordinate information x i and vertical coordinate information y i The specific values ​​of are all positive.

[0078] The multi-camera capture method provided by the embodiment of the present invention determines the scheduling weight corresponding to the point to be captured based on the horizontal motion coefficient, the vertical motion coefficient, the motion control coefficient, the time control coefficient and the spatiotemporal information corresponding to the point to be captured. That is, when determining the scheduling weight, the continuity of the pan-tilt motion direction is reflected through the horizontal motion coefficient and the vertical motion coefficient, and the capture priority of each point to be captured in the time dimension and the distance dimension is reflected through the motion control coefficient and the time control coefficient, thereby further improving the accuracy of the determined scheduling weight.

[0079] In one embodiment, the motion control coefficient is positively correlated with the capture priority in the distance dimension, and the time control coefficient is positively correlated with the capture priority in the time dimension.

[0080] For example, Figure 4 is one of the schematic diagrams of the capture points corresponding to the targets in the pictures detected by three panoramic cameras provided by the embodiment of the present invention, such as Figure 4 As shown, the 10 snapshot points corresponding to the panoramic camera 1 at the time 80 are recorded as a set P1; the 10 snapshot points corresponding to the panoramic camera 2 at the time 10 are recorded as a set P2; the 10 snapshot points corresponding to the panoramic camera 3 at the time 50 are recorded as a set P3; Figure 5 1 is one of the schematic diagrams of the capture points corresponding to the targets in the pictures detected by three panoramic cameras provided in an embodiment of the present invention under PT coordinates, such as Figure 5As shown, the set of PT coordinates mapped to panoramic camera 1 is A1 = {(x, y)|0°≤x≤30°, 0°≤y≤30°}, the set of PT coordinates mapped to panoramic camera 2 is A2 = {(x, y)|31°≤x≤50°, 31°≤y≤50°}, and the set of PT coordinates mapped to panoramic camera 3 is A3 = {(x, y)|60°≤x≤80°, 60°≤y≤80°}.

[0081] Figure 6 This is a second schematic diagram of the capture points corresponding to the targets in the images detected by three panoramic cameras provided in an embodiment of the present invention in PT coordinates, Figure 5 and Figure 6 All of them show the capture path with distance priority. When the capture priority in the distance dimension is higher than the capture priority in the time dimension, the motion path of the gimbal is relatively small, and when the distance dimension is prioritized, the motion control coefficient k used to calculate the scheduling weight is m , horizontal motion coefficient k p , vertical motion coefficient k t Relatively large, time control coefficient k ti Relatively small, that is, the motion control coefficient k m It is positively correlated with the capture priority of the distance dimension, that is, when the distance dimension is prioritized, the motion control coefficient k m At this time, the ball camera will give priority to the snapshot collection with a short distance. Figure 5 and Figure 6 As can be seen from the figure, the distance between set P1 and set P2 is relatively close, so the order of the camera capturing the above three sets can be P1, P2, and P3. p Corresponding to the horizontal axis P, k t The corresponding vertical axis is T, then in k p Compared to k t When is smaller, the corresponding path is Figure 5 As shown, in k p Compared to k t When is larger, the corresponding path is Figure 6 shown.

[0082] Figure 7 FIG. 2 is a schematic diagram of the capture points corresponding to the targets in the images detected by three panoramic cameras provided in an embodiment of the present invention. Figure 7 As shown, it shows the capture path with time dimension priority. When time dimension is prioritized, the motion control coefficient k used to calculate the scheduling weight is m , horizontal motion coefficient k p , vertical motion coefficient k t Relatively small, time control coefficient k ti Relatively large, that is, the time control coefficient k tiIt is positively correlated with the snapshot priority of the time dimension, that is, when the time dimension is prioritized, the time control coefficient k ti The camera will first capture the points with similar capture time. Figure 7 It can be seen that set P1 is captured by panoramic camera 1 at time 80, set P2 is captured by panoramic camera 2 at time 10, and set P3 is captured by panoramic camera 3 at time 50. Therefore, the order of capturing the above three sets by the ball camera can be P1, P3, and P2, that is, first capture the points to be captured with a longer shooting time of the panoramic camera.

[0083] In the multi-camera capture method provided by an embodiment of the present invention, the motion control coefficient is positively correlated with the capture priority in the distance dimension, and the time control coefficient is positively correlated with the capture priority in the time dimension, so that when the distance dimension is prioritized, the motion control coefficient accounts for a larger proportion in the calculated scheduling weight, so as to improve the accuracy of the scheduling weight when the distance dimension is prioritized; when the time dimension is prioritized, the time control coefficient accounts for a larger proportion in the calculated scheduling weight, so as to improve the accuracy of the scheduling weight when the time dimension is prioritized.

[0084] In one embodiment, the above step 1031 may be implemented in the following manner:

[0085] Sorting the capturing moments of each of the at least two captured points according to the capturing sequence to obtain a sorting result;

[0086] Determine the horizontal motion coefficient based on the horizontal coordinate information in the spatiotemporal information corresponding to the last two captured points in the sorting result;

[0087] The vertical motion coefficient is determined based on the vertical coordinate information in the spatiotemporal information corresponding to the last two captured points in the sorting result.

[0088] For example, assuming that the spatiotemporal information of the last two captured points in the sorting result are p0(x0, y0, t0) and p1(x1, y1, t1), p0(x0, y0, t0) is the spatiotemporal information of the last captured point in the sorting result, and p1(x1, y1, t1) is the spatiotemporal information of the last captured point in the sorting result. Then the horizontal motion coefficient k p The vertical motion coefficient k can be calculated using the following formula (2): t It can be calculated using the following formula (3).

[0089] k p =|x0-x1| (2)

[0090] k t =|y0-y1| (3)

[0091] The multi-camera capture method provided by the embodiment of the present invention uses the spatiotemporal information corresponding to the last two captured points in the sorting result to determine the horizontal motion coefficient and the vertical motion coefficient, so that the determined horizontal motion coefficient and the vertical motion coefficient are more accurate.

[0092] In one embodiment, the above step 104 may be implemented in the following manner:

[0093] The spatiotemporal information corresponding to each of the points to be captured is sorted in descending order according to the scheduling weights to obtain a capture queue;

[0094] Starting from the to-be-captured point corresponding to the maximum scheduling weight in the capture queue, each of the to-be-captured points is captured in sequence.

[0095] For example, when determining the spatiotemporal information corresponding to each point to be captured, the corresponding spatiotemporal information is sorted in descending order according to the scheduling weights to obtain a capture queue. The spatiotemporal information of the point to be captured that is captured first is added to the front of the capture queue. The capture processing thread of the ball camera captures each time based on the spatiotemporal information corresponding to the front point to be captured in the capture queue, and deletes the captured point to be captured from the capture queue.

[0096] It should be noted that when the distance dimension is prioritized, the points to be captured with smaller horizontal coordinate information in the spatiotemporal information are located at the front of the capture queue, or the points to be captured with smaller vertical coordinate information in the spatiotemporal information are located at the front of the capture queue, and are captured first; the points to be captured with larger horizontal coordinate information in the spatiotemporal information are located at the back of the capture queue, or the points to be captured with larger vertical coordinate information in the spatiotemporal information are located at the back of the capture queue, and are captured last; Figure 5 As shown, the set of PT coordinates mapped to panoramic camera 1 is A1 = {(x, y)|0°≤x≤30°, 0°≤y≤30°}, the set of PT coordinates mapped to panoramic camera 2 is A2 = {(x, y)|31°≤x≤50°, 31°≤y≤50°}, and the set of PT coordinates mapped to panoramic camera 3 is A3 = {(x, y)|60°≤x≤80°, 60°≤y≤80°}, then the point to be captured corresponding to panoramic camera 1 is located at the front of the capture queue, the point to be captured corresponding to panoramic camera 3 is located at the back of the capture queue, and the point to be captured corresponding to panoramic camera 2 is located in the middle of the capture queue.

[0097] It should be noted that when the time dimension is prioritized, the points to be captured with a longer reception time in the spatiotemporal information are located at the front of the capture queue and are captured first; the points to be captured with a shorter reception time in the spatiotemporal information are located at the back of the capture queue and are captured last; Figure 6As shown, panoramic camera 1 corresponds to 10 capture points at time 80, recorded as set P1; panoramic camera 2 corresponds to 10 capture points at time 10, recorded as set P2; panoramic camera 3 corresponds to 10 capture points at time 50, recorded as set P3. The points to be captured corresponding to panoramic camera 1 are located at the front of the capture queue, the points to be captured corresponding to panoramic camera 2 are located at the back of the capture queue, and the points to be captured corresponding to panoramic camera 3 are located in the middle of the capture queue.

[0098] The camera capture method provided by the embodiment of the present invention sorts the spatiotemporal information corresponding to each point to be captured according to each scheduling weight from large to small, obtains a capture queue, and captures each point to be captured in sequence starting from the point to be captured corresponding to the maximum scheduling weight in the capture queue. It can realize the generation of the capture queue in the distance priority scenario and the generation of the capture queue in the time priority scenario, thereby improving the application scope of the multi-camera capture method.

[0099] The multi-camera capturing device provided by the present invention is described below. The multi-camera capturing device described below and the multi-camera capturing method described above can be referred to each other.

[0100] Figure 8 is a schematic diagram of the structure of a multi-camera capture device provided by an embodiment of the present invention, such as Figure 8 As shown, the multi-camera capture device 800 includes a receiving unit 801, a first determining unit 802, a second determining unit 803 and a capture unit 804; wherein:

[0101] The receiving unit 801 is used to receive the ball camera coordinate information corresponding to at least one point to be captured sent by at least one panoramic camera;

[0102] The first determining unit 802 is used to determine the time and space information corresponding to each of the points to be captured; the time and space information includes the ball camera coordinate information and the receiving time corresponding to the ball camera coordinate information determined based on the current time;

[0103] A second determining unit 803 is used to determine the scheduling weight corresponding to the point to be captured based on the spatiotemporal information corresponding to the point to be captured;

[0104] The capturing unit 804 is used to capture each of the points to be captured based on each of the scheduling weights.

[0105] The multi-camera capture device provided by the present invention receives the dome camera coordinate information corresponding to at least one point to be captured sent by at least one panoramic camera, determines the time-space information corresponding to each point to be captured, the time-space information includes the dome camera coordinate information and the receiving duration corresponding to the dome camera coordinate information determined based on the current moment, determines the scheduling weight corresponding to the point to be captured based on the time-space information corresponding to the point to be captured, and captures each point to be captured based on each scheduling weight. It can be seen that the present invention determines the scheduling weight of the corresponding point to be captured based on the dome camera coordinate information and the receiving duration corresponding to the dome camera coordinate information determined based on the current moment, the dome camera coordinate information can reflect the spatial distribution characteristics, and the receiving duration can reflect the temporal distribution characteristics, that is, the present invention takes into account both the spatial distribution characteristics and the temporal distribution characteristics, and can take into account both the distance priority scene and the time priority scene, thereby improving the scope of application of the multi-camera capture method.

[0106] Based on any of the foregoing embodiments, the second determining unit 803 is specifically configured to:

[0107] Determine a horizontal motion coefficient and a vertical motion coefficient corresponding to the at least one point to be captured based on the spatiotemporal information corresponding to the at least two captured points;

[0108] For each of the points to be captured, a scheduling weight corresponding to the point to be captured is determined based on the horizontal motion coefficient, the vertical motion coefficient and the spatiotemporal information corresponding to the point to be captured.

[0109] Based on any of the foregoing embodiments, the second determining unit 803 is specifically configured to:

[0110] Acquire a motion control coefficient and a time control coefficient; the motion control coefficient and the time control coefficient are used to characterize the capture priority of each of the points to be captured in the time dimension and the distance dimension;

[0111] Based on the horizontal motion coefficient, the vertical motion coefficient, the motion control coefficient, the time control coefficient and the spatiotemporal information corresponding to the point to be captured, a scheduling weight corresponding to the point to be captured is determined.

[0112] Based on any of the above embodiments, the motion control coefficient is positively correlated with the capture priority in the distance dimension, and the time control coefficient is positively correlated with the capture priority in the time dimension.

[0113] Based on any of the foregoing embodiments, the second determining unit 803 is specifically configured to:

[0114] Sorting the capturing moments of each of the at least two captured points according to the capturing sequence to obtain a sorting result;

[0115] Determine the horizontal motion coefficient based on the horizontal coordinate information in the spatiotemporal information corresponding to the last two captured points in the sorting result;

[0116] The vertical motion coefficient is determined based on the vertical coordinate information in the spatiotemporal information corresponding to the last two captured points in the sorting result.

[0117] Based on any of the above embodiments, the capture unit 804 is specifically used for:

[0118] The spatiotemporal information corresponding to each of the points to be captured is sorted in descending order according to the scheduling weights to obtain a capture queue;

[0119] Starting from the to-be-captured point corresponding to the maximum scheduling weight in the capture queue, each of the to-be-captured points is captured in sequence.

[0120] Fig. 9 is a schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention, such as Fig. 9 As shown, the electronic device may include: a processor 910, a communication interface 920, a memory 930 and a communication bus 940, wherein the processor 910, the communication interface 920 and the memory 930 communicate with each other through the communication bus 940. The processor 910 may call the logic instructions in the memory 930 to execute the multi-camera capture method, which includes: receiving the ball camera coordinate information corresponding to at least one point to be captured sent by at least one panoramic camera;

[0121] Determine the time and space information corresponding to each of the points to be captured; the time and space information includes the ball camera coordinate information and the receiving time corresponding to the ball camera coordinate information determined based on the current time;

[0122] Determine the scheduling weight corresponding to the point to be captured based on the spatiotemporal information corresponding to the point to be captured;

[0123] Each of the points to be captured is captured based on each of the scheduling weights.

[0124] In addition, the logic instructions in the above-mentioned memory 930 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0125] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored in a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the multi-camera capture method provided by the above methods, the method comprising: receiving the ball camera coordinate information corresponding to at least one point to be captured sent by at least one panoramic camera;

[0126] Determine the time and space information corresponding to each of the points to be captured; the time and space information includes the ball camera coordinate information and the receiving time corresponding to the ball camera coordinate information determined based on the current time;

[0127] Determine the scheduling weight corresponding to the point to be captured based on the spatiotemporal information corresponding to the point to be captured;

[0128] Each of the points to be captured is captured based on each of the scheduling weights.

[0129] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to execute the multi-camera capture method provided by the above methods, the method comprising: receiving ball camera coordinate information corresponding to at least one point to be captured sent by at least one panoramic camera;

[0130] Determine the time and space information corresponding to each of the points to be captured; the time and space information includes the ball camera coordinate information and the receiving time corresponding to the ball camera coordinate information determined based on the current time;

[0131] Determine the scheduling weight corresponding to the point to be captured based on the spatiotemporal information corresponding to the point to be captured;

[0132] Each of the points to be captured is captured based on each of the scheduling weights.

[0133] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0134] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0135] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A multi-camera capture method, It is characterized in that include: Receiving the ball camera coordinate information corresponding to at least one point to be captured sent by at least one panoramic camera; Determine the time and space information corresponding to each of the points to be captured; The spatiotemporal information includes the ball camera coordinate information and the receiving time length corresponding to the ball camera coordinate information determined based on the current time; Determine the scheduling weight corresponding to the point to be captured based on the spatiotemporal information corresponding to the point to be captured; Each of the points to be captured is captured based on each of the scheduling weights.

2. The multi-camera capture method according to claim 1, It is characterized in that The determining the scheduling weight corresponding to the point to be captured based on the spatiotemporal information corresponding to the point to be captured includes: Determine a horizontal motion coefficient and a vertical motion coefficient corresponding to the at least one point to be captured based on the spatiotemporal information corresponding to the at least two captured points; For each of the points to be captured, a scheduling weight corresponding to the point to be captured is determined based on the horizontal motion coefficient, the vertical motion coefficient and the spatiotemporal information corresponding to the point to be captured.

3. The multi-camera capture method according to claim 2, It is characterized in that The determining the scheduling weight corresponding to the point to be captured based on the horizontal motion coefficient, the vertical motion coefficient and the spatiotemporal information corresponding to the point to be captured includes: Acquire a motion control coefficient and a time control coefficient; the motion control coefficient and the time control coefficient are used to characterize the capture priority of each of the points to be captured in the time dimension and the distance dimension; Based on the horizontal motion coefficient, the vertical motion coefficient, the motion control coefficient, the time control coefficient and the spatiotemporal information corresponding to the point to be captured, a scheduling weight corresponding to the point to be captured is determined.

4. The multi-camera capture method according to claim 3, It is characterized in that The motion control coefficient is positively correlated with the capture priority in the distance dimension, and the time control coefficient is positively correlated with the capture priority in the time dimension.

5. The multi-camera capture method according to claim 2, It is characterized in that The determining of the horizontal motion coefficient and the vertical motion coefficient corresponding to the at least one point to be captured based on the spatiotemporal information corresponding to the at least two captured points includes: Sorting the capturing moments of each of the at least two captured points according to the capturing sequence to obtain a sorting result; Determine the horizontal motion coefficient based on the horizontal coordinate information in the spatiotemporal information corresponding to the last two captured points in the sorting result; The vertical motion coefficient is determined based on the vertical coordinate information in the spatiotemporal information corresponding to the last two captured points in the sorting result.

6. The multi-camera capture method according to any one of claims 1 to 5, It is characterized in that The capturing of each of the to-be-captured points based on each of the scheduling weights includes: The spatiotemporal information corresponding to each of the points to be captured is sorted in descending order according to the scheduling weights to obtain a capture queue; Starting from the to-be-captured point corresponding to the maximum scheduling weight in the capture queue, each of the to-be-captured points is captured in sequence.

7. A camera capture device, It is characterized in that include: A receiving unit, used for receiving the ball camera coordinate information corresponding to at least one point to be captured sent by at least one panoramic camera; A first determining unit is used to determine the time and space information corresponding to each of the points to be captured; the time and space information includes the ball camera coordinate information and the receiving time corresponding to the ball camera coordinate information determined based on the current time; A second determining unit, configured to determine a scheduling weight corresponding to the point to be captured based on the spatiotemporal information corresponding to the point to be captured; The capturing unit is used to capture each of the points to be captured based on each of the scheduling weights.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the multi-camera capture method as described in any one of claims 1 to 6 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the multi-camera capture method as claimed in any one of claims 1 to 6 is implemented.

10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the multi-camera capture method as claimed in any one of claims 1 to 6 is implemented.