Camera and control method

By introducing a power unit into the camera, the position of the hood is automatically adjusted according to the focal length change of the zoom lens, the problem of mismatch of the position of the hood in the prior art is solved, and a higher precision shading effect is achieved.

CN119520957APending Publication Date: 2025-02-25HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311071546.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-24
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

In existing cameras, the actual position of the light shield does not match the actual position of the field of view angle, resulting in manual adjustments during installation, with low accuracy and low efficiency.

Method used

By introducing a power unit into the camera, the power unit drives the light shield to move along the optical axis direction of the zoom lens according to the change in the focal length of the zoom lens, thereby achieving accurate adjustment of the light shield position.

Benefits of technology

The position accuracy of the hood is improved and the optimal shading effect is achieved. Compared with manual adjustment, the power unit can achieve higher accuracy position adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119520957A_ABST
    Figure CN119520957A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a camera and a control method, which are used for improving the position precision of a light shield and achieving an optimal light shielding effect. The camera provided by the embodiment of the invention comprises a zoom lens used for acquiring an image in a target visual field; the light shield is used for shielding light outside a target view field; and the power unit is used for driving the light shield to move along the optical axis direction of the zoom lens along with the change of the focal length of the zoom lens.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of image processing, and in particular to a camera and a control method. Background Art

[0002] Cameras are usually equipped with a sunshade to block stray light and improve the clarity of the image captured by the camera. The position of the sunshade depends on the field of view of the camera. Generally speaking, during the design stage, the sunshade is designed to block light beams outside the field of view of the camera.

[0003] However, due to errors in the design and manufacturing processes, the actual position of the hood in the produced camera does not match the actual position of the field of view angle. Therefore, during the installation of the camera, the position of the hood needs to be manually adjusted to match the actual position of the field of view angle.

[0004] However, manual adjustment has low precision and low efficiency, so there is an urgent need for a method to replace manual adjustment. Summary of the invention

[0005] The embodiments of the present application provide a camera and a control method for improving the position accuracy of a sunshade to achieve an optimal sunshade effect.

[0006] In a first aspect, an embodiment of the present application provides a camera, which includes: a zoom lens for acquiring an image within a target field of view; a light shield for shielding light outside the target field of view; and a power unit for driving the light shield to move along the optical axis of the zoom lens as the focal length of the zoom lens changes.

[0007] In the embodiment of the present application, the power unit is used to match the focal length change of the zoom lens to achieve the adjustment of the position of the light shield. Since the power unit adjusts the position of the light shield according to the focal length of the zoom lens, the basis for the position adjustment is the objective focal length parameter rather than the subjective experience of the installer, so it can be installed to a more precise position. And compared with manual adjustment, the power unit can achieve a higher precision position adjustment. Therefore, the camera provided in the embodiment of the present application can improve the position accuracy of the light shield and achieve the best shading effect.

[0008] In an optional implementation, the target field of view is located in front of the zoom lens along the optical axis. The power unit is used to drive the hood to move backward when the focal length of the zoom lens decreases, or to drive the hood to move forward when the focal length of the zoom lens increases.

[0009] In the embodiment of the present application, the direction of movement of the hood is in front of or behind the optical axis of the zoom lens, which can better match the focal length change of the zoom lens. When the focal length of the zoom lens changes, the position of the hood can be adjusted to efficiently adapt to the change of the focal length to achieve matching with the focal length of the zoom lens.

[0010] In an optional implementation, the radial distance H between the hood and the optical axis of the zoom lens, the axial distance L between the front edge of the hood and the focus of the zoom lens, and the field angle θ of the zoom lens satisfy the following relationship: H / L=tan(θ / 2)+△(Formula 1). Among them, the axial direction is the optical axis direction of the zoom lens, the radial direction is the direction perpendicular to the axial direction, and △ is the system tolerance.

[0011] In the embodiment of the present application, the field angle θ of the zoom lens changes with the focal length of the zoom lens. The embodiment of the present application can calculate L corresponding to the current θ of the zoom lens through formula 1 and parameters such as H and △, thereby achieving precise adjustment of the position of the light shield. The light shield can be moved to the position that best matches the current focal length of the zoom lens, which neither blocks the target field of view of the zoom lens nor blocks the light outside the target field of view to the maximum extent, thereby achieving the best light shielding effect.

