Method, system and device for aligning images captured by a camera

By obtaining camera module parameters and calling preset benchmarking images of the material library, and automatically adjusting the camera position, the problem of manual adjustment in the existing technology is solved, and automatic benchmarking shooting in the research and development stage of smart devices is realized, reducing time and labor costs.

CN113596438BActive Publication Date: 2024-12-27SHANGHAI LONGCHEER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110786029.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-12
Publication Date
2024-12-27
Estimated Expiration
2041-07-12

AI Technical Summary

Technical Problem

In the prior art, camera shooting benchmarking requires manual adjustment of position and angle, which is time-consuming and labor-intensive, and depends on the technical proficiency of the personnel, making it difficult to achieve automation and efficiency.

Method used

By obtaining the module parameters required for the camera to capture images, calling the preset benchmark image in the material library, judging the consistency between the current image and the preset benchmark image, adjusting the camera position according to the judgment results, and using the circuit to drive the bracket and stabilizer Realize automatic benchmarking shooting.

Benefits of technology

It realizes automatic benchmarking and shooting of the camera in the development stage of smart devices, simplifies the complexity of analysis benchmarking, and optimizes time and labor costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113596438B_ABST
    Figure CN113596438B_ABST
Patent Text Reader

Abstract

The purpose of this application is to provide a method, system and device for benchmarking images taken by a camera. This application obtains the module parameters required for the camera to take images, and calls the preset benchmark image in the material library based on the module parameters; obtains the current imaging corresponding to the benchmark in the camera's viewfinder, determines whether the preset benchmark image is consistent with the current imaging, and determines the judgment result; determines the position adjustment parameters based on the judgment result, adjusts the position of the camera according to the position adjustment parameters, and completes the shooting of the benchmark. This realizes the automatic collection of test images in the research and development stage of smart devices, simplifies the complexity of camera resolution benchmarking, and optimizes time and labor costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computers, and in particular to a method, system and device for aligning images taken by a camera. Background Art

[0002] During the R&D stage of smart device cameras, actual shooting is required to ensure that the factory testing standards meet the standards for whole-machine acceptance. This requires actual shooting at a specific distance, angle, and using a specific chart. A specified number of photos must be taken with each camera model, and all photos must then be manually judged.

[0003] In the existing technology, shooting is done manually using a tripod, which is highly related to the technical proficiency of the personnel. Even if high-end laboratories use slide rails to facilitate distance adjustment, manual adjustment of shooting angle and height is still required, which is time-consuming and laborious. Summary of the invention

[0004] One purpose of the present application is to provide a method, system and device for aligning images captured by a camera, so as to solve the problem in the prior art that it is time-consuming and laborious to manually adjust the shooting position angle of the camera for capturing the alignment.

[0005] According to one aspect of the present application, a method for aligning an image captured by a camera is provided, the method comprising:

[0006] Obtaining module parameters required by the camera to capture images, and calling preset benchmark images in the material library based on the module parameters;

[0007] Obtaining a current image corresponding to the reference image in the camera's viewfinder, determining whether the preset reference image is consistent with the current image, and determining a determination result;

[0008] A position adjustment parameter is determined based on the judgment result, and the position of the camera is adjusted according to the position adjustment parameter to complete the shooting of the target.

[0009] Optionally, the module parameters include module pixels, fixed focus module, focus module and module type, and calling a preset benchmark image in a material library based on the module parameters includes:

[0010] Obtain the module pixel, fixed focus module, focus module and module type of the camera;

[0011] The preset reference images in the material library are called according to the module pixels, the fixed focus module, the focusing module and the module type, wherein the preset reference images include a left reference image, a middle reference image and a right reference image.

[0012] Optionally, the judging whether the preset reference image is consistent with the current image and determining the judging result includes:

[0013] Comparing the image parameters corresponding to the preset reference image with the image parameters corresponding to the current imaging to determine whether the two are consistent, and if so, the preset reference image is consistent with the current imaging;

