Camera and electronic equipment

By integrating mirrors, electromagnet arrays and controllers in the camera, automatic tracking of the subject is achieved, solving the problem that cameras cannot automatically track themselves in the prior art, and improving the convenience of shooting.

CN119629481APending Publication Date: 2025-03-14ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311154718.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-07
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

In the prior art, the camera cannot automatically track the subject, resulting in the user needing to observe and adjust the shooting direction at all times, and unable to effectively capture the invalid shooting of the subject if it is moved out of the picture.

Method used

A camera including a mirror, an electromagnet array and a controller is designed to generate control instructions to adjust the electromagnet array by determining the current position information and movement direction of the subject, so that the mirror automatically moves to track the subject.

Benefits of technology

Automatic capture and tracking of the subject is realized, which improves the convenience of cameras and avoids the need for users to manually adjust the camera.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119629481A_ABST
    Figure CN119629481A_ABST
Patent Text Reader

Abstract

The invention relates to a camera and electronic equipment, which are applied to the technical field of camera shooting, and the camera comprises a reflector, an electromagnet array and a controller, the reflecting mirror is used for shooting a camera picture; the controller is used for determining current position information of a shot object in a picture shot by the camera; determining the moving direction of the shot object based on the current position information; generating a control instruction for the electromagnet array according to the moving direction under the condition that the current position information is not in a first preset range of the camera picture; and the electromagnet array is used for controlling the reflector to move towards the moving direction according to the control instruction. The problem that in the prior art, a camera cannot track a user for shooting is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of camera technology, and in particular to a camera and electronic equipment. Background Art

[0002] With the development of technology, camera modules are installed on electronic devices to provide corresponding shooting functions for electronic devices. When users use electronic devices to record videos and other operations, since the subject may move during the shooting process, users are required to always observe whether the subject is in the shooting screen. When the subject is not in the shooting screen, users are required to adjust the shooting direction. If the electronic device is fixed in a certain position, if the subject moves out of the shooting screen, it cannot be photographed, resulting in invalid shooting. Summary of the invention

[0003] The embodiments of the present application provide a camera and an electronic device to at least solve the problem in the prior art that the camera cannot track the user for shooting.

[0004] In a first aspect, an embodiment of the present application provides a camera, comprising: a reflector, an electromagnet array and a controller; the reflector is used to capture a video image; the controller is used to determine current position information of a subject in the video image of the camera; based on the current position information, a moving direction of the subject is determined; when the current position information is not within a first preset range of the video image, a control instruction for the electromagnet array is generated according to the moving direction; the electromagnet array is used to control the reflector to move in the moving direction according to the control instruction.

[0005] In a second aspect, an embodiment of the present application provides an electronic device, including: the camera described in the first aspect.

[0006] The above technical solution provided by the embodiment of the present application has the following advantages over the prior art: the camera provided by the embodiment of the present application includes: a reflector, an electromagnet array and a controller; the reflector is used to shoot a video picture; the controller is used to determine the current position information of the subject in the camera picture; the moving direction of the subject is determined based on the current position information; when the current position information is not within the first preset range of the camera picture, a control instruction for the electromagnet array is generated according to the moving direction; the electromagnet array is used to control the reflector to move in the moving direction according to the control instruction. In this way, when it is detected that the subject is not within the first preset range, the reflector can be adjusted by the electromagnet array to move in the direction where the subject wants to move, so that the subject can be photographed by the reflector again. This process does not require manual adjustment of the camera, realizes automatic capture of the subject, and improves the convenience of shooting. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0008] In order to more clearly illustrate the embodiments of the present invention 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, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0009] Figure 1 A schematic diagram of the structure of an electromagnet array in a camera provided in an embodiment of the present application;

[0010] Figure 2 A schematic diagram of the structure of a reflector in a camera provided in an embodiment of the present application;

[0011] Figure 3 A schematic diagram of the structure of an electromagnet array and a reflector combined according to an embodiment of the present application;

[0012] Figure 4 A schematic diagram of the magnetic poles of an electromagnet array provided in an embodiment of the present application;

[0013] Figure 5 A schematic diagram of the magnetic poles of an electromagnet array provided in another embodiment of the present application;

[0014] Figure 6 A schematic diagram of the magnetic poles of an electromagnet array provided in another embodiment of the present application;

[0015] Figure 7A schematic diagram of the magnetic poles of an electromagnet array provided in another embodiment of the present application;