[0012] In an optional implementation, the camera also includes: an imaging sensor, used to detect the image within the target field of view and obtain corresponding image information; a processing unit, used to determine the movement distance △L of the light shield according to the focal length change △f of the zoom lens, so that △L=2△fH / h (Formula 2), where h is the radial height of the imaging sensor corresponding to the target field of view.

[0013] In the embodiment of the present application, the moving distance △L of the hood corresponding to the focal length change △f of the zoom lens is calculated by formula 2 and parameters such as H, h, △f, so as to achieve accurate adjustment of the hood position. If the camera has completed the calibration of the hood position, the hood has moved to the optimal position corresponding to the current focal length. Then, by formula 2, the corresponding moving distance △L can be quickly calculated based on the focal length change △f of the zoom lens, thereby improving the efficiency of adjusting the hood position when the focal length changes.

[0014] In an optional implementation, the power unit includes: a transmission unit and a drive motor. The transmission unit is connected to the light shield and is used to drive the light shield to move along the optical axis. The drive motor is used to drive the transmission unit.

[0015] In an optional implementation, the transmission unit includes a driving rod and a driving wheel, and the light shield includes a matching unit. The driving rod is connected to the motor, and the driving rod is used to rotate under the drive of the motor. The driving wheel is fixedly connected to the driving rod and matched with the matching unit. The driving wheel is used to drive the light shield to move along the optical axis when the driving wheel rotates.

[0016] In the embodiment of the present application, the matching unit may be a structure with teeth engraved on the surface, and the matching between the driving wheel and the matching unit may be the meshing of teeth. The transmission is achieved through the meshing between the driving wheel and the matching unit. Since the gear transmission has the advantages of accurate transmission, high efficiency, compact structure, reliable operation, and long service life, the transmission of the transmission unit is more reliable.

[0017] In an optional implementation, the transmission unit includes a driving rod and a driving wheel, and the light shield includes a matching unit. The driving rod is connected to the motor, and the driving rod is used to rotate under the drive of the motor. The driving wheel is engaged with the driving rod and matched with the matching unit. The driving wheel is used to drive the light shield to move along the optical axis when the driving wheel rotates.

[0018] In the embodiment of the present application, the transmission is realized by meshing the driving wheel with the driving rod. Since the gear transmission has the advantages of accurate transmission, high efficiency, compact structure, reliable operation, long service life, etc., the transmission of the transmission unit is more reliable.

[0019] In a second aspect, an embodiment of the present application provides a control method. The method is applied to a processing unit in the camera described in the first aspect. The method comprises: obtaining the focal length of the zoom lens; and controlling a power unit to drive a light shield to move along the optical axis direction of the zoom lens according to the change in the focal length of the zoom lens.

[0020] In an optional implementation, along the optical axis, the target field of view is located in front of the zoom lens. When the focal length of the zoom lens decreases, the power unit can be controlled to drive the light shield to move backward. When the focal length of the zoom lens increases, the power unit can be controlled to drive the light shield to move forward.

[0021] In an optional implementation, the radial distance H between the hood and the optical axis of the zoom lens, the axial distance L between the front edge of the hood and the focus of the zoom lens, and the field angle θ of the zoom lens satisfy the following relationship: H / L=tan(θ / 2)+△(Formula 1). Among them, the axial direction is the optical axis direction of the zoom lens, the radial direction is the direction perpendicular to the axial direction, and △ is the system tolerance.

[0022] In an optional implementation, the camera further includes an imaging sensor, which is used to detect an image within the target field of view and obtain corresponding image information. The moving distance △L of the light shield can be determined according to the focal length change △f of the zoom lens, so that △L=2△fH / h. Wherein, h is the radial height of the imaging sensor corresponding to the target field of view. And, the power unit can be controlled to drive the light shield to move △L along the optical axis direction of the zoom lens.

[0023] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, characterized in that a program is stored in the computer-readable storage medium, and when a computer executes the program, the method described in the second aspect is executed.

[0024] In a fourth aspect, an embodiment of the present application provides a computer program product, characterized in that when the computer program product is executed on a computer, the computer executes the method described in the second aspect.