[0014] If not, the preset reference image is different from the current image.

[0015] Optionally, determining the position adjustment parameter based on the judgment result includes:

[0016] When the preset reference image is consistent with the current image, the adjustment parameters are all zero;

[0017] When the preset reference image is different from the current imaging, the position adjustment parameter of the camera is calculated according to the preset reference image.

[0018] Optionally, the position of the camera includes the distance between the camera and the reference mark, the distance between the camera and the ground, and the angle between the camera and a coordinate system.

[0019] Optionally, the method comprises:

[0020] A shooting device for mounting a camera is provided, wherein the shooting device comprises a circuit driving bracket, a slide rail and a stabilizer;

[0021] The circuit drives the bracket to move on the slide rail to obtain the distance between the camera and the target;

[0022] The distance between the camera and the ground is obtained by driving the bracket to move up and down through the circuit;

[0023] The camera is adjusted by the stabilizer to obtain an angle between the camera and the coordinate system.

[0024] Optionally, calling a preset benchmark image in a material library based on the module parameter includes:

[0025] Based on the module parameters, calling the corresponding preset benchmark images at the first position, the second position and the third position in the material library;

[0026] The process of obtaining a current image corresponding to the reference image in the camera's viewfinder, determining whether the preset reference image is consistent with the current image, and determining a determination result includes:

[0027] Obtain the current imaging corresponding to the reference mark in the viewfinder when the camera is at the first position, the second position and the third position respectively, determine whether the preset reference mark image corresponding to each position is consistent with the current imaging at the corresponding position, and determine the judgment result.

[0028] According to another aspect of the present application, a system for aligning images captured by a camera is also provided, the system comprising:

[0029] A data calling module, used to obtain module parameters of the camera, and call a preset benchmark image in the material library based on the module parameters;

[0030] A judgment module, used to obtain a current image corresponding to the reference image in the camera's viewfinder, judge whether the preset reference image is consistent with the current image, and determine a judgment result;

[0031] A position adjustment module, used to determine a position adjustment parameter based on the judgment result, and adjust the position of the camera according to the position adjustment parameter;

[0032] The photography module is used to complete the photography of the target.

[0033] Optionally, the position adjustment module includes a stabilizer unit, a slide rail unit and a support unit, wherein:

[0034] The stabilizer unit is used to adjust the angle between the camera and the coordinate system according to the position adjustment parameter;

[0035] The slide rail unit is used to adjust the distance between the camera and the target according to the position adjustment parameter;

[0036] The support unit is used to adjust the distance between the camera and the ground according to the position adjustment parameter.

[0037] Optionally, the stabilizer unit is connected to the camera, the slide rail unit is arranged on the ground, and the support unit is used to connect the stabilizer unit and the slide rail unit, wherein the slide rail unit includes a screw slide rail.

[0038] Optionally, the stabilizer unit includes a first brushless motor and three gyroscopes, and the support unit includes a second brushless motor, a telescopic rod and a bolt connector, wherein the bolt connector is used to connect the telescopic rod and the slide rail unit, and to connect the telescopic rod and the stabilizer unit.

[0039] According to yet another aspect of the present application, a computer-readable medium is provided, on which computer-readable instructions are stored. The computer-readable instructions can be executed by a processor to implement any of the methods described above.

[0040] According to another aspect of the present application, a device for aligning an image captured by a camera is provided, wherein the device comprises:

[0041] one or more processors; and

[0042] A memory storing computer readable instructions, which, when executed, cause the processor to perform the operations of any of the methods described above.

[0043] Compared with the prior art, this application obtains the module parameters required by the camera to shoot images, and calls the preset benchmark image in the material library based on the module parameters; obtains the current imaging corresponding to the benchmark in the camera's viewfinder, determines whether the preset benchmark image is consistent with the current imaging, and determines the judgment result; determines the position adjustment parameters based on the judgment result, adjusts the position of the camera according to the position adjustment parameters, and completes the shooting of the benchmark. This realizes the automatic collection of test images in the research and development stage of smart devices, simplifies the complexity of camera resolution benchmarking, and optimizes time and labor costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0045] Figure 1 A schematic flow chart of a method for aligning images captured by a camera according to one aspect of the present application is shown;

