Rotation test method, device, electronic equipment, system and computer program product
By automatically controlling the movement of the shooting mark and determining the rotation deviation using the images captured by the test camera, the problem of low accuracy of the camera rotation deviation test in the prior art is solved, and high accuracy automated testing is achieved.
Patent Information
- Application Number
- CN202411866719.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-18
- Publication Date
- 2025-04-18
AI Technical Summary
In the prior art, the accuracy of the camera rotation deviation test results is low, and mainly rely on naked eye testing, resulting in inaccurate test results.
By controlling the shooting mark to move according to the test route required by the test project, the rotation deviation is determined using the images captured by the test camera, and automatic testing of the camera's follow-up shooting, preset position regression and power delay are achieved.
It improves the accuracy of the test results, realizes automatic testing of the camera rotation function, reduces manual participation, and enhances the reliability of the test.
Smart Images

Figure CN119854483A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of camera testing technology, and in particular to a rotation testing method, device, electronic equipment, system and computer program product. Background Art
[0002] At present, most cameras are equipped with a rotation function, which not only ensures the operation of the camera, but also cooperates with other functions of the camera, such as motion tracking function, preset position return function, etc. However, excessive rotation deviation of the camera will affect its normal use, so the test of the rotation function is very important. However, the deviation of the camera is currently mainly tested by naked eyes, resulting in low accuracy of the test results. Summary of the invention
[0003] In view of this, the present application proposes a rotation test method, device, electronic device, system and computer program product to solve the problem of low accuracy of test results in the prior art.
[0004] The technical solutions proposed in this application are as follows:
[0005] In a first aspect, an embodiment of the present application provides a rotation test method, comprising:
[0006] Controlling the photographing marker to move along the test route required by the test item; the photographing marker includes an object photographed by a test camera, and the photographing marker is used to guide the test camera to rotate along with the photographing marker; the test item includes at least one of a follow-up shooting test, a preset position regression test, and a power delay test;
[0007] According to the test image captured by the test camera, a rotation deviation of the test camera is determined, and the rotation deviation of the test camera is determined as a rotation test result of the test camera in the test item.
[0008] Further, in the method described above, when the test item includes a follow-up shooting test, the test route includes the shooting marker moving a set distance in a first set direction, and the test image includes an image captured when the test camera completes the follow-up shooting;
[0009] The step of determining the rotation deviation of the test camera according to the test image captured by the test camera includes:
[0010] The deviation between the captured marker image in the test image and the center point of the test image is determined as the rotation deviation of the test camera.
[0011] Further, in the method described above, the follow-up shooting test includes a deviation test and an inertia test;
[0012] The test route corresponding to the deviation test includes moving the photographed marker a first set distance, and the test route corresponding to the inertia test includes moving the photographed marker a second set distance; the first set distance is smaller than the second set distance.
[0013] Further, in the method described above, when the test item includes a preset position regression test, the test route includes the shooting marker moving to the preset position, and the test image includes an image captured when the test camera completes the preset position regression;
[0014] The step of determining the rotation deviation of the test camera according to the test image captured by the test camera includes:
[0015] The deviation between the preset position in the test image and the center point of the test image is determined as the rotation deviation of the test camera.
[0016] Further, in the method described above, when the test item includes a power delay test, the test route includes the shooting marker moving at a set speed in a second set direction, and the test image includes a video shot by the test camera from startup to the start of movement;
[0017] The step of determining the rotation deviation of the test camera according to the test image captured by the test camera includes:
[0018] The time difference between the moment corresponding to the target video frame in the test image and the moment when the photographed marker starts to move is determined as the rotation deviation of the test camera; the target video frame includes the first video frame in the test image that undergoes displacement.
[0019] In a second aspect, an embodiment of the present application provides a rotation test system, including a processing device, a track, and a photographing marker;
[0020] The photographing marker is arranged on the track and is movable along the track;
[0021] The processing device is used to control the photographing marker to move along the track according to the test route required by the test item; the photographing marker includes an object photographed by a test camera, and the photographing marker is used to guide the test camera to rotate following the photographing marker; the test item includes at least one of a follow-up shooting test, a preset position regression test and a power delay test; based on the test image photographed by the test camera, the rotation deviation of the test camera is determined, and the rotation deviation of the test camera is determined as the rotation test result of the test camera in the test item.
[0022] Furthermore, the system described above further includes a platform, and the track includes a circular track; the platform is arranged at the center of the circular track, and the platform is used to install the test camera.
[0023] Furthermore, the system described above also includes a coordinate plane that is fitted with the circular track; the coordinate plane is marked with a grid, and the deflection angle of the test camera relative to the set initial position when the test camera is facing the grid line.
[0024] In a third aspect, an embodiment of the present application provides a rotation testing device, comprising:
[0025] A control module, used for controlling the shooting marker to move according to the test route required by the test item; the shooting marker includes an object shot by the test camera, and the shooting marker is used to guide the test camera to rotate following the shooting marker; the test item includes at least one of a follow-up shooting test, a preset position regression test, and a power delay test;
[0026] A determination module is used to determine the rotation deviation of the test camera according to the test image taken by the test camera, and determine the rotation deviation of the test camera as the rotation test result of the test camera in the test item.
[0027] In a fourth aspect, an embodiment of the present application provides an electronic device, including:
[0028] A memory and a processor; wherein the memory is used to store programs; and the processor is used to implement any of the methods described above by running the programs in the memory.
[0029] In a fifth aspect, an embodiment of the present application provides a computer program product, the computer program product comprising a computer program, and when the computer program is executed by a processor, the computer program implements any of the above methods. Optionally, the computer program can be stored in a readable storage medium of a computer device or in the cloud; the processor of the computer device reads the computer program from the readable storage medium or the cloud.
[0030] The rotation test method proposed in the present application can control the shooting marker to move along the test route required by the test item. The shooting marker includes an object shot by a test camera. The shooting marker is used to guide the test camera to rotate along with the shooting marker. The test item includes at least one of a follow-up shooting test, a preset position regression test, and a power delay test. According to the test image shot by the test camera, the rotation deviation of the test camera is determined, and the rotation deviation of the test camera is determined as the rotation test result of the test camera in the test item. In this way, the shooting marker can be automatically controlled to move along the established test route of different test items, and then the rotation test result of the test camera in each test item is calculated according to the test image, thereby realizing automatic testing of items such as follow-up shooting, preset position regression, and power delay of the camera, without the need for human intervention, thereby improving the accuracy of the test results. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0032] Figure 1 It is a structural schematic diagram of a rotation test system provided in an embodiment of the present application.
[0033] Figure 2 It is a structural schematic diagram of another rotation test system provided in an embodiment of the present application.
[0034] Figure 3 It is a structural schematic diagram of another rotation test system provided in an embodiment of the present application.
[0035] Figure 4 It is a schematic diagram of the base structure provided in an embodiment of the present application.
[0036] Figure 5 This is a schematic diagram of the installation of the inverted camera provided in the embodiment of the present application.
[0037] Figure 6 It is a structural schematic diagram of another rotation test system provided in an embodiment of the present application.
[0038] Figure 7 It is a flow chart of a rotation test method provided in an embodiment of the present application.
[0039] Figure 8 It is a structural schematic diagram of a rotation testing device provided in an embodiment of the present application.
[0040] Fig. 9It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0041] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0042] Cameras are widely used in a wide range of scenarios, such as road scenes, home scenes, factory scenes, etc. Cameras can be roughly divided into several types, such as box cameras, pan / tilt cameras, and ball cameras. Box cameras cannot rotate and are generally used to shoot fixed positions; pan / tilt cameras can rotate and can be mounted upright or inverted; ball cameras are usually mounted inverted, have a larger mass, and are more demanding on the motor and structure. Good rotation performance and structural performance can ensure the operation of the camera and can also be used to realize other auxiliary functions. For example, motion tracking function, preset position return function, etc.
[0043] In the process of camera development, there are usually problems with the minimum error degree of the motor, as well as the impact of the structure on the pressure and overall uniformity of the motor. Regarding the error degree problem, the industry currently allows about 3°. In order to reduce product costs, it may reach 5°, but the actual product effect will be amplified by the structure, and the final manifestation is that the deviation exceeds the product requirements. Regarding the impact of the structure on the pressure and overall uniformity of the motor, the motor's own load must be added to the mass of all structures loaded on the motor. The greater the mass, the greater the pressure, the greater the possible deviation, and the easier it is to cause power imbalance. In terms of function, the playback position deviation is large, the mobile tracking is not timely, the lens image cannot focus on the target, and excessive motion inertia will cause mechanical damage. Therefore, it is necessary to test the deviation of the camera to ensure that the camera can operate normally.
[0044] The existing solution is to directly place the camera to be tested in the office, and then use the naked eye to judge the deviation of the camera by people walking or moving objects, resulting in a low accuracy of the test results. Based on this, the present application proposes a rotation test method, device, electronic device, system and computer program product. The technical solution automatically controls the shooting marker to move along the established test route of different test items, and then calculates the rotation test results of the test camera in each test item based on the test image, realizing automatic testing of camera follow-up shooting, preset position regression and power delay, etc., without the need for human intervention, thereby improving the accuracy of the test results.
[0045] The present application embodiment provides a rotation test system, such as Figure 1As shown, it includes a processing device 10, a track 11 and a shooting marker 12.
[0046] The processing device 10 can control the photographing marker 12 to move along the track 11. In some embodiments, Figure 1 As shown, the processing device 10 is electrically connected to the track 11, and the processing device 10 controls the movement of the track 11 so that the track 11 drives the photographing marker 12 to move along the track 11. It should be noted that Figure 1 In the illustrated embodiment, the electrical connection between the processing device 10 and the track 11 is via a wireless network. In other embodiments, the electrical connection between the processing device 10 and the track 11 may also be a wired connection, which is not limited in this embodiment.
[0047] The photographing marker 12 includes an object photographed by the test camera, and the photographing marker is used to guide the test camera to rotate along with the photographing marker, wherein the test camera refers to the camera that needs to be rotated. A photo, or a color block, color plate, or ball with a set color and size can be used as the photographing marker 12, which is not limited in this embodiment. The above-mentioned set color and size can also be set according to the actual rotation test requirements, which is not limited in this embodiment.
[0048] Any track device that can move the photographing marker 12 can be used as the track 11 of this embodiment, and this embodiment is not limited. Figure 2 In the illustrated embodiment, the track 11 includes a first slide rail 110 , a second slide rail 111 , a third slide rail 112 , a first drive motor 113 , a second drive motor 114 , a first roller 115 , a second roller 116 , a tray 117 and a third roller 118 .
[0049] The first slide rail 110 and the second slide rail 111 are arranged in parallel, and the third slide rail 112 is arranged perpendicular to the first slide rail 110 and the second slide rail 111, and is arranged between the first slide rail 110 and the second slide rail 111. One end of the third slide rail 112 contacts the first slide rail 110 through the first roller 115, and the other end of the third slide rail 112 contacts the second slide rail 111 through the second roller 116. The third slide rail 112 can slide along the first slide rail 110 and the second slide rail 111 under the action of the first roller 115 and the second roller 116. The first drive motor 113 is arranged on the first roller 115 and / or the second roller 116, and is used to drive the third slide rail 112 to slide along the first slide rail 110 and the second slide rail 111 by driving the first roller 115 and / or the second roller 116 to rotate. Figure 2 In the illustrated embodiment, the first driving motor 113 is disposed on the first roller 115 , and is used to drive the first roller 115 to rotate, thereby driving the third slide rail 112 to slide along the first slide rail 110 and the second slide rail 111 .
[0050] The third roller 118 is disposed on the third slide rail 112 and can slide along the third slide rail 112. The tray 117 is used to place the photographing marker 12. The tray 117 is disposed on the third roller 118. When the third roller 118 slides along the third slide rail 112, it can drive the photographing marker 12 on the tray 117 to slide along the third slide rail 112. The second driving motor 114 is disposed on the third roller 118 and is used to drive the third roller 118 to rotate so as to drive the photographing marker 12 to slide along the third slide rail 112.
[0051] More specifically, when the first driving motor 113 is working, it can drive the third slide rail 112 to slide along the first slide rail 110 and the second slide rail 111, so that the photographing mark 12 can follow the third slide rail 112 to move in a direction parallel to the first slide rail 110 and the second slide rail 111; when the second driving motor 114 is working, it can drive the third roller 118 to rotate, so as to drive the photographing mark 12 to slide along the third slide rail 112. Figure 2 The direction parallel to the first slide rail 110 and the second slide rail 111 is defined as the horizontal direction, and the direction perpendicular to the first slide rail 110 and the second slide rail 111 is defined as the vertical direction. When the first drive motor 113 is working, it can drive the shooting marker 12 to move horizontally, and when the second drive motor 114 is working, it can drive the shooting marker 12 to move vertically.
[0052] The first drive motor 113 and the second drive motor 114 are both electrically connected to the processing device 10, so as to adjust the working state under the control of the processing device 10, thereby realizing the control of the moving direction, moving distance and moving speed of the photographed marker 12. In some embodiments, the first drive motor 113 and the second drive motor 114 each include an electrically connected motor and a controller, and the controllers of the first drive motor 113 and the second drive motor 114 are electrically connected to the processing device 10.
[0053] The first drive motor 113 and the second drive motor 114 both include a wireless communication module, such as a WiFi module or a Bluetooth module. The first drive motor 113 and the second drive motor 114 can be electrically connected to the processing device 10 via a wireless network to reduce the use of data transmission lines. The first drive motor 113 and the second drive motor 114 are not bound by transmission lines and are more convenient to move.
[0054] The processing device 10 can be any device with data and instruction processing capabilities, for example, it can be various types of user terminals such as a laptop computer, a tablet computer, a desktop computer, a mobile device (for example, a mobile phone, a personal digital assistant, a dedicated messaging device), or a combination of any two or more of these electronic devices, or it can be a server.
[0055] The processing device 10 is used to control the shooting marker 12 to move along the track 11 according to the test route required by the test item, and the test item includes at least one of a follow-up shooting test, a preset position regression test, and a power delay test. According to the test image captured by the test camera, the rotation deviation of the test camera is determined, and the rotation deviation of the test camera is determined as the rotation test result of the test camera in the test item.
[0056] As an optional implementation, Figure 3 As shown, in another embodiment of the present application, it is disclosed that the rotation test system of the above embodiment further includes a seat 13, the track 11 includes a circular track, and the seat 13 is arranged at the center of the circular track.
[0057] The platform 13 is used to install the test camera. In some embodiments, the platform 13 can be raised and lowered, and the height of the test camera installed on the platform 13 can be adjusted by adjusting the height of the platform 13. With this arrangement, the rotation test system can adapt to test test cameras of different heights.
[0058] More specifically, if Figure 4 As shown, the seat 13 includes a base 131, a table 132, an adjustment button 133 and a fixed foot 134. The test camera is set on the table 132, and the table 132 can be raised and lowered by rotating the adjustment button 133 to achieve height adjustment of the table 132.
[0059] The lower side of the table 132 is provided with a fixing foot 134, which is used to fix the mounting plate. The inverted camera can be installed on the above-mentioned mounting plate to perform a rotation test. Figure 5 As shown. Specifically, the above-mentioned mounting plate can be installed on the fixed foot 134 first, and then the test camera can be screwed onto the mounting plate. It should be noted that the inverted camera is generally fixed and installed using bolts or screws. The bolt hole spacing of inverted cameras of different models and brands is different. For such a situation, in this embodiment, the mounting plate can be replaced at the same time each time different inverted cameras are tested. In this way, it is not necessary to drill holes on the table 132 to adapt to different inverted cameras, thereby avoiding damage to the table 132.
[0060] With such an arrangement, the rotation test system can be adapted to test test cameras of different heights, and in addition to being able to adapt to conventional cameras, it can also be adapted to inverted cameras, thereby increasing the scope of use of the rotation test system.
[0061] The track 11 is a circular track, and the platform 13 is arranged at the center of the circular track. A test camera is placed on the platform 13, and the test camera can be located at the center of the circular track during the test, so that the test camera can be rotated. Moreover, since the test camera is located at the center of the circular track, when the photographed marker rotates at a uniform speed, the relative speed between the photographed marker and the test camera is also uniform, so that the influence of the speed change of the photographed marker on the test result can be eliminated, and the accuracy of the test result can be ensured.
[0062] As an optional implementation, Figure 6 As shown, in another embodiment of the present application, it is disclosed that the rotation test system of the above embodiment also includes a coordinate plane 14 that is fitted with the circular track, and the coordinate plane 14 is marked with a grid, as well as the deflection angle of the test camera relative to the set initial position when the test camera is facing the grid line.
[0063] The initial position can be set according to actual conditions and is not limited in this embodiment.
[0064] Figure 6 In the embodiment shown, the position corresponding to the grid line S is the initial position. When the test camera is facing the grid line S, the horizontal deflection angle of the test camera is 0° and the vertical deflection angle is 0°. For each horizontal movement of one grid, the horizontal deflection angle increases by x°, and for each vertical movement of one grid, the vertical deflection angle increases by y°. The values of x and y can be determined according to the number of grid lines, which is not limited in this embodiment. Figure 6 Direction A is the positive direction of horizontal deflection, and direction B is the positive direction of vertical deflection. Then grid line a corresponds to a horizontal deflection of 90°, that is, when the test camera is facing grid line a, the horizontal deflection angle of the test camera relative to the set initial position is 90°; grid line b corresponds to a horizontal deflection of 180°, that is, when the test camera is facing grid line b, the horizontal deflection angle of the test camera relative to the set initial position is 180°, and grid line c corresponds to a horizontal deflection of 270°, that is, when the test camera is facing grid line c, the horizontal deflection angle of the test camera relative to the set initial position is 270°; grid line d corresponds to a vertical deflection of 30°, that is, when the test camera is facing grid line d, the vertical deflection angle of the test camera relative to the set initial position is 30°; grid line e corresponds to a vertical deflection of -30°, that is, when the test camera is facing grid line e, the vertical deflection angle of the test camera relative to the set initial position is -30°.
[0065] By setting the coordinate plane 14, the deflection angle of the center of the test image captured by the test camera relative to the initial position can be quickly read, and then the rotation deviation of the test camera can be quickly determined.
[0066] In a specific embodiment, after obtaining the test camera, when the pitch angle of the test camera is 0°, the height of the base 13 and the rotation angle of the test camera can be adjusted so that the test camera is facing the grid line S, and then the shooting marker 12 can be adjusted to the initial position by adjusting the track 11.
[0067] When the test starts, the processing device 10 controls the shooting marker 12 to move along the test route required by the test item, and the test camera rotates following the shooting marker 12. The processing device 10 determines the rotation deviation of the test camera based on the test image taken by the test camera, and determines the rotation deviation of the test camera as the rotation test result of the test camera in the test item.
[0068] Furthermore, the present application embodiment proposes a rotation test method, which can be executed by an electronic device, which can be any device with data and instruction processing functions, for example, a notebook computer, a tablet computer, a desktop computer, a mobile device (for example, a mobile phone, a personal digital assistant, a dedicated messaging device) and other types of user terminals or a combination of any two or more of these electronic devices, or a server, or a processing device in the above embodiment. Figure 7 As shown, the method includes:
[0069] S101, controlling the photographed marker to move along a test route required by the test item.
[0070] The shooting marker is used to guide the test camera to rotate along with the shooting marker. The shooting marker can be set in the manner described in the above embodiment, which will not be elaborated here.
[0071] The test items include at least one of the following shooting test, the preset position regression test and the dynamic delay test. Among them, the following shooting test refers to the test of the camera's ability to follow the moving shooting target, including the angle deviation test generated during the following process and the inertia test generated when the camera stops moving; the preset position regression test refers to the test of the camera's ability to return to the preset position; the dynamic delay test refers to the test of the time deviation generated during the test camera's following the moving shooting target.
[0072] In order to ensure the smooth completion of the test items and improve the accuracy of the test results, different test routes need to be set for different test items. When the photographed marker moves along the test route required by the test item, the test camera can be guided to complete the test item.
[0073] Exemplarily, if a follow-up shooting test is performed on the test camera, the test route should include moving the shooting marker in a set direction and a set distance to guide the test camera to follow the shooting marker and detect the rotation deviation of the test camera in this direction during the following process; if a preset position regression test is performed on the test camera, the test route should include moving the shooting marker to the preset position to guide the test camera to follow the shooting marker to rotate to the preset position and mark the preset position, and when the test camera returns to the preset position, detect the deviation between the position where the camera returns and the preset position; if a power delay test is performed on the test camera, the test route should include moving the shooting marker in a set direction and at a set speed to guide the test camera to follow the shooting marker and detect the time deviation of the test camera of the shooting marker at the set speed during the following process.
[0074] S102. Determine a rotation deviation of the test camera according to a test image captured by the test camera, and determine the rotation deviation of the test camera as a rotation test result of the test camera in the test item.
[0075] In some embodiments, the test camera will capture a test image at a specific moment during the test task. The specific moment refers to the moment when the test camera completes the test task. For example, in a follow-up shooting test, when the shooting marker stops moving, the test camera follows the shooting marker and stops moving, that is, when the test task is completed, the test camera will capture the test image according to the current shooting angle; in a preset position regression test, the test camera returns to the preset position, that is, when the test task is completed, the test camera will capture the test image according to the current shooting angle; in a power delay test, the test camera starts to follow the movement after the shooting marker moves, that is, when the test task is completed, the test camera will capture the test image.
[0076] In some other embodiments, the test camera will collect images throughout the test task, and then this embodiment will capture images at specific moments as test images based on the test requirements. For example, in the follow-up shooting test, the image when the shooting marker stops moving and the test camera follows the shooting marker to stop moving is captured as the test image; in the preset position regression test, the image when the test camera returns to the preset position is captured as the test image; in the power delay test, the image when the shooting marker moves and the test camera starts to follow the movement is captured as the test image.
[0077] The rotation deviation of the test camera can be determined according to the test image captured by the test camera, and the rotation deviation of the test camera can be determined as the rotation test result of the test camera in the test item.
[0078] In some embodiments, for the follow-up shooting test, the deviation between the captured marker in the test image and the actual captured marker can be calculated as the rotation deviation of the test camera, and the rotation deviation of the test camera can be determined as the rotation test result of the follow-up shooting test of the test camera.
[0079] For the preset position regression test, the deviation between the preset position in the test image and the actual preset position can be calculated as the rotation deviation of the test camera, and the rotation deviation of the test camera is determined as the rotation test result of the preset position regression test of the test camera.
[0080] For the power delay test, the moment when the test camera starts to move can be determined based on the test image, and the rotation deviation of the test camera can be determined based on the time deviation between the moment when the test camera starts to move and the moment when the photographed marker starts to move. The rotation deviation of the test camera is determined as the rotation test result of the power delay test of the test camera.
[0081] The above-mentioned embodiment can control the shooting marker to move along the test route required by the test item. The shooting marker includes an object photographed by the test camera, and the shooting marker is used to guide the test camera to rotate along with the shooting marker. According to the test image photographed by the test camera, the rotation deviation of the test camera is determined, and the rotation deviation of the test camera is determined as the rotation test result of the test camera in the test item. In this way, the shooting marker can be automatically controlled to move along the established test routes of different test items, and then the rotation test results of the test camera in each test item can be calculated according to the test image, thereby realizing automatic testing of items such as camera follow-up shooting, preset position regression and power delay, without the need for human intervention, thereby improving the accuracy of the test results.
[0082] As an optional implementation, another embodiment of the present application discloses that, when the test item includes a follow-up shooting test, the test route includes shooting a marker moving a set distance in a first set direction, and the test image includes an image captured when the test camera completes the follow-up shooting; the steps of the above embodiment determine the rotation deviation of the test camera based on the test image captured by the test camera, and specifically may include the following steps:
[0083] The deviation between the captured marker image in the test image and the center point of the test image is determined as the rotation deviation of the test camera.
[0084] Specifically, when the test item includes a follow-up shooting test, the test route includes shooting the marker moving a set distance in a first set direction. The above-mentioned first set direction and set distance can be set according to actual conditions, and this embodiment does not limit them. In a specific embodiment, the marker is controlled to move in a first set direction. Figure 6The coordinate plane shown moves one grid unit upward, one grid unit downward, one grid unit to the left, and one grid unit to the right to guide the test camera to follow the shooting marker upward, downward, left, and right, and obtain a test image at the moment when the test camera follows the shooting marker to move upward, a test image at the moment when the test camera follows the shooting marker to move downward, a test image at the moment when the test camera follows the shooting marker to move to the left, and a test image at the moment when the test camera follows the shooting marker to move right.
[0085] For the obtained test image, the deviation between the image of the captured marker in the test image and the center point of the test image can be determined. Specifically, the image of the captured marker will be captured in the test image. If there is no deviation in the test camera, the image of the captured marker should be located at the center point of the test image. If there is a deviation in the test camera, the image of the captured marker is not located at the center point of the test image. The deviation between the image of the captured marker in the test image and the center point of the test image can be compared as the rotation deviation of the test camera, and the rotation deviation of the test camera can be determined as the rotation test result of the follow-up shooting test.
[0086] The deviation angle between the captured marker image and the center point of the test image may be calculated as the deviation between the captured marker image in the test image and the center point of the test image. Figure 6 In the embodiment shown, the coordinate plane is marked with a grid, and the deflection angle of the test camera relative to the set initial position when the test camera is facing the grid line. In this way, the test image also includes the grid in the coordinate plane and the deflection angle image of the grid. The angle corresponding to the photographed marker and the angle of the center point of the test image can be determined based on the test image, and the difference between the angle corresponding to the photographed marker and the angle of the center point of the test image can be calculated, so that the deviation angle between the photographed marker image and the center point of the test image can be obtained.
[0087] It should be noted that in order to obtain more accurate test results, the shooting marker can be controlled to move different distances in different directions to perform multiple follow-up shooting tests, so as to comprehensively determine the performance of the test camera in the follow-up shooting test item based on the results of multiple follow-up shooting tests, eliminate the influence of external factors, and determine more accurate follow-up shooting test results. For example, the average deviation obtained by multiple tests of the test camera in any direction can be taken as the rotation deviation of the test camera in that direction, and the rotation deviation of the test camera in that direction can be used as the rotation test result of the test camera in that direction in the follow-up shooting test item.
[0088] In the above embodiment, the test camera can be tested according to the following test items without manual intervention, thereby improving the accuracy of the test result.
[0089] As an optional implementation method, another embodiment of the present application discloses that the follow-up shooting test of the above embodiment includes a deviation test and an inertia test; the test route corresponding to the deviation test includes shooting the marker moving a first set distance, and the test route corresponding to the inertia test includes shooting the marker moving a second set distance; the first set distance is less than the second set distance.
[0090] Deviation test refers to the angle deviation test generated during the following process, and inertia test refers to the inertia test generated when the camera stops moving. Both test methods are tests of the camera's ability to follow and shoot.
[0091] It should be noted that in order to test the inertia of the test camera, it is necessary to control the shooting marker to move a longer distance so that the inertia of the test camera is more obvious, and thus the test result is more accurate.
[0092] When testing for deviation, the shooting mark is controlled to move a first set distance in a first set direction to guide the test camera to rotate with the shooting mark, and the rotation deviation of the test camera is determined according to the test image captured by the test camera, and the rotation deviation of the test camera is determined as the rotation test result of the test camera deviation test. When testing for inertia, the shooting mark is controlled to move a second set distance in a first set direction to guide the test camera to rotate with the shooting mark, and the rotation deviation of the test camera is determined according to the test image captured by the test camera, and the rotation deviation of the test camera is determined as the rotation test result of the test camera inertia test. The first set distance is smaller than the second set distance.
[0093] In the above embodiment, the test camera can be tested for deviation test and inertia test items without human intervention, thereby improving the accuracy of the test results.
[0094] As an optional implementation, another embodiment of the present application discloses that, when the test item includes a preset position regression test, the test route includes photographing a marker moving to a preset position, and the test image includes an image photographed when the test camera completes the preset position regression; the steps of the above embodiment determine the rotation deviation of the test camera based on the test image photographed by the test camera, and may specifically include the following steps:
[0095] The deviation between the preset position in the test image and the center point of the test image is determined as the rotation deviation of the test camera.
[0096] Specifically, the shooting mark can be controlled to move to the preset position, and then the test camera can be guided to move with the shooting mark. When the test camera stops moving, the test camera can be operated to fix the preset position. In order to make the test result more accurate, multiple preset positions can be set. For example, eight preset positions are set in some embodiments, including controlling the shooting mark according to Figure 6 The coordinate plane shown moves one grid unit upward, one grid unit downward, one grid unit to the left, and one grid unit to the right as four preset positions, and then controls the test camera to move upward to the maximum angle, downward to the maximum angle, left to the maximum angle, and right to the positions corresponding to the maximum angle as four preset positions.
[0097] Then, the regression condition of each preset position is comprehensively determined to determine the test result of the preset position regression test. For any preset position, the calculation method of its regression condition is the same, and this embodiment takes the calculation method of the regression condition of any preset position as an example for explanation.
[0098] Specifically, for the test image obtained when the test camera completes the preset position regression, the deviation between the preset position in the test image and the center point of the test image is calculated as the rotation deviation of the test camera.
[0099] The deviation angle between the preset position and the center point of the test image may be calculated as the deviation between the preset position in the test image and the center point of the test image. Figure 6 In the embodiment shown, the coordinate plane is marked with a grid, and the deflection angle of the test camera relative to the set initial position when the test camera is facing the grid line. In this way, the test image also includes the grid in the coordinate plane and the deflection angle image of the grid, so that the angle corresponding to the preset position and the angle of the center point of the test image can be determined according to the image, and the difference between the angle corresponding to the preset position and the angle of the center point of the test image is calculated, and the deviation angle between the preset position and the center point of the test image can be obtained.
[0100] In the above embodiment, the test camera can be tested for the preset position regression test item without manual intervention, thereby improving the accuracy of the test result.
[0101] As an optional implementation, another embodiment of the present application discloses that, when the test item includes a power delay test, the test route includes photographing a marker moving at a set speed in a second set direction, and the test image includes a video taken by the test camera from startup to the start of movement; the steps of the above embodiment determine the rotation deviation of the test camera based on the test image taken by the test camera, and may specifically include the following steps:
[0102] The time difference between the moment corresponding to the target video frame in the test image and the moment when the photographed marker begins to move is determined as the rotation deviation of the test camera; the target video frame includes the first video frame in the test image that undergoes displacement.
[0103] In order to obtain a more accurate delay time, the embodiment of the present application selects the video shot by the test camera from the time of startup to the time of starting to move as the test image. After the shooting marker moves, if the test camera has not started to move, the image shot by the test camera is static. When the test camera starts to move under the guidance of the shooting marker, the image shot by the test camera starts to change.
[0104] Therefore, the first video frame in which displacement occurs in the test image can be determined, and the moment corresponding to the video frame is the moment when the test camera starts to move. Then, the time difference between the moment corresponding to the video frame and the moment when the photographed marker starts to move is determined as the rotation deviation of the test camera. The rotation deviation of the test camera is determined as the rotation test result of the test camera power delay test item.
[0105] It should be noted that the markers can be moved at different speeds in multiple directions to determine the power delay of the test camera in different directions and at different speeds, and then the power delay of the test camera can be comprehensively determined based on these data. For example, the average time deviation corresponding to different directions obtained by multiple tests of the test camera in different directions can be calculated, and the average time deviation in each direction can be used as the test result of the power delay project of the test camera in the corresponding direction.
[0106] It should also be noted that the test camera generally includes two motors, one is the motor that controls the test camera to rotate up and down, and the other is the motor that controls the test camera to rotate left and right. In order to test these two motors separately, the shooting marker can be controlled to move up and down at different speeds to guide the test camera to follow the shooting marker to rotate up and down, and test the power delay of the motor that controls the test camera to rotate up and down; the shooting marker can be controlled to move left and right at different speeds to guide the test camera to follow the shooting marker to rotate left and right, and test the power delay of the motor that controls the test camera to rotate left and right.
[0107] In the above embodiment, the test camera can be tested for the power delay test item without human intervention, thereby improving the accuracy of the test result.
[0108] It should be noted that when controlling the left and right movement of the photographed marker, that is, horizontal movement, it can be achieved by controlling the first drive motor in the above embodiment, and when controlling the vertical movement of the photographed marker, it can be achieved by controlling the second drive motor in the above embodiment.
[0109] Corresponding to the above-mentioned rotation test method, the present application embodiment also discloses a rotation test device, see Figure 8 As shown, the device comprises:
[0110] The control module 100 is used to control the shooting marker to move according to the test route required by the test item; the shooting marker includes an object shot by the test camera, and the shooting marker is used to guide the test camera to rotate along with the shooting marker; the test item includes at least one of a follow-up shooting test, a preset position regression test, and a power delay test;
[0111] The determination module 110 is used to determine the rotation deviation of the test camera according to the test image captured by the test camera, and determine the rotation deviation of the test camera as the rotation test result of the test camera in the test item.
[0112] As an optional implementation, another embodiment of the present application discloses that, when the test item includes a follow-up shooting test, the test route includes shooting a marker moving a set distance in a first set direction, and the test image includes an image captured when the test camera completes the follow-up shooting; the determination module 110 of the above embodiment is specifically used to:
[0113] The deviation between the captured marker image in the test image and the center point of the test image is determined as the rotation deviation of the test camera.
[0114] As an optional implementation method, another embodiment of the present application discloses that the follow-up shooting test includes a deviation test and an inertia test; the test route corresponding to the deviation test includes shooting the marker moving a first set distance, and the test route corresponding to the inertia test includes shooting the marker moving a second set distance; the first set distance is smaller than the second set distance.
[0115] As an optional implementation, another embodiment of the present application discloses that, when the test item includes a preset position regression test, the test route includes photographing a marker moving to a preset position, and the test image includes an image photographed when the test camera completes the preset position regression; the determination module 110 of the above embodiment is specifically used to:
[0116] The deviation between the preset position in the test image and the center point of the test image is determined as the rotation deviation of the test camera.
[0117] As an optional implementation, another embodiment of the present application discloses that, when the test item includes a power delay test, the test route includes photographing a marker moving at a set speed in a second set direction, and the test image includes a video taken by the test camera from startup to the start of movement; the determination module 110 of the above embodiment is specifically used to:
[0118] The time difference between the moment corresponding to the target video frame in the test image and the moment when the photographed marker begins to move is determined as the rotation deviation of the test camera; the target video frame includes the first video frame in the test image that undergoes displacement.
[0119] Specifically, the device provided in this embodiment belongs to the same application concept as the method provided in the above embodiment of this application, can execute the method provided in any of the above embodiments of this application, and has the corresponding functional modules and beneficial effects of the execution method. For the technical details not fully described in this embodiment, please refer to the specific processing content of the method provided in the above embodiment of this application, which will not be repeated here.
[0120] The functions implemented by the above modules can be implemented by the same or different processors respectively, and the embodiments of the present application are not limited thereto.
[0121] It should be understood that the units in the above devices can be implemented in the form of a processor calling software. For example, the device includes a processor, the processor is connected to a memory, and instructions are stored in the memory. The processor calls the instructions stored in the memory to implement any of the above methods or realize the functions of each unit of the device, wherein the processor can be a general-purpose processor, such as a CPU or a microprocessor, etc., and the memory can be a memory in the device or a memory outside the device. Alternatively, the units in the device can be implemented in the form of hardware circuits, and the functions of some or all units can be realized by designing the hardware circuits. The hardware circuit can be understood as one or more processors; for example, in one implementation, the hardware circuit is an ASIC, and the functions of some or all of the above units are realized by designing the logical relationship of the components in the circuit; for another example, in another implementation, the hardware circuit can be implemented by PLD, taking FPGA as an example, which can include a large number of logic gate circuits, and the connection relationship between the logic gate circuits is configured by the configuration file, so as to realize the functions of some or all of the above units. All units of the above devices can be implemented in the form of a processor calling software, or in the form of hardware circuits, or in part by a processor calling software, and the remaining part is implemented in the form of hardware circuits.
[0122] In an embodiment of the present application, a processor is a circuit with the ability to process signals. In one implementation, the processor may be a circuit with the ability to read and run instructions, such as a CPU, a microprocessor, a GPU, or a DSP; in another implementation, the processor may implement certain functions through the logical relationship of a hardware circuit, and the logical relationship of the hardware circuit is fixed or reconfigurable, such as a hardware circuit implemented by an ASIC or PLD, such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document to implement the hardware circuit configuration can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units. In addition, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as an NPU, TPU, DPU, etc.
[0123] It can be seen that each unit in the above device can be one or more processors (or processing circuits) configured to implement the above method, such as: CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor forms.
[0124] In addition, all or part of the units in the above device can be integrated together, or can be implemented independently. In one implementation, these units are integrated together and implemented in the form of a SOC. The SOC may include at least one processor for implementing any of the above methods or implementing the functions of each unit of the device. The type of the at least one processor may be different, for example, including a CPU and an FPGA, a CPU and an artificial intelligence processor, a CPU and a GPU, etc.
[0125] An embodiment of the present application further provides a control device, which includes a processor and an interface circuit. The processor in the control device is connected to an input-output component through the interface circuit of the control device.
[0126] The input-output component specifically refers to a hardware component that enables a user to input information and output information to the user, such as a microphone, keyboard, handwriting tablet, touch screen, display, speaker, printer, etc.
[0127] The above-mentioned interface circuit can be any interface circuit that can realize the data communication function, for example, it can be a USB interface circuit, a Type-C interface circuit, a serial port circuit, a PCIE circuit, etc.
[0128] The processor in the control device is a circuit with signal processing capability, which improves the accuracy of the test result by executing any one of the rotation test methods introduced in the above embodiments. The specific implementation of the processor can refer to the above processor implementation, and the embodiments of this application are not strictly limited.
[0129] When the control device is applied to a device with a human-computer interaction function, the input and output components of the control device may be input components and output components on the device, such as a microphone, a keyboard, a handwriting tablet, a touch screen, a display, an audio player, etc. At the same time, the processor of the control device may be a CPU or GPU, etc. provided by the device, and the interface circuit of the control device may be an interface circuit between the information input component of the device and a processor such as a CPU or GPU.
[0130] Corresponding to the above-mentioned rotation test method, the present application embodiment also discloses an electronic device, see Fig. 9 As shown, the electronic device includes:
[0131] Memory 200 and processor 210;
[0132] The memory 200 is connected to the processor 210 and is used to store programs;
[0133] The processor 210 is used to implement the rotation test method disclosed in any of the above embodiments by running the program stored in the memory 200.
[0134] Specifically, the electronic device may further include: a bus, a communication interface 220 , an input device 230 and an output device 240 .
[0135] The processor 210, the memory 200, the communication interface 220, the input device 230 and the output device 240 are connected to each other via a bus.
[0136] A bus may include a pathway that transfers information between components of a computer system.
[0137] The processor 210 may be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application. It may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0138] The processor 210 may include a main processor, and may also include a baseband chip, a modem, and the like.
[0139] The memory 200 stores a program for executing the technical solution of the present application, and may also store an operating system and other key services. Specifically, the program may include a program code, and the program code includes computer operation instructions. More specifically, the memory 200 may include a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM), other types of dynamic storage devices that can store information and instructions, a disk storage, a flash, and the like.
[0140] The input device 230 may include a device for receiving data and information input by a user, such as a keyboard, a mouse, a camera, a scanner, a light pen, a voice input device, a touch screen, a pedometer, or a gravity sensor.
[0141] Output device 240 may include devices that allow information to be output to a user, such as a display screen, printer, speaker, etc.
[0142] The communication interface 220 may include any transceiver or the like to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.
[0143] The processor 210 executes the program stored in the memory 200 and calls other devices, which can be used to implement each step of the rotation test method provided in the above embodiment of the present application.
[0144] In addition to the above methods and devices, the embodiments of the present application may also be a computer program product, which includes a computer program. When the computer program is run by a processor, the rotation test method provided by any of the above embodiments of the present application may be executed. Optionally, the computer program may be stored in a readable storage medium or in the cloud of a computer device; the processor of the computer device reads the computer program from the readable storage medium or the cloud.
[0145] The computer program product may be written in any combination of one or more programming languages to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages such as Java, C++, etc., and also conventional procedural programming languages such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0146] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (SDK).
[0147] In addition, the embodiment of the present application may also be a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes each step of the rotation test method provided in the above embodiment.
[0148] The computer readable storage medium may adopt any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0149] Specifically, the specific working contents of each part of the above-mentioned electronic device, computer program product and storage medium, as well as the specific processing contents when the computer program product or the computer program on the above-mentioned storage medium is executed by the processor, can all be found in the contents of the various embodiments of the above-mentioned rotation test method, and will not be repeated here.
[0150] For the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.
[0151] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0152] The steps in the methods of each embodiment of the present application can be adjusted in order, combined and deleted according to actual needs, and the technical features recorded in each embodiment can be replaced or combined.
[0153] The modules and sub-modules in the devices and terminals in the various embodiments of the present application can be combined, divided and deleted according to actual needs.
[0154] In the several embodiments provided in the present application, it should be understood that the disclosed terminals, devices and methods can be implemented in other ways. For example, the terminal embodiments described above are only schematic, for example, the division of modules or submodules is only a logical function division, and there may be other division methods in actual implementation, such as multiple submodules or modules can be combined or integrated into another module, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0155] The modules or submodules described as separate components may or may not be physically separated, and the components of the modules or submodules may or may not be physical modules or submodules, that is, they may be located in one place, or they may be distributed on multiple network modules or submodules. Some or all of the modules or submodules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0156] In addition, each functional module or submodule in each embodiment of the present application may be integrated into one processing module, or each module or submodule may exist physically separately, or two or more modules or submodules may be integrated into one module. The above-mentioned integrated modules or submodules may be implemented in the form of hardware or in the form of software functional modules or submodules.
[0157] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0158] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly by hardware, software units executed by a processor, or a combination of the two. The software units may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0159] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including a..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0160] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A rotation test method, characterized in that: include: Controlling the photographing marker to move along the test route required by the test item; the photographing marker includes an object photographed by a test camera, and the photographing marker is used to guide the test camera to rotate along with the photographing marker; the test item includes at least one of a follow-up shooting test, a preset position regression test, and a power delay test; According to the test image captured by the test camera, a rotation deviation of the test camera is determined, and the rotation deviation of the test camera is determined as a rotation test result of the test camera in the test item.
2. The testing method according to claim 1, characterized in that: In the case where the test item includes a follow-up shooting test, the test route includes the shooting marker moving a set distance in a first set direction, and the test image includes an image captured when the test camera completes the follow-up shooting; The step of determining the rotation deviation of the test camera according to the test image captured by the test camera includes: The deviation between the captured marker image in the test image and the center point of the test image is determined as the rotation deviation of the test camera.
3. The testing method according to claim 2, characterized in that: The following shooting test includes a deviation test and an inertia test; The test route corresponding to the deviation test includes moving the photographed marker a first set distance, and the test route corresponding to the inertia test includes moving the photographed marker a second set distance; the first set distance is smaller than the second set distance.
4. The method according to claim 1, characterized in that In the case where the test item includes a preset position regression test, the test route includes the shooting marker moving to the preset position, and the test image includes an image shot when the test camera completes the preset position regression; The step of determining the rotation deviation of the test camera according to the test image captured by the test camera includes: The deviation between the preset position in the test image and the center point of the test image is determined as the rotation deviation of the test camera.
5. The method according to claim 1, characterized in that In the case where the test item includes a power delay test, the test route includes the shooting marker moving at a set speed in a second set direction, and the test image includes a video shot by the test camera from startup to the start of movement; The step of determining the rotation deviation of the test camera according to the test image captured by the test camera includes: The time difference between the moment corresponding to the target video frame in the test image and the moment when the photographed marker starts to move is determined as the rotation deviation of the test camera; the target video frame includes the first video frame in the test image that undergoes displacement.
6. A rotation test system, characterized in that: Includes handling equipment, tracks and filming markers; The photographing marker is arranged on the track and is movable along the track; The processing device is used to control the photographing marker to move along the track according to the test route required by the test item; the photographing marker includes an object photographed by a test camera, and the photographing marker is used to guide the test camera to rotate following the photographing marker; the test item includes at least one of a follow-up shooting test, a preset position regression test and a power delay test; based on the test image photographed by the test camera, the rotation deviation of the test camera is determined, and the rotation deviation of the test camera is determined as the rotation test result of the test camera in the test item.
7. The system according to claim 6, characterized in that It also includes a platform, the track includes a circular track; the platform is arranged at the center of the circular track, and the platform is used to install the test camera.
8. The system according to claim 7, characterized in that It also includes a coordinate plane that is fitted with the annular track; the coordinate plane is marked with a grid, and the deflection angle of the test camera relative to the set initial position when the test camera is facing the grid line.
9. A rotation test device, characterized in that: include: A control module, used for controlling the shooting marker to move according to the test route required by the test item; the shooting marker includes an object shot by the test camera, and the shooting marker is used to guide the test camera to rotate following the shooting marker; the test item includes at least one of a follow-up shooting test, a preset position regression test, and a power delay test; A determination module is used to determine the rotation deviation of the test camera according to the test image taken by the test camera, and determine the rotation deviation of the test camera as the rotation test result of the test camera in the test item.
10. An electronic device, characterized in that: include: Memory and processor; Wherein, the memory is used to store programs; The processor is used to implement the method according to any one of claims 1 to 5 by running the program in the memory.
11. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Method and device of tracking shoot by intelligent terminal
CN106331511A
Mobile client following shooting method and device based on CamShift
CN113301189A
Camera frame synchronization test method and device and storage medium
CN113923317A
Intelligent holder
CN114110341A
Pan-tilt camera rotation function test method and device, terminal and medium
CN115824596A