[0025] The beneficial effects of the second to fourth aspects refer to the first aspect and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 A schematic diagram of the structure of the camera provided for this application;

[0027] Figure 2 A schematic diagram of the structure of a camera with a light shield provided in this application;

[0028] Figure 3 A schematic diagram of the structure of a camera provided in an embodiment of the present application;

[0029] Figure 4 A schematic diagram of the optical path of a camera provided in an embodiment of the present application;

[0030] Figure 5 A schematic diagram of the internal structure of a camera provided in an embodiment of the present application;

[0031] Figure 6 A schematic structural diagram of a power unit of a camera provided in an embodiment of the present application;

[0032] Figure 7a Another structural schematic diagram of the power unit of the camera provided in an embodiment of the present application;

[0033] Figure 7b Another schematic diagram of the structure of the power unit of the camera provided in the embodiment of the present application;

[0034] Figure 8 A flow chart of a control method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0035] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0036] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged in appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attribute in the embodiments of the present application when describing. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment containing a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment. In addition, "at least one" refers to one or more, and "multiple" refers to two or more. "And / or", describes the association relationship of associated objects, indicating that three relationships can exist, for example, A and / or B, can represent: A exists alone, A and B exist simultaneously, and B exists alone, wherein A, B can be singular or plural. The character " / " generally represents that the associated objects before and after are a kind of "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or plural.

[0037] Cameras are widely used in photography, media, entertainment, sports, manufacturing, security and other fields. Figure 1 As shown, the camera includes a lens and an imaging sensor. The lens is used to converge the light within the field of view in front of the camera and project the converged light to the imaging sensor. The imaging sensor is used to convert the converged light into image information.

[0038] The camera may also include a hood. The hood is mainly used to suppress stray light from entering the lens, thereby improving the clarity and color reproduction of the image. The hood can also shield the lens from wind, sand, rain, snow, etc., thereby preventing the lens from getting dirty.

[0039] Lenses of different specifications have different focal lengths, and different focal lengths correspond to different field of view angles. Therefore, in order to achieve the best shading effect, the lens hood should be located at the edge of the field of view angle range.

[0040] like Figure 2As shown in the figure, the sunshade is just at the edge of the field of view, which can effectively block stray light outside the field of view. Figure 2 If the light shield in the lens moves to the left, it will block the light within the field of view angle, affecting the imaging range of the camera; if it moves to the right, stray light outside the field of view angle will enter the lens, affecting the clarity of the image.

[0041] However, due to errors in the design and manufacturing process, the actual position of the camera hood may not match the actual position of the field of view. Therefore, during the installation or use of the camera, the position of the hood needs to be manually adjusted to match the actual position of the field of view. Figure 2 As shown, a knob may be provided on the shading cover, and the shading cover may be moved left and right by the knob so that the shading cover moves to the edge of the field of view angle.

[0042] In actual use, the installer adjusts the position of the hood while watching the image captured by the camera. As the position of the hood is adjusted, the clarity of the image will change. The installer adjusts the hood to the position corresponding to the highest image clarity based on their own experience.

[0043] In other words, the manual adjustment method requires the installer to adjust the position of the hood based on experience. On the one hand, manual installation is highly subjective and cannot guarantee that the hood is installed in the best position (i.e., the edge of the field of view), which affects the clarity and imaging range of the image obtained by the camera. On the other hand, manual adjustment is inefficient, resulting in low camera installation efficiency.

[0044] In order to solve the above problems, the embodiments of the present application provide a camera and a control method. In the camera provided in the embodiments of the present application, the power unit adjusts the position of the light shield according to the focal length change of the lens to match the field of view of the camera, thereby improving the position accuracy of the light shield and achieving the best light shielding effect.

[0045] like Figure 3 As shown, the camera 3000 provided in the embodiment of the present application includes: a zoom lens 3100, a hood 3200 and a power unit 3300. Among them, the zoom lens 3100 is used to obtain an image within the target field of view. In the embodiment of the present application, the target field of view refers to the field of view of the zoom lens 3100, that is, the field of view angle range of the zoom lens 3100. The hood 3200 is used to block the light outside the target field of view. The power unit 3300 is used to drive the hood 3200 to move along the optical axis direction of the zoom lens 3100 as the focal length of the zoom lens 3100 changes.