[0046] Figure 2 A schematic flow chart of a method for aligning images captured by a camera in an optional embodiment of the present application is shown;

[0047] Figure 3 A schematic diagram of a system framework structure for aligning images captured by a camera according to another aspect of the present application is shown;

[0048] Figure 4 A schematic diagram of the structure of a slide rail unit in an optional embodiment of the present application is shown;

[0049] Figure 5 A schematic diagram of a supporting unit structure in an optional embodiment of the present application is shown;

[0050] Figure 6 A front view of a schematic structural diagram of a stabilizer unit in an optional embodiment of the present application is shown;

[0051] Figure 7 A right view of a schematic structural diagram of a stabilizer unit in an optional embodiment of the present application is shown.

[0052] The same or similar reference numerals in the drawings represent the same or similar components. DETAILED DESCRIPTION

[0053] The present application is described in further detail below in conjunction with the accompanying drawings.

[0054] In a typical configuration of the present application, the terminal, the device of the service network and the trusted party all include one or more processors (CPU), input / output interfaces, network interfaces and memories.

[0055] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0056] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory media such as modulated data signals and carrier waves.

[0057] Figure 1 A schematic flow chart of a method for benchmarking images taken by a camera according to one aspect of the present application is shown, the method comprising: S100 to S400, wherein in S100, the module parameters required for the camera to take images are obtained, and the preset benchmark image in the material library is called based on the module parameters; in S200, the current imaging corresponding to the benchmark in the camera's viewfinder is obtained, and it is determined whether the preset benchmark image is consistent with the current imaging, and the judgment result is determined; in S300, the position adjustment parameters are determined based on the judgment result, and the position of the camera is adjusted according to the position adjustment parameters; in S400, the shooting of the benchmark is completed. Thereby, the automatic collection of test images in the research and development stage of smart devices is realized, the complexity of camera resolution benchmarking is simplified, and the time cost and labor cost are optimized.

[0058] Specifically, in S100, the module parameters required for the camera to capture images are obtained, and the preset benchmark images in the material library are called based on the module parameters. Here, the application scenario of the present application can be to use cameras with a variety of different parameters in an optical laboratory for resolution benchmark analysis. First, the module parameters required for the camera to capture images are obtained, and the preset benchmark images in the material library are matched based on the module parameters, and the preset benchmark images that are successfully matched are called. Among them, the preset benchmark image is obtained by actual shooting and benchmarking based on a specified distance, a specified angle, and a specified chart.

[0059] In S200, the current imaging corresponding to the reference image in the camera's viewfinder is obtained, and it is determined whether the preset reference image is consistent with the current imaging, and the judgment result is determined. Here, the TVLINE chart image that has been set for the camera reference can be used to obtain the current imaging in the viewfinder. The TVLINE chart image is a subjective judgment image of the resolution, and various image parameters in the current imaging are obtained in real time. The various image parameters in the preset reference image are compared with the various image parameters in the current imaging one by one to determine whether the two are consistent. If not, it indicates that the camera has not reached the specified distance and / or specified angle, and the position of the camera needs to be further adjusted, wherein the position includes but is not limited to the distance between the camera and the chart and the angle between the camera and the horizontal plane.

[0060] In S300, a position adjustment parameter is determined based on the judgment result, and the position of the camera is adjusted according to the position adjustment parameter. Here, when the preset reference image is consistent with the current imaging, the position and / or angle of the camera may not be adjusted, and the position adjustment parameter may be zero; when the preset reference image is inconsistent with the current imaging, the position adjustment parameter is calculated and determined according to the image parameter of the preset reference image, and the position of the camera is adjusted according to the position adjustment parameter so that its imaging is consistent with the preset reference image.