[0016] Figure 8 A schematic diagram of the structure of an electromagnet array in a camera provided by another embodiment of the present application;

[0017] Fig. 9 A control flow chart of a controller in a camera provided in an embodiment of the present application;

[0018] Fig.10 A schematic diagram of the camera screen boundary provided by an embodiment of the present application;

[0019] Fig.11 A schematic diagram of the structure of a camera provided in one embodiment of the present application;

[0020] Fig.12 A schematic diagram of the positions of electromagnets in an electromagnet array provided in one embodiment of the present application;

[0021] Reference numerals:

[0022] Electromagnet array-10, electromagnet-11, supporting cavity-12, soft magnet-13, reflecting mirror-20, control point-21, reflecting cavity-30, zoom cavity-40, light inlet and outlet-50. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are 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 making creative work are within the scope of protection of this application.

[0024] According to an embodiment of the present application, a camera is provided. The camera includes: a reflector 20, an electromagnet array and a controller; the reflector is used to shoot a video screen; the controller is used to determine the current position information of the object in the camera video screen; determine the moving direction of the object based on the current position information; if the current position information is not within the first preset range of the video screen, generate a control instruction for the electromagnet array according to the moving direction; the electromagnet array is used to control the reflector to move in the moving direction according to the control instruction.

[0025] In some embodiments, the subject may be a person, and the current position information of the subject is determined by identifying the face of the person in the camera image. For example, the center position of the area where the face is located may be used as the current position information. The subject may also be other objects, and the moving object is compared in adjacent frames of the captured image, and the object is used as the subject, and the position of the moving object is used as the current position information.

[0026] The first preset range may be set according to actual conditions. For example, an area inside the edge of the camera image or an area within a preset distance from the edge may be set as the first preset range.

[0027] The moving direction may be determined by determining the current position information of the object in each frame of the captured image and by changes in a plurality of current position information.

[0028] In an optional embodiment, the electromagnet array 10 includes a plurality of electromagnets 11;

[0029] At least one control point 21 is arranged on the reflector, the control point has a designated magnetic pole, and the electromagnet can generate magnetic force with the control point;

[0030] The controller is used to generate a control instruction for the electromagnet array according to the moving direction, specifically including:

[0031] Determine the target electromagnet information in the electromagnet array according to the moving direction, and generate the control instruction based on the target electromagnet information;

[0032] The electromagnet array is used to control the target electromagnet according to the control instruction, so that the control point drives the reflector to move in the moving direction under the action of the magnetic force of the target electromagnet.

[0033] In some embodiments, since the control point is magnetic, it can be controlled to maintain a fixed magnetic pole to facilitate the control of the reflector. It is understandable that the designated magnetic pole of the control point can also be variable. The number of control points can be multiple. Since the reflector has a certain volume, by setting multiple control points, the reflector can be uniformly stressed during movement, thereby maintaining the stability of the camera image.

[0034] The controller determines the target electromagnet by the moving direction of the object and controls the magnetic pole of the target electromagnet. Since the control point has a specified magnetic pole, the magnetic pole of the target electromagnet can generate a force on the control point, so that the reflector moves under the action of the force. The movement here can be rotation, deflection, translation, etc.

[0035] In an optional embodiment, determining the target electromagnet information in the electromagnet array according to the moving direction includes:

[0036] Determine the initial electromagnet that currently generates magnetic force on the control point;

[0037] Determining first position information and first magnetic pole of each of the initial electromagnets in the electromagnet array;

[0038] The target electromagnet information is determined based on the first position information, the first magnetic pole, and the moving direction.

[0039] In some embodiments, the reflector is usually maintained at a preset position, and the reflector starts to move after the object moves out of the camera frame. The initial electromagnet can be an electromagnet that exerts a force on the reflector when the reflector is at the preset position, or it can be an electromagnet that exerts a force on the reflector after the reflector has moved most recently.

[0040] The position of the electromagnet in the electromagnet array is fixed. Therefore, after determining the initial electromagnet, its first position information can be determined based on the position of the initial electromagnet in the electromagnet array. When the electromagnet array exerts a force on the control point, the magnetism of the electromagnets in the electromagnet array has been controlled and determined. Therefore, after determining the initial electromagnet, its first magnetic pole can be obtained.

[0041] The position of the electromagnet in the electromagnet array can be realized by coordinates or by number identification of the electromagnet.