[0046] In the embodiment of the present application, the power unit 3300 is used to match the focal length change of the zoom lens 3100 to achieve the adjustment of the position of the light shield 3200. Since the power unit 3300 adjusts the position of the light shield 3200 according to the focal length of the zoom lens 3100, the position adjustment is based on the objective focal length parameters rather than the subjective experience of the installer, so it can be installed to a more precise position. And compared with manual adjustment, the power unit 3300 can achieve a higher precision position adjustment. Therefore, the camera 3000 provided in the embodiment of the present application can improve the position accuracy of the light shield 3200 and achieve the best light shielding effect.

[0047] Optionally, the camera 3000 may also include an imaging sensor 3400, a housing, a bracket, a processing unit, a storage card, a communication module, etc., which is not limited in this application. Among them, the imaging sensor 3400 is used to detect the image in the target field of view and obtain the corresponding image information, and the processing unit is used to realize the processing of the data in the camera 3000, for example, it is used to process the image information obtained by the imaging sensor 3400, determine the position of the light shield 3200, etc., which is not limited in this application.

[0048] In the embodiment of the present application, the optical axis direction of the zoom lens 3100 is the moving direction of the light shield 3200. Figure 3 As shown, the zoom lens 3100 is used to converge the light beam in front of the camera 3000. In the embodiment of the present application, the direction facing the camera 3000 (i.e., the direction of collecting images) is called the front. Figure 3 That is, along the optical axis direction of the zoom lens 3100, the target field of view is located in front of the zoom lens 3100. Optionally, the power unit 3300 can drive the light shield 3200 to move forward or backward along the optical axis direction.

[0049] In order to achieve the best shading effect of the shading hood 3200, the shading hood 3200 should be located at the edge of the field of view of the zoom lens 3100. The corresponding optical path diagram is as follows: Figure 4 shown.