[0061] In S400, the photographing of the target is completed. Here, a camera can be used to complete the photographing of the target, and the performance of the camera can be manually determined based on the photographed image.

[0062] In an optional embodiment of the present application, in S100, the module parameters include module pixels, fixed focus module, focus module and module type, and the module pixels, fixed focus module, focus module and module type of the camera are obtained; the preset reference images in the material library are called according to the module pixels, fixed focus module, focus module and module type, wherein the preset reference images include left reference images, middle reference images and right reference images. Here, the module parameters include but are not limited to module pixels, fixed focus module, focus module and module type, wherein the module types include telephoto, wide angle and macro. Based on the module pixels, fixed focus module, focus module and module type, the corresponding preset reference images are matched in the material library, and the camera resolution is accurately determined by shooting three positions of the same TVLINE chart.

[0063] In an optional embodiment of the present application, in S200, the image parameters corresponding to the preset reference image are compared with the image parameters corresponding to the current imaging to determine whether the two are consistent. If so, the preset reference image is consistent with the current imaging; if not, the preset reference image is different from the current imaging. Here, analyzing whether the image parameters corresponding to the preset reference image are consistent with the image parameters corresponding to the current imaging to determine whether the two are consistent simplifies the calculation process and effectively reduces the amount of calculation.

[0064] In an optional embodiment of the present application, a specified image area can be identified in the current imaging of the camera through a specified algorithm. For example, the target image area in the current imaging can be identified through a frame capture method, and the image parameters of the target image area can be obtained. Then, it is determined whether the image parameters of the target image area are consistent with the image parameters of the corresponding image area in the preset reference image. If so, it is determined that the current imaging is the same as the preset reference image; if not, the current imaging is different from the preset reference image. In this regard, the calculation process can be further effectively simplified and the amount of calculation can be reduced.

[0065] In an optional embodiment of the present application, in S300, when the preset reference image is consistent with the current imaging, the adjustment parameters are all zero; when the preset reference image is different from the current imaging, the position adjustment parameters of the camera are calculated according to the preset reference image. Here, when the preset reference image is consistent with the current imaging, it indicates that the camera does not need to adjust its position, and the adjustment parameters are all zero; when the preset reference image is different from the current imaging, the position adjustment parameters of the camera are calculated according to the preset reference image using a preset algorithm, such as the displacement required by the camera in the coordinate system and the adjustment angle required by the camera.

[0066] In an optional embodiment of the present application, the position of the camera includes the distance between the camera and the reference, the distance between the camera and the ground, and the angle between the camera and the coordinate system. Here, the position adjustment parameters of the camera including the distance between the camera and the reference, the distance between the camera and the ground, and the angle between the camera and the coordinate system are calculated based on the preset reference image using a preset algorithm, thereby realizing the automation of the shooting reference processing before the camera resolution analysis.

[0067] In an optional embodiment of the present application, a shooting device for mounting a camera is provided, wherein the shooting device includes a circuit-driven bracket, a slide rail, and a stabilizer; the distance between the camera and the target is obtained by moving the circuit-driven bracket on the slide rail; the distance between the camera and the ground is obtained by moving the circuit-driven bracket up and down; and the angle between the camera and the coordinate system is obtained by adjusting the camera through the stabilizer. Here, the camera is moved to a corresponding shooting distance in the slide rail by the circuit-driven bracket; the camera is raised or lowered to a corresponding shooting height by the circuit-driven bracket; and the angle of the camera in the three directions of the x-axis, y-axis, and z-axis is adjusted by the circuit-driven stabilizer to meet the shooting angle of view.