[0042] In an optional embodiment, determining the information of the target electromagnet based on the first position information, the first magnetic pole and the moving direction includes:

[0043] Determining second position information of a target electromagnet in the moving direction based on first position information of an initial electromagnet;

[0044] Obtaining the current magnetic pole of the target electromagnet;

[0045] determining a first magnetic pole and magnetic force information of the target electromagnet based on the current magnetic pole;

[0046] The second position information, the first magnetic pole, and the magnetic force information are determined to be information of the target electromagnet.

[0047] In some embodiments, the reflector can be suspended or in contact with the electromagnet array.

[0048] The first one, see Figure 3The electromagnet array is a curved surface, the reflector can be suspended and rotated in the electromagnet array, and the difference between the inner diameter of the electromagnet array and the outer diameter of the reflector is less than a first preset value.

[0049] The reflector is suspended in the electromagnet array, and this can be achieved by generating a repulsive force on the reflector by a target electromagnet in the electromagnet array.

[0050] Furthermore, when the reflector can be suspended in the electromagnet array, the second position information of the target electromagnet in the moving direction is determined based on the first position information of the initial electromagnet, including:

[0051] Determine a first electromagnet of the initial electromagnets having the same magnetic pole as the designated magnetic pole;

[0052] Determine position information of a first target electromagnet adjacent to the first electromagnet in a moving direction;

[0053] Determine position information of a second target electromagnet within a preset range of the first target electromagnet;

[0054] The position information of the first target electromagnet and the position information of the second target electromagnet are determined as the second position information.

[0055] See also Figure 4 , taking the magnetic pole of the control point as the S pole, the initial electromagnets are the electromagnets at the positions of N1, S1, S2, S3 and S4, where N1 is the first electromagnet, and the moving direction is from the position of N1 to N2. For example, the electromagnet at the position of N2 can be determined as the first target electromagnet, and the electromagnets in the preset range adjacent to N2 include S3, S4, S5 and S6, which are determined as the second target electromagnet.

[0056] It can be understood that by setting a magnetic pole opposite to the control point magnetic pole at the N2 position, the electromagnet at this position can generate an attractive force on the reflector, causing the reflector to move toward the N2 position. The electromagnets around the N2 position are set with the same magnetic pole as the control point magnetic pole, causing them to generate a repulsive force on the reflector, thereby enabling the reflector to be suspended on the electromagnet array to avoid damage to the reflector.

[0057] In an optional embodiment, the determining the first magnetic pole and magnetic force information of the target electromagnet based on the current magnetic pole includes:

[0058] In the case where the current magnetic pole of the first target electromagnet is no magnetic pole, determining that the magnetic pole of the first target electromagnet is opposite to the designated magnetic pole, and the magnetic force information is that the magnetic force gradually increases until it reaches a first preset magnetic force;

[0059] In the case that the current magnetic pole of the first target electromagnet has a magnetic pole, determining the magnetic force information of the first target electromagnet is that the magnetic force gradually decreases until it is zero under the current magnetic pole of the first target electromagnet and then the magnetic pole is switched to a magnetic pole opposite to the current magnetic pole, and the magnetic force is gradually increased until it reaches a second preset magnetic force;

[0060] In the case that the current magnetic pole of the second target electromagnet is no magnetic pole, determining that the magnetic pole of the second target electromagnet is the same as the specified magnetic pole, and the magnetic force information is that the magnetic force gradually increases until it reaches a second preset magnetic force;

[0061] In the case that the current magnetic pole of the second target electromagnet has a magnetic pole, if the current magnetic pole is opposite to the designated magnetic pole, it is determined that the magnetic force information of the second target electromagnet remains unchanged; if the current magnetic pole is the same as the designated magnetic pole, it is determined that the magnetic force information of the second target electromagnet is that the magnetic force gradually decreases until it is zero under the current magnetic pole of the second target electromagnet and then the magnetic pole is switched to the magnetic pole opposite to the current magnetic pole, and the magnetic force is gradually increased until the third preset magnetic force is reached.

[0062] Based on the above related embodiments, see Figure 4 , wherein the current magnetic pole of the first target electromagnet at the position of N2 is no magnetic pole, therefore, its magnetic pole is determined to be opposite to the specified magnetic pole, that is, it is set to N pole, S3, S4, S5 and S6 are the second target electromagnets, wherein the current magnetic poles of S5 and S6 are no magnetic poles, therefore, its magnetic poles are determined to be the same as the specified magnetic pole, that is, they are set to S pole; the current magnetic poles of S3 and S4 are the same as the specified magnetic poles, therefore, their magnetic information remains unchanged.