[0050] In the embodiment of the present application, the optical axis direction of the zoom lens 3100 is referred to as an axial direction, and the direction perpendicular to the axial direction is referred to as a radial direction. Figure 4 As shown, assuming that the radial distance between the hood 3200 and the optical axis of the zoom lens 3100 is H, the front edge of the hood 3200 (ie Figure 3 and Figure 4 The axial distance between the left edge of the middle light shield 3200 and the focus of the zoom lens 3100 is L, and the field of view of the zoom lens 3100 is θ. Figure 4As shown, in the right triangle between the lens hood 3200 and the zoom lens 3100, the following relationship can be satisfied: tan(θ / 2)=H / L.

[0051] Therefore, in the embodiment of the present application, the axial distance L between the front edge of the hood 3200 and the focus of the zoom lens 3100 can be determined by the following formula 1:

[0052] H / L=tan(θ / 2)+△ (Formula 1)

[0053] Here, △ is the system tolerance, which may include the device size tolerance of the zoom lens 3100, the lens hood 3200, etc., the assembly error of each component, etc.

[0054] In the embodiment of the present application, the field angle θ of the zoom lens 3100 changes with the focal length of the zoom lens 3100. The embodiment of the present application can calculate L corresponding to the current θ of the zoom lens 3100 through formula 1 and parameters such as H and △, thereby achieving precise adjustment of the position of the light shielding hood 3200. The light shielding hood 3200 can be moved to the position that best matches the current focal length of the zoom lens 3100, which neither blocks the target field of view of the zoom lens 3100 nor blocks the light outside the target field of view to the maximum extent, thereby achieving the best light shielding effect.

[0055] Optionally, the position of the hood 3200 can be calibrated during the installation of the camera 3000 by using the above formula 1. Calibration refers to aiming the camera 3000 at the object or space to be photographed when the hood 3200 is first installed at a certain position. Then, based on the current field of view angle range of the zoom lens 3100, the hood 3200 is moved to a position that best matches the current focal length of the zoom lens 3100. Calibration can determine the position of the hood 3200. If the camera 3000 is used to perform fixed-focus shooting of the object or space to be photographed, the focal length of the zoom lens 3100 and the position of the hood 3200 do not change after calibration.

[0056] If the camera 3000 is used to perform zoom shooting of the object or space to be photographed, the focal length of the zoom lens 3100 and the position of the light shield 3200 may change after calibration. Optionally, the embodiment of the present application can quickly determine the position of the light shield 3200 when the focal length of the zoom lens 3100 changes in the following manner.

[0057] like Figure 4 As shown, assuming that the focal length of the zoom lens 3100 is f, and the radial height of the imaging sensor 3400 corresponding to the target field of view is h, then f and h satisfy the following relationship: tan(θ / 2)=(h / 2) / f=H / L. Therefore, L=2fH / h can be obtained, thereby obtaining the following formula 2:

[0058] △L=2△fH / h (Formula 2)

[0059] Here, Δf is the focal length change of the zoom lens 3100 , and ΔL is the moving distance of the lens hood 3200 .

[0060] Optionally, after calibration is completed, the processing unit in the camera 3000 can determine the moving distance △L of the light shield 3200 according to the focal length change △f of the zoom lens 3100 and Formula 2, thereby driving the east-west unit 3300 to move the light shield by the distance △L.

[0061] In the embodiment of the present application, the moving distance △L of the hood 3200 corresponding to the focal length change △f of the zoom lens 3100 is calculated by formula 2 and parameters such as H, h, △f, so as to achieve accurate adjustment of the position of the hood 3200. If the camera has completed the calibration of the position of the hood 3200, the hood 3200 has moved to the optimal position corresponding to the current focal length. Then, by formula 2, the corresponding moving distance △L can be quickly calculated based on the focal length change △f of the zoom lens 3100, thereby improving the efficiency of adjusting the position of the hood 3200 when the focal length changes.

[0062] Optionally, in the embodiment of the present application, the power unit 3300 may include a transmission unit, a drive motor 3300, etc. The transmission unit is connected to the light shield 3200 to drive the light shield 3200 to move along the optical axis. The drive motor 3300 is used to drive the transmission unit.

[0063] like Figure 5 As shown, in an optional implementation, the transmission unit includes a driving rod 3310 and a driving wheel 3320, and the light shield 3200 includes a matching unit 3210. Optionally, teeth may be engraved on the surfaces of the matching unit 3210, the driving rod 3310, and the driving wheel 3320, and the matching between the matching unit 3210 and the driving wheel 3320 and the meshing between the driving rod 3310 and the driving wheel 3320 may be achieved through the teeth.

[0064] The driving rod 3310 is connected to the driving motor 3330, and the driving rod 3310 is used to rotate under the drive of the driving motor 3300. The driving wheel 3320 is engaged with the driving rod 3310 and cooperates with the matching unit 3210 (the engagement and cooperation can be achieved through the teeth on the surface). The driving wheel 3320 is used to drive the light shield 3200 to move along the optical axis when the driving rod 3310 rotates.

[0065] For example Figure 6As shown, the driving rod 3310 rotates under the drive of the driving motor 3300, driving the driving wheel 3320 to rotate. The driving wheel 3320 cooperates with the matching unit 3210, and the driving wheel 3320 rotates to make the matching unit 3210 move along the optical axis, thereby driving the light shield 3200 to move along the optical axis.

[0066] In the embodiment of the present application, transmission is achieved by meshing the driving wheel 3320 with the driving rod 3310, and meshing the driving wheel 3320 with the matching unit 3210. Since gear transmission has the advantages of accurate transmission, high efficiency, compact structure, reliable operation, and long service life, the transmission of the transmission unit is more reliable.

[0067] Optionally, the connection between the driving wheel 3320 and the driving rod 3310 may also be a fixed connection. Figure 7a As shown, the driving rod 3310 is used to rotate under the drive of the driving motor 3300. The driving wheel 3320 is fixedly connected to the driving rod 3310 and cooperates with the matching unit 3210. When the driving rod 3310 rotates, the driving wheel 3320 also rotates accordingly, and the driving wheel 3320 cooperates with the gear on the surface of the matching unit 3210, so that the matching unit 3210 can be driven to move along the optical axis, thereby driving the light shield 3200 to move along the optical axis.

[0068] In the embodiment of the present application, transmission is achieved by meshing between the driving wheel 3320 and the matching unit 3210. Since gear transmission has the advantages of accurate transmission, high efficiency, compact structure, reliable operation, and long life, the transmission of the transmission unit is more reliable.

[0069] Optionally, the cooperation between the driving wheel 3320 and the cooperation unit 3210 can also be as follows: Figure 7b As shown, this application does not limit this.

[0070] The distance that the light shield 3200 moves is determined by the processing unit. For example, during the calibration process, the controller in the camera 3000 can obtain parameters such as H, θ, △, and send these parameters to the processing unit, and the processing unit can store Formula 1. The processing unit can determine the position of the light shield 3200 based on Formula 1 and the above parameters, and issue instructions to the drive motor 3330, so that the drive motor 3330 drives the light shield 3200 to move to the corresponding calibration position of the light shield 3200.

[0071] If the focal length of the zoom lens 3100 changes after the calibration is completed, the field of view angle of the zoom lens 3100 will also change accordingly. The embodiment of the present application can adapt to the change of focal length through Formula 2 and quickly realize the adaptive adjustment of the position of the light shield. Specifically, it is assumed that along the optical axis direction, the target field of view is located in front of the zoom lens. If the focal length of the zoom lens 3100 increases, the power unit is used to drive the light shield 3200 to move forward; if the focal length of the zoom lens 3100 decreases, the power unit is used to drive the light shield 3200 to move backward.

[0072] In the embodiment of the present application, the direction of movement of the hood is in front of or behind the optical axis of the zoom lens, which can better match the focal length change of the zoom lens. When the focal length of the zoom lens changes, the position of the hood can be adjusted to efficiently adapt to the change of the focal length to achieve matching with the focal length of the zoom lens.

[0073] Optionally, after the calibration is completed, the moving distance of the light shield 3200 can also be determined by the processing unit. The controller can obtain parameters such as △f, H, and h, and send these parameters to the processing unit, and the processing unit can store formula 2. The processing unit can determine the moving distance △L of the light shield 3200 based on formula 2 and the above parameters, and issue instructions to the drive motor 3330, so that the drive motor 3330 drives the light shield 3200 to move △L.

[0074] In the embodiment of the present application, the controller is a device for processing data on the camera 3000. Optionally, the controller may be a chip.

[0075] Optionally, the processing unit may be a hardware device independent of the controller (eg Figure 5 Alternatively, the processing unit may be a software function integrated on the controller, which is not limited in this application.

[0076] based on Figures 3 to 7b The camera 3000 structure shown in the figure, the present application embodiment also provides a control method. The control method can be applied to any of the above embodiments. Figure 8 As shown, the method includes:

[0077] Step 1: Get the focal length of the zoom lens 3100.

[0078] Step 2: According to the change of the focal length of the zoom lens 3100 , the power unit 3300 is controlled to drive the light shield 3200 to move along the optical axis direction of the zoom lens 3100 .

[0079] Optionally, the method may be specifically applied to a processing unit in the camera 3000 .

[0080] In an optional implementation, along the optical axis, the target field of view is located in front of the zoom lens 3100. When the focal length of the zoom lens 3100 decreases, the power unit 3300 can be controlled to drive the hood 3200 to move backward. When the focal length of the zoom lens 3100 increases, the power unit 3300 can be controlled to drive the hood 3200 to move forward.

[0081] In an optional implementation, the radial distance H between the hood 3200 and the optical axis of the zoom lens 3100, the axial distance L between the front edge of the hood 3200 and the focus of the zoom lens 3100, and the field angle θ of the zoom lens 3100 satisfy the following relationship: H / L=tan(θ / 2)+△(Formula 1). Among them, the axial direction is the optical axis direction of the zoom lens 3100, the radial direction is the direction perpendicular to the axial direction, and △ is the system tolerance.

[0082] In an optional implementation, the camera 3000 further includes an imaging sensor 3400, which is used to detect an image within the target field of view and obtain corresponding image information. The moving distance △L of the light shield 3200 can be determined according to the focal length change △f of the zoom lens 3100, so that △L=2△fH / h. Wherein, h is the radial height of the imaging sensor 3400 corresponding to the target field of view. In addition, the power unit 3300 can be controlled to drive the light shield 3200 to move △L along the optical axis direction of the zoom lens 3100.

[0083] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0084] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, 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 units, which can be electrical, mechanical or other forms.

[0085] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0086] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0087] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