[0068] In an optional embodiment of the present application, in S100, the preset reference images corresponding to the first position, the second position and the third position in the material library are called based on the module parameters, the current imaging corresponding to the reference in the viewfinder when the camera is respectively at the first position, the second position and the third position is obtained, and it is determined whether the preset reference image corresponding to each position is consistent with the current imaging at the corresponding position, and the judgment result is determined. Here, the application environment of the present application can be an optical laboratory, by setting the camera at at least three positions to shoot the TVLINE chart to obtain experimental data related to the resolution of all cameras, calling the preset reference images corresponding to multiple positions in the material library based on the module parameters, obtaining the current imaging corresponding to the reference in the real-time viewfinder when the camera is respectively at different positions, and then judging whether the current imaging is consistent with the preset reference image at the specified position, if not, the position adjustment parameters of the camera are determined by calculation, and the position adjustment of the camera is completed to complete the shooting of the corresponding position; for example, the first position, the second position and the third position are respectively the left, middle and right positions, and the corresponding module pixels, fixed focus, or focus module and module type are set to call the corresponding left, middle and right three images in the material library. By presetting the preset benchmark images at multiple positions in the library, the camera can be automatically adjusted to the corresponding position to complete the shooting of the specified TVLINE chart, realizing the automation of the shooting benchmarking process of different positions of the same specified image before the camera resolution analysis. By comparing the TVLINE library, angle adjustment prompts and automatic capture can be realized. The use of slide rails and bracket lifting can quickly align, with excellent stability, reducing the failure of manual alignment and shooting offset caused by hand shaking, and improving shooting efficiency.

[0069] Figure 2The present invention shows a schematic flow diagram of a method for aligning images captured by a camera in an optional embodiment of the present invention, wherein templates of the left, middle and right positions are extracted according to the TVLINE chart image, the templates of the left, middle and right positions are stored in the material library, the current template is determined according to the templates of the left, middle and right positions, the current template is compared with the current imaging of the camera to determine the difference of the image parameters, and the normalization of the current imaging image is completed based on the difference, that is, before the slide rail moves, the displacement and angle values ​​that the camera needs to move are calculated based on the difference, and the preliminary alignment of the camera is completed. Then, a new current image is input, and the new current image is compared with the current template to calculate the difference of the image parameters. Based on the difference of the image parameters, the distance and angle that the camera needs to move are fed back, and then the secondary alignment of the camera is completed. At this time, it is determined whether the new current imaging is consistent with the current template. If so, take a photo; if not, repeat the comparison of the image difference between the new current image and the current template and adjust the position of the camera. By automatically adjusting the camera to the corresponding position to complete the shooting of the specified TVLINE chart, the automation of the shooting alignment processing of different positions of the same specified image before the camera resolution analysis is realized.

[0070] An embodiment of the present application also provides a computer-readable medium having computer-readable instructions stored thereon, and the computer-readable instructions can be executed by a processor to implement the aforementioned method for aligning images captured by a camera.

[0071] Corresponding to the method described above, the present application also provides a terminal, which includes a terminal capable of executing the above Figure 1 or Figure 2 Or the modules or units of the method steps described in each embodiment, these modules or units can be implemented by hardware, software or a combination of hardware and software, and this application does not limit it. For example, in one embodiment of the present application, a device for marking an image captured by a camera is also provided, wherein the device includes:

[0072] one or more processors; and

[0073] A memory storing computer-readable instructions, wherein when the computer-readable instructions are executed, the processor performs the operations of the aforementioned method for marking images taken by a camera.

[0074] For example, the computer readable instructions, when executed, cause the one or more processors to:

[0075] Obtain the module parameters required for the camera to capture images, and call the preset reference image in the material library based on the module parameters; obtain the current imaging corresponding to the reference image in the camera's viewfinder, determine whether the preset reference image is consistent with the current imaging, and determine the judgment result; determine the position adjustment parameters based on the judgment result, adjust the position of the camera according to the position adjustment parameters, and complete the shooting of the reference image.