[0063] See also Figure 5 , take the control point's magnetic pole as S pole, the initial electromagnets are the electromagnets at the positions of N1, S1, S2, S3 and S4, where N1 is the first electromagnet, and the moving direction is from N1 to N2 downward, as an example, Figure 6 , the electromagnet at the position of S3 can be determined as the first target electromagnet, and the second target electromagnets in the adjacent preset range of S3 include N1, S5, S6 and S7. Since the first target electromagnet currently has a magnetic pole, its magnetic force is gradually reduced to zero and the magnetic pole is switched to the opposite magnetic pole of the current magnetic pole, that is, the S pole is switched to the N pole. The current magnetic poles of S5, S6 and S7 are non-pole-free, therefore, they are determined as S poles, and the magnetic force is gradually increased. The current magnetic pole of the second target electromagnet at the position of N1 is opposite to the designated magnetic pole, that is, the N pole, therefore, its magnetic force is gradually reduced to zero and the magnetic pole is switched to the opposite magnetic pole of the current magnetic pole, that is, the N pole is switched to the S pole, that is Figure 7 S8 in.

[0064] The second type is that the electromagnet array is a curved surface, the reflector can rotate in the electromagnet array, the difference between the inner diameter of the electromagnet array and the outer diameter of the reflector is smaller than a second preset value, and lubricant is filled between the electromagnet array and the reflector.

[0065] The second preset value may be the same as or different from the first preset value. By filling lubricant between the electromagnet array and the reflector, it is possible to prevent the electromagnet array from rubbing against the reflector, thereby preventing the reflector from being damaged.

[0066] By burying the control point on the reflector inside the arc surface and coating the interior of the electromagnet cavity with self-lubricating material or lubricating material, the reflector can achieve limited friction rotation like an eyeball under the drive of the electromagnet, thereby reducing the number of target electromagnets and greatly reducing energy consumption.

[0067] In an optional embodiment, the determining the magnetic pole and magnetic force information of the target electromagnet based on the current magnetic pole includes:

[0068] Determining that the magnetic pole of the target electromagnet is opposite to the designated magnetic pole;

[0069] The magnetic force information gradually increases until reaching a fourth preset magnetic force.

[0070] In some embodiments, the magnetic pole of the target electromagnet may be set opposite to the designated magnetic pole, so that an attractive force is generated between the electromagnet array and the reflector, thereby attracting the reflector to move toward the location of the target electromagnet.

[0071] In an optional embodiment, the controller is further configured to:

[0072] Determining the moving speed of the object according to the current position;

[0073] The degree of increase and / or decrease of the magnetic force of the target electromagnet is determined according to the moving speed, and the moving speed is proportional to the degree of increase and / or decrease of the magnetic force.

[0074] In some embodiments, the degree of increase or decrease of the magnetic force of the target electromagnet is adapted to the moving speed of the object, so that when the object moves faster, the magnetic force of the target electromagnet can be quickly increased or quickly decreased, so that the reflector can rotate quickly, thereby achieving the purpose of capturing the object in time.

[0075] In an optional embodiment, the controller is further configured to:

[0076] After the reflector moves, determining whether the moving direction of the reflector is correct;

[0077] If correct, control increases the magnetism of the target electromagnet and decreases the magnetism of the initial electromagnet.

[0078] In some embodiments, in order to improve the timeliness of the reflector in photographing the subject, after determining that the moving direction of the reflector is correct, the magnetism of the target electromagnet is increased to increase the force on the reflector, thereby speeding up the movement of the reflector and capturing the subject as soon as possible from the camera screen.

[0079] In an alternative embodiment, see Figure 8 , the electromagnet array further includes a supporting cavity 12;

[0080] The electromagnets are arranged in rows and columns in the support cavity;

[0081] The outer wall of the support cavity is provided with a soft magnetic body 13 .

[0082] In some embodiments, in order to better fix the electromagnet, a support cavity is provided and the electromagnet is installed in the support cavity. Usually, the electromagnet is a rectangular parallelepiped, and multiple mounting holes can be provided in the support cavity, and the electromagnet is arranged in the mounting holes. In order to facilitate the management of the electromagnet and the effect on the control point, the electromagnet is regularly arranged in the support cavity, for example, the electromagnet is arranged in rows and columns and installed in the support cavity. By providing a soft magnetic body on the outer wall of the support cavity, it is easy to electromagnetically isolate the electromagnet and reduce the electromagnetic interference caused by the electromagnet to other devices.