Claims

1. A camera, characterized in that: include: A zoom lens is used to obtain images within the field of view of the target; A light shield, used to shield light outside the field of view of the target; The power unit is used for driving the light shield to move along the optical axis direction of the zoom lens as the focal length of the zoom lens changes.

2. The camera according to claim 1, characterized in that Along the optical axis direction, the target field of view is located in front of the zoom lens, and the power unit is used for: When the focal length of the zoom lens decreases, the light shield is driven to move backward, or; When the focal length of the zoom lens increases, the light shield is driven to move forward.

3. The camera according to claim 1 or 2, characterized in that: The radial distance H between the hood and the optical axis of the zoom lens, the axial distance L between the front edge of the hood and the focus of the zoom lens, and the field angle θ of the zoom lens satisfy the following relationship: H / L=tan(θ / 2)+△; The axial direction is the optical axis direction of the zoom lens, the radial direction is a direction perpendicular to the axial direction, and △ is the system tolerance.

4. The camera according to claim 3, characterized in that Also includes: An imaging sensor, used to detect an image within the target field of view and obtain corresponding image information; The processing unit is used to determine the moving distance ΔL of the light shield according to the focal length change Δf of the zoom lens, so that ΔL=2ΔfH / h, where h is the radial height of the imaging sensor corresponding to the target field of view.