[0076] Figure 3 A schematic diagram of a system framework structure for camera-captured image alignment according to another aspect of the present application is shown, the system comprising: a data calling module 100, for obtaining the module parameters of the camera, and calling the preset alignment image in the material library based on the module parameters; a judgment module 200, for obtaining the current imaging corresponding to the alignment in the camera's viewfinder, judging whether the preset alignment image is consistent with the current imaging, and determining the judgment result; a position adjustment module 300, for determining the position adjustment parameters based on the judgment result, and adjusting the position of the camera according to the position adjustment parameters; a photography module 400, for completing the shooting of the alignment. This enables the automatic collection of test images in the research and development stage of smart devices, simplifies the complexity of camera resolution alignment, and optimizes time and labor costs.

[0077] It should be noted that the contents executed by the data calling module 100, the judgment module 200, the position adjustment module 300 and the photography module 400 are respectively the same or correspondingly the same as the contents in the above steps S100, S200, S300 and S400, and are not repeated here for the sake of simplicity.

[0078] In an optional embodiment of the present application, the position adjustment module 300 includes a stabilizer unit 301, a slide rail unit 302 and a support unit 303, wherein the stabilizer unit 301 is used to adjust the angle between the camera and the coordinate system according to the position adjustment parameter; the slide rail unit 302 is used to adjust the distance between the camera and the reference mark according to the position adjustment parameter; and the support unit 303 is used to adjust the distance between the camera and the ground according to the position adjustment parameter. Here, the stabilizer unit 301 can be connected to the camera and can have a built-in motor to drive the gyroscope in the stabilizer to adjust the angle between the camera and the coordinate system according to the position adjustment parameter; the slide rail unit 302 can be a screw slide rail to efficiently adjust the distance between the camera and the reference mark according to the position adjustment parameter; the support unit 303 can include a telescopic rod component and a built-in motor, so that the motor can be used to adjust the telescopic rod component according to the position adjustment parameter to complete the displacement of the camera in the direction perpendicular to the ground.

[0079] In an optional embodiment of the present application, the stabilizer unit 301 is connected to the camera, the slide rail unit 302 is set on the ground, and the support unit 303 is used to connect the stabilizer unit 301 and the slide rail unit 302, wherein the slide rail unit 302 includes a screw rail. Here, the stabilizer unit 301 is connected to the camera, and includes a first brushless motor and three gyroscopes, including a pitch axis (z axis), a roll axis (x axis) and a heading axis (y axis). The three gyroscopes are driven by the first brushless motor to achieve rotation in three-axis directions, so as to adjust the angle between the camera and the coordinate system according to the position adjustment parameters. The slide rail unit 302 can be a screw rail, which can be set on the ground, and is used to adjust the distance between the camera and the target according to the position adjustment parameters, for example, according to the actual shooting requirements of macro, wide-angle and different pixel cameras, a ground track is constructed to meet the commonly used actual shooting distance requirements.

[0080] Figure 4 A schematic diagram of the structure of a slide rail unit in an optional embodiment of the present application is shown, wherein the slide rail unit 302 can be a screw slide rail set on the ground, used to adjust the distance between the camera and the benchmark according to the position adjustment parameters. For example, a ground track is constructed according to the actual shooting requirements of macro, wide-angle and different pixel cameras to meet the commonly used actual shooting distance requirements.

[0081] In an optional embodiment of the present application, the stabilizer unit 301 includes a first brushless motor and three gyroscopes, and the support unit 303 includes a second brushless motor, a telescopic rod and a bolt connector, wherein the bolt connector is used to connect the telescopic rod and the slide rail unit 302, and to connect the telescopic rod and the stabilizer unit 301. Here, the support unit 303 may include a second brushless motor, a telescopic rod and a bolt connector, wherein the bolt connector can be used to connect the telescopic rod and the slide rail and to connect the telescopic rod and the stabilizer unit 301, the second brushless motor drives the telescopic rod to adjust the distance between the camera and the ground according to the position adjustment parameter; the stabilizer is driven by the circuit to adjust the angles in the three directions of x, y, and z to meet the shooting angle; then, the shooting angle is determined by the above method to meet the requirements, and immediate shooting and picture storage are achieved; when aligning the image captured by the camera, the left scene can be shot first and then moved to the middle position to repeat the process of S200 to S400, and after completing the middle shooting, it can be moved to the right position to repeat S200 to S400 to achieve the shooting of the right scene.