[0083] The electromagnet may be electrically connected using a flexible printed circuit (FPC) or a cable.

[0084] In an optional embodiment, before determining the moving direction of the object based on the current position information, the controller is further configured to:

[0085] It is determined that the current position information is between a second preset range and the first preset range of the camera image, and the second preset range is within the first preset range.

[0086] In some embodiments, in order to save power consumption of the camera, if the subject continues to be within the second preset range of the camera screen, the moving direction of the subject is not calculated because the subject can be photographed. If the subject is between the first preset range and the second preset range, it means that the subject may walk out of the camera screen and cannot be photographed. Therefore, by determining the moving direction of the subject, the reflector can be adjusted in time after the subject is no longer within the first preset range.

[0087] In an optional embodiment, before controlling the reflector to move in the moving direction, the controller is further configured to:

[0088] It is determined within a preset time period that the current position information of the object is not within the first preset range.

[0089] In some embodiments, the subject may only be away for a short time. To avoid frequent movement of the reflector, which would reduce its service life, before controlling the movement of the reflector, it is first determined whether the subject has never appeared in the first preset range within a preset time period. If so, the reflector is controlled to move; if not, the reflector is maintained in its current state.

[0090] The preset duration can be set according to actual conditions, for example, it can be 3-10 seconds.

[0091] In an optional embodiment, after controlling the reflector to move in the moving direction, the controller is further configured to:

[0092] When the reflective mirror moves to a limit value and the object is not in the camera image, a direction indicator is generated based on the moving direction and the direction indicator is displayed.

[0093] In some embodiments, the reflector captures the shooting picture within the shooting range in real time. After the subject moves out of the shooting picture, the reflector will continue to rotate until the subject appears in the shooting picture. However, the rotation angle of the reflector is limited. If the subject is not in the shooting picture and the reflector moves to the limit value, it means that the reflector can no longer shoot the subject by moving. At this time, a direction mark is generated and displayed, so that the user can determine the direction of movement of the subject through the guidance of the direction mark to quickly find the subject.

[0094] In the area that the camera can capture, the object is tracked by changing the angle of the reflector. When the object moves beyond the capture area and disappears from the field of view, the deflection lens is controlled to return to the initial state where the field of view is perpendicular to the screen, and the position of the object when it leaves the maximum field of view is indicated on the screen by a mark. When the object returns to the first preset range, the direction mark is canceled.

[0095] The direction signs may be arrows, triangles, road signs, hand gestures or other prompt symbols.

[0096] In a specific embodiment, see Fig. 9 The camera control method of the present application can be implemented by the following steps:

[0097] First, start the video-related application and camera;

[0098] Second, the software runs in auxiliary capture mode;

[0099] Third, detecting the movement of the captured object (i.e. the above-mentioned subject, a person is taken as an example in this embodiment) in the central area (i.e. the above-mentioned second preset range);

[0100] Fourth, the captured object is detected to move outside the central area;

[0101] Fifth, identify the moving direction of the captured object;

[0102] Sixth, detecting that the captured object moves out of the identification boundary area (i.e., the first preset range mentioned above);

[0103] Seventh, controlling the deflection of the reflector according to the preset delay and the preset tracking speed;

[0104] Eighth, the captured object is detected to move into the central area;

[0105] Ninth, the software runs in face capture mode;

[0106] 10. It is detected that the captured object moves out of the central area and the camera compensation reaches the maximum value;

[0107] 11. Use indicator symbols to indicate the direction in which the target will move out.

[0108] See also Fig.10 After the device is started, the camera captures a video showing that the captured object (face) exceeds the central area and moves away from the central area in the direction of the arrow. The software identifies the moving direction of the captured object and performs motion detection. When the captured object moves further and reaches the recognition boundary, the tracking control function is started.

[0109] When the captured object reaches the control boundary, the tracking control function is started, and a certain delay time t is added to prevent the camera from shaking continuously when the object moves left and right. The object returns to the recognition boundary within the delay time t, and the camera does not perform actual tracking. The delay t value can be 0. When t=0, the tracking function is instant tracking.

[0110] After the tracking function is started, the deflection direction of the reflective lens is calculated based on the current location of the captured object and the shortest path for the captured object to return to the center area.