5. The camera according to any one of claims 1 to 4, characterized in that The power unit comprises: A transmission unit, the transmission unit is connected to the light shield and is used to drive the light shield to move along the optical axis direction; The driving motor is used to drive the transmission unit.

6. The camera according to claim 5, characterized in that The transmission unit includes a driving rod and a driving wheel, and the light shield includes a matching unit; The driving rod is connected to the driving motor, and the driving rod is used to rotate under the drive of the driving motor; The driving wheel is fixedly connected to the driving rod and cooperates with the matching unit. The driving wheel is used to drive the light shield to move along the optical axis direction when the driving rod rotates.

7. The camera according to claim 5, characterized in that The transmission unit includes a driving rod and a driving wheel, and the light shield includes a matching unit; The driving rod is connected to the driving motor, and the driving rod is used to rotate under the drive of the driving motor; The driving wheel is engaged with the driving rod and cooperates with the matching unit. The driving wheel is used to drive the light shield to move along the optical axis direction when the driving rod rotates.

8. A control method, characterized in that: The method is applied to a processing unit of a camera, the camera comprising a zoom lens, a light shield and a power unit, the zoom lens being used to obtain an image within a target field of view, the light shield being used to shield light outside the target field of view, and the method comprising: Obtaining the focal length of the zoom lens; According to the change of the focal length of the zoom lens, the power unit is controlled to drive the light shield to move along the optical axis direction of the zoom lens.

9. The method according to claim 8, characterized in that Along the optical axis direction, the target field of view is located in front of the zoom lens; The controlling the power unit to drive the light shield to move along the optical axis direction of the zoom lens comprises: When the focal length of the zoom lens decreases, the power unit is controlled to drive the light shield to move backward, or; When the focal length of the zoom lens increases, the power unit is controlled to drive the light shield to move forward.

10. The method according to claim 8 or 9, characterized in that: The radial distance H between the hood and the optical axis of the zoom lens, the axial distance L between the front edge of the hood and the focus of the zoom lens, and the field angle θ of the zoom lens satisfy the following relationship: H / L=tan(θ / 2)+△; The axial direction is the optical axis direction of the zoom lens, the radial direction is a direction perpendicular to the axial direction, and △ is the system tolerance.

11. The method according to claim 10, characterized in that The camera further comprises an imaging sensor, which is used to detect an image within the target field of view and obtain corresponding image information; According to the change of the focal length of the zoom lens, controlling the power unit to drive the light shield to move along the optical axis direction of the zoom lens comprises: Determine the moving distance △L of the light shield according to the focal length change △f of the zoom lens, so that △L=2△fH / h, where h is the radial height of the imaging sensor corresponding to the target field of view; The power unit is controlled to drive the light shield to move ΔL along the optical axis direction of the zoom lens.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program, and when a computer executes the program, the method according to any one of claims 8 to 11 is executed.

13. A computer program product, characterized in that When the computer program product is executed on a computer, the computer performs the method according to any one of claims 8 to 11.