[0082] Figure 5 A schematic diagram of a support unit structure in an optional embodiment of the present application is shown, wherein the bolt connector is marked as A, the telescopic rod is marked as B, and A can be used to connect B and the slide rail and to connect B and the stabilizer unit 301.

[0083] Figure 6 and Figure 7 The front view and right view of a schematic diagram of the structure of a stabilizer unit in an optional embodiment of the present application are respectively shown, wherein the pitch axis (z-axis) is marked as D, the roll axis (x-axis) is marked as E, and the yaw axis (y-axis) is marked as F. A clamp is provided between D and E to fix a camera or a terminal device with a camera, and a brushless motor can be arranged inside D and connected to the terminal device.

[0084] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

[0085] It should be noted that the present application can be implemented in software and / or a combination of software and hardware, for example, can be implemented using an application specific integrated circuit (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software program of the present application can be executed by a processor to implement the steps or functions described above. Similarly, the software program of the present application (including relevant data structures) can be stored in a computer-readable recording medium, for example, a RAM memory, a magnetic or optical drive or a floppy disk and similar devices. In addition, some steps or functions of the present application can be implemented using hardware, for example, as a circuit that cooperates with a processor to perform each step or function.

[0086] In addition, a part of the present application may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present application through the operation of the computer. The program instruction for calling the method of the present application may be stored in a fixed or removable recording medium, and / or transmitted through a data stream in a broadcast or other signal-bearing medium, and / or stored in a working memory of a computer device that runs according to the program instruction. Here, according to an embodiment of the present application, a device is included, the device including a memory for storing computer program instructions and a processor for executing program instructions, wherein, when the computer program instruction is executed by the processor, the device is triggered to run the method and / or technical solution based on the aforementioned multiple embodiments according to the present application.

[0087] It is obvious to those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the spirit or basic features of the present application. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present application is limited by the attached claims rather than the above description, so it is intended to include all changes that fall within the meaning and scope of the equivalent elements of the claims in the present application. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the device claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

Claims

1. A method for aligning an image captured by a camera, wherein: The method comprises: A shooting device for mounting a camera is provided, wherein the shooting device comprises a circuit driving bracket, a slide rail and a stabilizer; The circuit drives the bracket to move on the slide rail to obtain the distance between the camera and the target; The distance between the camera and the ground is obtained by driving the bracket to move up and down through the circuit; Adjusting the camera by the stabilizer to obtain an angle between the camera and the coordinate system; Obtaining module parameters required for the camera to capture images, and calling a preset benchmark image in a material library based on the module parameters, wherein the preset benchmark image is obtained by performing real-time benchmarking based on a specified distance, a specified angle, and a specified chart; Obtaining a current image corresponding to the reference image in the camera's viewfinder, determining whether the preset reference image is consistent with the current image, and determining a determination result; Determining a position adjustment parameter based on the judgment result, adjusting the position of the camera according to the position adjustment parameter, and completing the shooting of the target; The process of obtaining a current image corresponding to the reference image in the camera's viewfinder, determining whether the preset reference image is consistent with the current image, and determining a determination result includes: Identify the target image area in the current imaging by using the frame grabbing method, and obtain the image parameters of the target image area; Determine whether the image parameters of the target image area are consistent with the image parameters of the corresponding image area in the preset reference image, and determine the determination result; The module parameters include module pixels, fixed focus module, focus module and module type, and calling the preset benchmark image in the material library based on the module parameters includes: Obtain the module pixel, fixed focus module, focus module and module type of the camera; The preset reference images in the material library are called according to the module pixels, the fixed focus module, the focusing module and the module type, wherein the preset reference images include a left reference image, a middle reference image and a right reference image.

2. The method according to claim 1, wherein: The determining whether the preset reference image is consistent with the current image and determining the determination result includes: Comparing the image parameters corresponding to the preset reference image with the image parameters corresponding to the current imaging to determine whether the two are consistent, and if so, the preset reference image is consistent with the current imaging; If not, the preset reference image is different from the current image.

3. The method according to claim 1, wherein: The determining of the position adjustment parameter based on the judgment result includes: When the preset reference image is consistent with the current image, the adjustment parameters are all zero; When the preset reference image is different from the current imaging, the position adjustment parameter of the camera is calculated according to the preset reference image.

4. The method according to claim 1, wherein: The position of the camera includes the distance between the camera and the reference mark, the distance between the camera and the ground, and the angle between the camera and the coordinate system.

5. The method according to claim 1, wherein: Based on the module parameters, a preset benchmark image in the material library is called, including: Based on the module parameters, calling the corresponding preset benchmark images at the first position, the second position and the third position in the material library; The process of obtaining a current image corresponding to the reference image in the camera's viewfinder, determining whether the preset reference image is consistent with the current image, and determining a determination result includes: Obtain the current imaging corresponding to the reference mark in the viewfinder when the camera is at the first position, the second position and the third position respectively, determine whether the preset reference mark image corresponding to each position is consistent with the current imaging at the corresponding position, and determine the judgment result.

6. A system for marking images taken by a camera, characterized in that: The system comprises: A data calling module, used to obtain module parameters of the camera, and call a preset benchmark image in the material library based on the module parameters, wherein the preset benchmark image is obtained by performing real-time benchmarking based on a specified distance, a specified angle, and a specified chart; A judgment module, used to obtain a current image corresponding to the reference image in the camera's viewfinder, judge whether the preset reference image is consistent with the current image, and determine a judgment result; A position adjustment module, used to determine a position adjustment parameter based on the judgment result, and adjust the position of the camera according to the position adjustment parameter; A photography module, used to complete the photography of the target object; Among them, the judgment module is used to: Identify the target image area in the current imaging by using the frame grabbing method, and obtain the image parameters of the target image area; Determine whether the image parameters of the target image area are consistent with the image parameters of the corresponding image area in the preset reference image, and determine the determination result; The position adjustment module includes a stabilizer unit, a slide rail unit and a support unit, wherein: The stabilizer unit is used to adjust the angle between the camera and the coordinate system according to the position adjustment parameter; The slide rail unit is used to adjust the distance between the camera and the target according to the position adjustment parameter; The support unit is used to adjust the distance between the camera and the ground according to the position adjustment parameter; The module parameters include module pixels, fixed focus module, focus module and module type, and the data calling module is used for: Obtain the module pixel, fixed focus module, focus module and module type of the camera; The preset reference images in the material library are called according to the module pixels, the fixed focus module, the focusing module and the module type, wherein the preset reference images include a left reference image, a middle reference image and a right reference image.

7. The system according to claim 6, characterized in that The stabilizer unit is connected to the camera, the slide rail unit is arranged on the ground, and the support unit is used to connect the stabilizer unit and the slide rail unit, wherein the slide rail unit includes a screw slide rail.

8. The system according to claim 7, characterized in that The stabilizer unit includes a first brushless motor and three gyroscopes, and the support unit includes a second brushless motor, a telescopic rod and a bolt connector, wherein the bolt connector is used to connect the telescopic rod and the slide rail unit, and to connect the telescopic rod and the stabilizer unit.

9. A computer-readable medium having computer-readable instructions stored thereon, wherein the computer-readable instructions can be executed by a processor to implement the method according to any one of claims 1 to 5.

10. A device for marking images taken by a camera, wherein: The device comprises: one or more processors; and A memory storing computer readable instructions which, when executed, cause the processor to perform the operations of the method as claimed in any one of claims 1 to 5.