[0111] Among them, a part in the middle of the camera's viewing area can be set as the central area, and the outside of the central area can be set as the identification boundary. The position and size of these two areas can be preset by the software with certain default values, or the user can be given editing permissions to adapt to the needs of different scenarios.

[0112] The camera in a specific embodiment of the present application utilizes the change of the refraction angle in the periscope camera mode to obtain a larger actual visual range, and the specific implementation method is as follows:

[0113] Taking the reflective lens as an example, the rotation direction area of ​​the reflector is set to a rounded shape so that the reflector can rotate without interference. One or more permanent magnet control points are set on the reflector, and the reflector is controlled by driving the control point. An electromagnet array is set inside the reflective part of the camera cavity, and the control point is controlled by controlling the magnetism of the magnet in the electromagnet array, thereby realizing the deflection control of the reflector.

[0114] Exemplarily, the suspended reflector may be in the form of a semicircular reflector lens, and the control point may be one or more points on the reflector, and the reflector may be controlled to rotate in any direction in space through a curved electromagnet array.

[0115] The control points on the reflector are buried inside the arc surface of the reflector, and the cavity of the electromagnet array that cooperates with it is coated with self-lubricating material or lubricating material. In this way, the reflector can achieve limited friction rotation like an eyeball under the drive of the electromagnet array, thereby reducing the energy consumption of the camera. In the limited friction scheme, magnetic force is not required for repulsive suspension control, and only the adsorption control of the magnet array is retained to achieve the function of rotating the reflector.

[0116] In order to prevent the electromagnet from causing electromagnetic interference to other devices and to properly fix the electromagnet, it is recommended to place the electromagnet as follows: first, make electrical connections to the electromagnet in rows or blocks using FPC or cables, install the electromagnet into a support cavity that can accommodate the rotation of the lens, and use soft magnets to perform electromagnetic isolation on the outside of the electromagnet to obtain an electromagnet array.

[0117] In addition, in addition to the soft magnetic body outside the electromagnet, see Fig.11 , the reflector and the electromagnet array are arranged in the reflective cavity 30, and the camera is provided with a zoom cavity 40. A soft magnetic partition is arranged between the camera reflective cavity and the zoom cavity, and a soft magnetic shell with a large area wrapping the camera is arranged outside the reflective cavity and the zoom cavity, and a light inlet and outlet 50 is reserved in the light inlet and outlet direction. Under the attenuation of the square of the distance, the low-frequency interference of the electromagnet array will not affect other drives.

[0118] Based on the structural features of the above-mentioned camera, the electromagnets in the electromagnet array are controlled by a controller to generate a magnetic field in the moving direction for the adsorption control points on the reflector, thereby driving the reflector to move.

[0119] Among them, the speed v of controlling the movement of the magnetic field of the electromagnet array can be set to be variable according to the different needs of different users. For stronger tracking requirements, the maximum speed of the electromagnet drive can be used. The negative impact is that the graphic background shakes greatly, which affects the visual effect to a certain extent. For general application scenarios, the default tracking speed can be set to the best speed obtained by driver debugging to ensure the best user experience.

[0120] For the control circuit and driving method of the electromagnet array, we can refer to the current mature display array control technology. Taking limited friction single point adsorption as an example, see Fig.12 , assuming that the starting position of the adsorption control point is position 1, the current of the electromagnet is gradually increased at position 2 to gradually enhance the adsorption of the adsorption control point 011 at position 2, and the current of the electromagnet at the adsorption control point 1 is gradually reduced, so that the adsorption force of position 1 on the adsorption control point is gradually weakened. Under the action of the combined force, the adsorption control point 011 gradually moves to position 2. Similarly, the adsorption control point can be controlled to move to position 3 to achieve the deflection of the reflector angle.

[0121] The S pole of the magnet outside the permanent magnet control point is used as the control magnetic pole, and the N pole generated by the electromagnet is used as the adsorption control point at the position that needs to be controlled in the electromagnet array. At the same time, several S poles are generated by the surrounding electromagnets as repulsion suspension control points. A small deflection can be achieved by changing the strength and position of the repulsion suspension control point, and a large deflection can be achieved by changing the position of the adsorption control point and adjusting the position and strength of the repulsion control point at the same time.

[0122] The following is an example of the movement of the electromagnet array from the adsorption control point N1 to N2. The following conditions are set in advance: for each control point, five working electromagnet poles are set to be controlled and identified by the controller.

[0123] See also Figure 4 , when it is necessary to move the control point from the N1 position to the N2 position along the diagonal line. In the control process, the electromagnet at the N2 position is first controlled to generate a weak magnetic field with the same magnetic pole as the N1 position, and at the same time, the S5 and S6 positions are controlled to generate the same weak magnetic field as S3 and S4. Under the action of the weak magnetic field N2 closer to N1, the control point will have a small deviation toward N2, which will drive the deflection lens to deflect slightly, and then feedback to the captured image. The software judges the size and direction of the recognized image change, and the image will move slightly toward the target direction. After the controller confirms the correctness of the moving direction and amplitude, it calculates the speed required for image tracking in combination with the speed at which the target moves out of the central area, and controls N2, S5, and S6 to gradually increase and N1, S1, and S2 to gradually weaken, ensuring that the control point moves smoothly from N1 to N2 while the suspension height remains unchanged.

[0124] See also Figure 5 , when you need to move the control point from above position N1 to above position N2 along a straight line, refer to Figure 6 First, control the position below S2 and S4 to generate weak magnetic fields S5 and S6, and at the same time weaken S3 to generate a weak magnetic field S7 below S3, and maintain the magnetic field of S5, S6, S7, and S3 to be the same as the original S3 magnetic field.

[0125] When the magnetic field strength of S3 is 0, S3 applies a weak reverse current to generate a weak magnetic field N. The adsorption control point shifts in the direction of N, driving the deflection lens to deflect slightly, which is then fed back to the captured image. The image will move slightly in the target direction. After confirming the correctness of the moving direction and amplitude at the software level, combined with the speed required for image tracking, control N, S5, S6, and S7 to gradually increase and N1, S1, S2, and S4 to gradually weaken. See Figure 7 When N1 is reduced to 0, a reverse current is applied to generate S8, and then S8 gradually increases, and S1, S2, and S4 gradually decrease. When S1, S2, and S4 decrease to 0, the control point moves from N1 to S3.

[0126] Similarly, another cycle can achieve the shift of the control point from N1 to N2.

[0127] The camera of the present application has user-customizable parameters such as the center area, recognition boundary, and tracking delay set in the controller, so they can be modified in the settings of the electronic device. In actual application, you can choose to display or not display the center area and recognition boundary area box, and the center area and recognition boundary area box will not be displayed in the captured video. In this way, the above settings can be used as a configuration that does not affect user use, just like the golden section line and spiral line in the camera settings. For scenes where the captured object leaves the field of view, you can choose to record the departure indicator mark in the video to indicate the direction of the target that the user is concerned about.

[0128] Based on the same concept, an electronic device is provided in an embodiment of the present application, and the electronic device includes the camera described in the above embodiment.

[0129] In some embodiments, the electronic device may be, but is not limited to, a camera, a PC, a mobile phone, a tablet computer, etc.

[0130] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instruction is loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instruction is transmitted from a website site, a computer, a server or a data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integration. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape, etc.), an optical medium (such as a DVD) or a semiconductor medium (such as a solid-state hard disk), etc.

[0131] It should be noted that, in this article, relational terms such as "first" and "second" 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", "comprise" 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 "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0132] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. 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 invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A camera, characterized in that: include: reflectors, electromagnet arrays, and controllers; The reflector is used to capture the video image; The controller is used to determine the current position information of the object in the camera image; determining the moving direction of the object based on the current position information; and generating a control instruction for the electromagnet array according to the moving direction when the current position information is not within a first preset range of the camera image; The electromagnet array is used to control the reflector to move in the moving direction according to the control instruction.

2. The camera according to claim 1, characterized in that: The electromagnet array includes a plurality of electromagnets; At least one control point is arranged on the reflector, the control point has a designated magnetic pole, and the electromagnet can generate magnetic force with the control point; The controller is used to generate a control instruction for the electromagnet array according to the moving direction, specifically including: Determine the target electromagnet information in the electromagnet array according to the moving direction, and generate the control instruction based on the target electromagnet information; The electromagnet array is used to control the target electromagnet according to the control instruction, so that the control point drives the reflector to move in the moving direction under the action of the magnetic force of the target electromagnet.

3. The camera according to claim 2, characterized in that: The step of determining target electromagnet information in the electromagnet array according to the moving direction includes: Determine the initial electromagnet that currently generates magnetic force on the control point; Determining first position information and first magnetic pole of each of the initial electromagnets in the electromagnet array; The target electromagnet information is determined based on the first position information, the first magnetic pole, and the moving direction.

4. The camera according to claim 3, characterized in that: The determining the information of the target electromagnet based on the first position information, the first magnetic pole and the moving direction includes: Determining second position information of a target electromagnet in the moving direction based on first position information of an initial electromagnet; Obtaining the current magnetic pole of the target electromagnet; determining the magnetic pole and magnetic force information of the target electromagnet based on the current magnetic pole; The second position information, the magnetic pole of the target electromagnet, and the magnetic force information are determined as information of the target electromagnet.

5. The camera according to claim 4, characterized in that: The electromagnet array is a curved surface, the reflector can be suspended and rotated in the electromagnet array, and the difference between the inner diameter of the electromagnet array and the outer diameter of the reflector is less than a first preset value.

6. The camera according to claim 4 or 5, characterized in that: The step of determining the second position information of the target electromagnet in the moving direction based on the first position information of the initial electromagnet comprises: Determine a first electromagnet of the initial electromagnets having the same magnetic pole as the designated magnetic pole; Determine position information of a first target electromagnet adjacent to the first electromagnet in a moving direction; Determine position information of a second target electromagnet within a preset range of the first target electromagnet; The position information of the first target electromagnet and the position information of the second target electromagnet are determined as the second position information.

7. The camera according to claim 5, characterized in that: The determining the magnetic pole and magnetic force information of the target electromagnet based on the current magnetic pole comprises: In the case where the current magnetic pole of the first target electromagnet is no magnetic pole, determining that the magnetic pole of the first target electromagnet is opposite to the designated magnetic pole, and the magnetic force information is that the magnetic force gradually increases until it reaches a first preset magnetic force; In the case that the current magnetic pole of the first target electromagnet has a magnetic pole, the magnetic force information of the first target electromagnet is determined as follows: after the magnetic force gradually decreases to zero under the current magnetic pole of the first target electromagnet, the magnetic pole is switched to a magnetic pole opposite to the current magnetic pole, and the magnetic force is gradually increased until a second preset magnetic force is reached; In the case that the current magnetic pole of the second target electromagnet is no magnetic pole, determining that the magnetic pole of the second target electromagnet is the same as the specified magnetic pole, and the magnetic force information is that the magnetic force gradually increases until it reaches a second preset magnetic force; In the case that the current magnetic pole of the second target electromagnet has a magnetic pole, if the current magnetic pole is opposite to the designated magnetic pole, it is determined that the magnetic force information of the second target electromagnet remains unchanged; if the current magnetic pole is the same as the designated magnetic pole, it is determined that the magnetic force information of the second target electromagnet is: after the magnetic force gradually decreases to zero under the current magnetic pole of the second target electromagnet, the magnetic pole is switched to the magnetic pole opposite to the current magnetic pole, and the magnetic force is gradually increased until the third preset magnetic force is reached.

8. The camera according to claim 6, characterized in that: The controller is also used for: Determining the moving speed of the object according to the current position; The degree of increase and / or decrease of the magnetic force of the target electromagnet is determined according to the moving speed, and the moving speed is proportional to the degree of increase and / or decrease of the magnetic force.

9. The camera according to claim 4, characterized in that: The electromagnet array is a curved surface, the reflector can rotate in the electromagnet array, the difference between the inner diameter of the electromagnet array and the outer diameter of the reflector is less than a second preset value, and lubricant is filled between the electromagnet array and the reflector.

10. The camera according to claim 4 or 9, characterized in that: The determining the magnetic pole and magnetic force information of the target electromagnet based on the current magnetic pole comprises: Determining that the magnetic pole of the target electromagnet is opposite to the designated magnetic pole; The magnetic force information gradually increases until reaching a fourth preset magnetic force.

11. The camera according to claim 3, characterized in that: The controller is also used for: When the reflector moves, determining whether the moving direction of the reflector is correct; When the moving direction of the reflector is correct, the magnetism of the target electromagnet is controlled to increase, and the magnetism of the initial electromagnet is controlled to decrease.

12. The camera according to claim 1, characterized in that: After controlling the reflector to move in the moving direction, the controller is further used to: When the reflective mirror moves to a limit value and the object is not in the camera image, a direction indicator is generated based on the moving direction and the direction indicator is displayed.

13. An electronic device, characterized in that: Comprising the camera as described in claims 1-14.