Earphone control method, earphone control device and storage medium
By setting a rotation mechanism between the video module and the headphone unit of the OWS headphones, the problem of poor shooting flexibility of the headphones is solved, and more flexible shooting angle and direction adjustment is achieved, and the shooting effect is improved.
Patent Information
- Application Number
- CN202411718275.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2025-03-04
AI Technical Summary
The camera module of the current OWS headset is fixed to the headset, resulting in poor shooting flexibility and users cannot freely adjust the shooting angle and direction as needed.
A rotation mechanism is set between the video module and the headphone unit, and the shooting position adjustment process is triggered, the shooting range adjustment direction and step length are determined, and the rotation mechanism is controlled according to these parameters to adjust the shooting area of the headphones.
It improves the flexibility of the headphone video module when shooting, and users can adjust the shooting angle and direction as needed, enhancing the flexibility and effect of shooting.
Smart Images

Figure CN119562183A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of wireless earphones, and in particular to an earphone control method, an earphone control device, and a storage medium. Background Art
[0002] OWS (Open Wearable Stereo) headphones with visual function modules usually have their camera modules fixed on the headphones due to factory settings. When shooting videos or images, users cannot freely adjust the shooting angle and direction as needed due to the fixed shooting position and angle, resulting in poor flexibility in shooting with OWS headphones.
[0003] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of the present application is to provide a method for controlling headphones, a control device for headphones, and a storage medium, aiming to solve the technical problem that the current camera module is fixed on the headphones, resulting in poor shooting flexibility of the headphones.
[0005] To achieve the above object, the present application proposes a method for controlling headphones, which is applied to headphones, wherein the headphones include two independent headphone units, the headphone units are provided with video modules, and a rotating mechanism is provided between the video module and the headphone units, and the method includes:
[0006] If the shooting position adjustment process is triggered, the shooting range adjustment direction and adjustment step length are determined;
[0007] Determining the rotation parameters of the rotating mechanism according to the adjustment direction and the adjustment step;
[0008] The operation of the rotating mechanism is controlled according to the rotation parameter.
[0009] In one embodiment, the step of determining the shooting range adjustment direction and the adjustment step size includes:
[0010] Acquire gesture information according to the image data collected by the video module, and determine the moving direction corresponding to the gesture information;
[0011] determining the adjustment direction according to the moving direction;
[0012] The adjustment step size is determined according to a preset step size or an occlusion range corresponding to the image data.
[0013] In one embodiment, the step of determining the shooting range adjustment direction and the adjustment step size includes:
[0014] Determining the shooting range adjustment direction and the adjustment step length according to the operation information sent by the control terminal; or
[0015] The sliding track corresponding to the control action is determined according to the operation information sent by the control terminal, and the adjustment direction and the adjustment step length of the shooting range are determined according to the sliding track.
[0016] In one embodiment, before the step of determining the shooting range adjustment direction and the adjustment step length, the method further includes:
[0017] Acquire image data collected by the video module, and send the image data to the control terminal;
[0018] The operation information sent by the control terminal is received, and the shooting position adjustment process is triggered, wherein the control terminal sends the operation information to the headset when receiving a sliding operation in the display interface of the image data.
[0019] In one embodiment, if the photographing position adjustment process is triggered, the step of determining the photographing range adjustment direction and the adjustment step length comprises:
[0020] Determine the relative position of the tracking target in the field of view of the video module;
[0021] Determining a posture difference between the relative position and a preset position;
[0022] According to the posture difference, the shooting range adjustment direction and adjustment step length are determined.
[0023] In one embodiment, before the step of determining the shooting range adjustment direction and the adjustment step length if the shooting position adjustment process is triggered, the step further includes:
[0024] In the tracking mode, when it is detected that the relative position of the tracking target within the field of view changes, the shooting position adjustment process is triggered.
[0025] In one embodiment, before the step of determining the posture difference between the relative position and the preset position, the method further includes:
[0026] Determine the shooting scene according to the image data collected by the video module, and identify the type of the tracking target;
[0027] The target image is matched according to the type, and the preset position is determined based on the target image.
[0028] In one embodiment, the step of determining the shooting range adjustment direction and the adjustment step size includes:
[0029] If the vibration frequency of the video module is greater than a preset frequency, determining displacement information corresponding to the vibration parameters of the video module;
[0030] The adjustment direction is determined according to the displacement direction of the displacement information, and the adjustment step is determined according to the displacement size of the displacement information.
[0031] In addition, to achieve the above-mentioned purpose, the present application also proposes a headset control device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the headset control method as described above.
[0032] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the headphone control method described above are implemented.
[0033] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the headset control method described above are implemented.
[0034] One or more technical solutions proposed in this application have at least the following technical effects:
[0035] By setting a rotating mechanism between the video module and the earphone, when the earphone triggers the shooting position adjustment process, the operation of the rotating mechanism is controlled based on parameters such as the adjustment direction and the adjustment step length to adjust the current shooting area of the earphone, thereby improving the flexibility of shooting based on the video module of the earphone. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0037] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0038] Figure 1 A schematic diagram of a flow chart of a first embodiment of a method for controlling headphones of the present application;
[0039] Figure 2 A schematic diagram of a flow chart of a second embodiment of a method for controlling headphones of the present application;
[0040] Figure 3 Schematic diagram of the device structure of the hardware operating environment involved in the headset control method in the embodiment of the present application.
[0041] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0042] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0043] The main solution of the embodiment of the present application is to install a rotating mechanism between the video module and the earphone unit. If the shooting position adjustment process is triggered, the shooting range adjustment direction and adjustment step length are determined; according to the adjustment direction and adjustment step length, the rotation parameters of the rotating mechanism are determined; and according to the rotation parameters, the operation of the rotating mechanism is controlled. Based on this, the area and range currently shot by the earphone can be flexibly adjusted, improving shooting flexibility.
[0044] In this embodiment, for the convenience of description, the following description is made by taking the control device of the headset as the execution subject.
[0045] In the prior art, the OWS headsets with visual function modules are usually fixed with the camera module on the headset due to factory settings. When shooting videos and images, the shooting position and shooting angle are fixed, and the user cannot freely adjust the shooting angle and direction as needed, resulting in poor flexibility of OWS headset shooting.
[0046] The present application provides a solution, by setting a rotating mechanism between the video module and the earphone, so that when the earphone triggers the shooting position adjustment process, the operation of the rotating mechanism is controlled based on parameters such as the adjustment direction and the adjustment step size to adjust the current shooting area of the earphone, thereby improving the flexibility of shooting based on the video module of the earphone.
[0047] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0048] An embodiment of the present application provides a method for controlling headphones, wherein the headphones include two independent headphone units, the headphone units are provided with a video module, and a rotating mechanism is provided between the video module and the headphone units. The video module at least includes a camera device, a storage module and an image processing module, and shooting is performed based on the camera device, auxiliary shooting processing is performed based on the image processing module, and shooting data is cached based on the storage module. Optionally, the video module is detachably connected to the headphone unit, and the detachable connection method includes but is not limited to a buckle, a thread and a magnet. The rotating mechanism includes a single-axis rotating mechanism, a two-axis rotating mechanism, a spherical rotating mechanism or a universal joint rotating mechanism, etc. The types of the above-mentioned rotating mechanisms are only used for illustration, and the present application does not limit the structure of the rotating mechanism.
[0049] Based on this, please refer to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the earphone control method of the present application.
[0050] In this embodiment, the headset control method includes steps S10 to S30:
[0051] Step S10, if the shooting position adjustment process is triggered, determine the shooting range adjustment direction and adjustment step length.
[0052] It should be noted that the shooting range adjustment direction refers to the direction in which the video module needs to rotate, usually including the horizontal direction (left and right rotation) and the vertical direction (up and down rotation), and the adjustment step size refers to the amplitude or distance of each rotation of the camera device, that is, the angle range covered by each movement of the rotating mechanism. Among them, the shooting range adjustment direction and adjustment step size can be multiple, and the adjustment parameters are set in sequence. For example, the shooting range adjustment direction and adjustment step size are, rotate 15° to the east and rotate 10° downward. At this time, the rotating mechanism can execute the rotation parameters corresponding to the shooting range adjustment direction and adjustment step size in sequence.
[0053] In this embodiment, the triggering conditions of the shooting position adjustment process include factors such as changes in shooting requirements, shooting functions, and shooting environment restrictions.
[0054] As an optional implementation, when the shooting position adjustment process is triggered based on changes in shooting requirements, the changes in shooting requirements include movement of the current shooting target, changes in shooting angles, and changes in light conditions. For example, when the target currently being shot by the headset moves in the picture and needs to maintain its specific position or composition in the picture, the shooting position adjustment process can be triggered. Changes in light conditions may also trigger the shooting position adjustment process. For example, when shooting at sunrise or sunset, the position and angle of the camera may need to be adjusted to make full use of the effects of natural light.
[0055] Optionally, the shooting function includes an automatic tracking function, a preset position function and a remote control function, that is, it is necessary to automatically track a target, make the target always in the preset shooting position, and control the shooting range through remote control such as operating on a mobile phone or a charging box, or control it through the captured gesture information.
[0056] Optionally, the shooting environment limitations include space limitations, obstacle interference and safety factors, etc. For example, in some shooting environments, due to space limitations such as narrow rooms and cities with tall buildings, the shooting position may need to be adjusted. At the same time, when there are obstacles in the shooting environment such as trees, buildings, wires, and the face and skin of the user when wearing headphones, the shooting position adjustment process needs to be triggered to adjust the shooting position and angle to avoid interference with the picture by these obstacles.
[0057] Therefore, in this embodiment, after the trigger condition is met to trigger the shooting position adjustment process, it is necessary to determine the shooting range adjustment direction and the adjustment step size based on the trigger condition by calculation and / or direct acquisition. For example, if the trigger condition is a change in shooting requirements, the headset or the headset's control terminal automatically calculates the impact of current shooting target changes, light changes, etc. on the shooting effect, and then obtains the shooting range adjustment direction and adjustment step size. For example, when the shooting target moves, the movement information of the shooting target in several consecutive frames is calculated based on the image processing algorithm, and the shooting range adjustment direction and adjustment step size of the video module are calculated based on the movement information.
[0058] Optionally, if the trigger condition is a shooting function, and a gesture for adjusting the shooting position is detected, the shooting range adjustment direction and the adjustment step length are calculated based on the gesture information. If the shooting function is remote control, and the user adjusts the shooting range by operating the control terminal, the shooting range adjustment direction and the adjustment step length corresponding to the user's operation information can be directly obtained at this time. For example, the user inputs the shooting range adjustment direction and the adjustment step length on the mobile phone, and the shooting range adjustment direction and the adjustment step length can be directly obtained at this time.
[0059] It should be noted that other methods for determining the shooting range adjustment direction and the adjustment step length are not limited here. The method for simultaneously calculating the shooting range adjustment direction and the adjustment step length is not limited here.
[0060] Step S20: determining the rotation parameters of the rotation mechanism according to the adjustment direction and the adjustment step size.
[0061] It should be noted that the rotation parameters refer to the control parameters of the rotation mechanism. In the actual control process, the rotation center of the camera device of the video module is usually a fixed point of its lens or body, and the rotation center of the rotation mechanism may be its installation axis or the center point of a mechanical structure. These two rotation centers may not coincide with each other. Therefore, if the shooting range adjustment direction and adjustment step are 10° to the east, if the rotation parameters of the rotation mechanism are directly set to "rotate 10° to the east", the actual rotation angle of the camera device lens is not 10°, resulting in the actual shooting range of the adjusted video module not matching the required range.
[0062] Therefore, in this embodiment, it is necessary to determine the rotation parameters of the rotating mechanism based on the adjustment direction and adjustment step length of the shooting range. In the process of determining the rotation parameters, it is necessary to convert the adjustment direction into a rotation direction instruction of the rotating mechanism, such as clockwise and counterclockwise rotation, and then convert the adjustment step length into a specific rotation angle value of the rotating mechanism. Among them, if the video module needs to rotate horizontally and vertically at the same time to adjust the direction and the adjustment step length to multiple, it is necessary to generate two independent rotation parameter instructions, corresponding to the horizontal and vertical directions respectively. Among them, in this embodiment, the rotation parameters of the rotating mechanism corresponding to the adjustment direction and the adjustment step length can be calculated in different ways, and this application is not limited here.
[0063] Step S30: controlling the operation of the rotating mechanism according to the rotation parameters.
[0064] In this embodiment, after the rotation parameters of the rotating mechanism are obtained, a control instruction can be sent to the rotating mechanism through the control device of the headset, so that the rotating mechanism rotates the corresponding parameters based on the control instruction.
[0065] Optionally, the rotating mechanism can be controlled to rotate through a control module inside the earphone.
[0066] The operation of the rotating mechanism is controlled based on the rotation parameters, so that the shooting range can be flexibly adjusted to improve the shooting effect.
[0067] This embodiment provides a method for controlling headphones. When a shooting position adjustment process is triggered, the adjustment direction and adjustment step length of the shooting range are calculated or obtained based on the triggering conditions of the process. Then, the adjustment direction and adjustment step length are converted into parameters for controlling the rotation of the rotating mechanism through a corresponding calculation module. Finally, the rotation of the rotating mechanism is controlled based on the rotation parameters. Based on this, when the headphones are shooting through the video module, the current shooting range meets the actual shooting needs of the user by flexibly adjusting the rotating mechanism, thereby improving the flexibility of shooting.
[0068] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the first embodiment can refer to the above introduction, and will not be repeated in the following. Figure 2 , step S10 also includes steps S11 to S13:
[0069] Step S11, acquiring gesture information according to the image data collected by the video module, and determining the moving direction corresponding to the gesture information.
[0070] In this embodiment, the shooting range of the video module can be adjusted by the user's gesture information. Specifically, the user swings the camera device of the video module to adjust the shooting range within the shooting range of the video module. At this time, the image data collected by the video module contains gesture information, and then the gesture information is obtained and recognized by the model, or the gesture information is compared with the pre-stored gesture information to obtain the moving direction information corresponding to the gesture information. For example, if the gesture information is that the thumb points to a certain direction, the moving direction can be determined to be the direction indicated by the gesture.
[0071] In addition, the movement direction of the gesture may be determined based on the trajectory information of the gesture by analyzing the trajectory information of the gesture. For example, when the gesture information is waving to the right, the movement direction may be determined to be to the right.
[0072] By acquiring the moving direction, the adjustment direction of the shooting range is calculated based on the moving direction.
[0073] Step S12: determining the adjustment direction according to the moving direction.
[0074] In this embodiment, the moving direction of the gesture is the direction in which the shooting range needs to be adjusted.
[0075] Step S13, determining the adjustment step size according to a preset step size or an occlusion range corresponding to the image data.
[0076] It should be noted that the preset step length refers to the preset step length corresponding to the gesture information, that is, each gesture information is bound to a step length. At this time, the step length to be adjusted can be determined based on the preset step length corresponding to the recognized gesture information.
[0077] The occlusion range refers to the range corresponding to the occlusion within the shooting range. For example, if the occlusion occupies 50% of the shooting range, it is necessary to avoid shooting the occlusion. The corresponding adjustment step size can be determined according to the range of the occlusion.
[0078] Based on this, the headset recognizes gesture information through the video module, so that the shooting range can be quickly adjusted during the shooting process. At the same time, due to the setting of the rotating mechanism, gesture recognition can be performed without raising the hand over a large range.
[0079] In another optional implementation, after the gesture information is recognized, the actual distance of the gesture information can be calculated, and then based on the distance information, it can be determined whether the current gesture is a gesture for adjusting the shooting position, so as to avoid erroneous adjustment of the shooting position when there are other people in the shooting range making the same gesture.
[0080] Based on the above embodiments, in another embodiment of the present application, the rotating mechanism can be controlled to rotate by a control terminal. The control terminal includes electronic devices such as mobile phones, tablets, and charging boxes that can establish a wireless connection with the headset. In this process, it is necessary to obtain the image data collected by the video module, and send the image data to the control terminal, and then receive the operation information sent by the control terminal to trigger the shooting position adjustment process. Among them, when the control terminal receives a sliding operation on the display interface of the image data, it can send operation information to the headset. The operation information refers to the operation performed by the user on the control terminal, such as clicking on the mobile phone to adjust the shooting range, or sliding on the mobile phone to display the real-time captured image to adjust the shooting range.
[0081] Based on this, the shooting range adjustment direction and the adjustment step can be determined according to the operation information sent by the control terminal. For example, the user directly inputs the information of the shooting position adjustment direction and the adjustment step in the control terminal, or clicks a certain instruction such as rotating 10° east. The control terminal transmits the information to the headset. At this time, the headset can directly obtain the shooting range adjustment direction and the adjustment step based on the operation information.
[0082] Optionally, the headset may also determine a sliding track corresponding to the control action according to the operation information sent by the control terminal, and then determine the shooting range adjustment direction and the adjustment step size based on the sliding track. For example, the user slides at the display position of the received image data, and then the control terminal feeds back the sliding information to the headset, so that the headset determines the sliding track, and then determines the shooting range adjustment direction and the adjustment step size based on the actual sliding track.
[0083] If the display end of the control device of the headset receives a target operation instruction for adjusting the shooting position, the shooting position adjustment process is triggered, and then the operation information of the target operation instruction is determined, wherein the operation information refers to the information that the user slides on the display end of the control terminal, and the current shooting position is adjusted by sliding on the display interface.
[0084] In another optional embodiment, when the control terminal is an earphone box, a control component is provided on the earphone box, and the control component is similar to a joystick, and the shooting range of the video module is adjusted by moving the joystick. Therefore, if the control component of the earphone box is in motion, the shooting position adjustment process is triggered, and the moving parameters of the control component are determined, and the moving parameters include the moving direction and the moving distance. Then, based on the mapping relationship between the moving parameters and the shooting range of the video module, the shooting range adjustment direction corresponding to the moving direction and the adjustment step length corresponding to the moving distance are adjusted.
[0085] Optionally, if a display terminal is also provided on the earphone box, a control instruction for adjusting the shooting position can be received through the display terminal of the earphone box, and then the control instruction is sent to the earphone, so that the earphone determines the shooting range adjustment direction and adjustment step based on the control instruction.
[0086] Furthermore, if the earphone box is provided with a control component and a display terminal at the same time, and receives an action / control instruction for adjusting the shooting position at the same time, the shooting range adjustment direction and adjustment step length corresponding to the two control methods can be unified.
[0087] In this embodiment, the shooting range adjustment direction and the adjustment step length that need to be adjusted by the video module are determined by remote control, thereby improving the flexibility of adjusting the shooting range of the video module of the headset.
[0088] Based on the above embodiments, in another embodiment of the present application, the shooting position adjustment process can be triggered based on the shooting mode. That is, in the tracking mode of the headset, if it is detected that the relative position of the tracking target within the field of view of the video module changes, the shooting range adjustment process is triggered.
[0089] After the shooting process is triggered, the relative position of the target to be followed in the field of view of the video module can be determined, and the posture difference between the relative position and the preset position can be determined, and then the shooting range adjustment direction and adjustment step length can be determined based on the posture difference. Among them, the preset position can include the boundary area of the field of view, and the boundary area is used to ensure that the target to be followed will not leave the field of view of the video module. At this time, the posture difference is the difference between the relative position and the boundary position. If the relative position is near the boundary position, such as at the right boundary, the adjustment direction can be determined to be rightward, and the adjustment step length can be the preset step length.
[0090] Optionally, the preset position may also include the center position of the field of view. That is, when the user is taking pictures, it is sometimes necessary to ensure that the target is always in the center of the field of view. Therefore, based on the difference between the relative position of the target and the preset center position, the shooting range adjustment direction and adjustment step are determined.
[0091] Optionally, after obtaining the relative position of the tracking target in the field of view, the preset position can be determined through the current scene, that is, the shooting scene is determined according to the image data collected by the video module, and the type corresponding to the tracking target is identified. For example, if the tracking target is a certain scenic spot, the commonly used shooting position of the scenic spot can be matched at this time, and the commonly used shooting position can be used as the preset position, so as to adjust the shooting field of view so that the tracking target falls into the preset position.
[0092] Therefore, after identifying the type of the target to be followed, the target image is matched according to the type, and then the preset position is determined based on the target image. The target image may be an image selected by the user. For example, when shooting at a scenic spot, the user selects the target image matched to the current scenic spot, and uses the position of the scenic spot in the target image as the preset position, so that when shooting at the scenic spot, the shooting range is adjusted by the position of the target image. In addition, the headset can also automatically select the target position in the target image that corresponds to the target to be followed, and use the target position as the preset position.
[0093] Based on this, when shooting at scenic spots through headphones, the shooting range can be automatically adjusted to improve the shooting effect when checking in and shooting in scenic spots and other places. At the same time, based on the shooting mode, the flexibility of adjusting the shooting range of the video module can be improved.
[0094] Optionally, the feature point change information of the tracking target in the shooting area can also be determined, and the shooting range adjustment direction and adjustment step length can be determined based on the feature point change information. For example, in the two-dimensional map corresponding to the feature point change information, the tracking target moves westward, and the shooting range adjustment direction is determined to be west. At the same time, based on the feature point change information in each frame, the moving speed of the tracking target is calculated, and then the adjustment step length is calculated based on the moving speed to ensure that the shooting range always includes the tracking target.
[0095] Furthermore, if the headset is in sports mode, that is, after the user wears the headset, he shoots while running. At this time, in order to ensure shooting stability, if the vibration frequency of the video module is greater than the preset frequency, the shooting position adjustment process is triggered. Therefore, if the vibration frequency of the video module is greater than the preset frequency, the displacement information corresponding to the vibration parameters of the video module is determined, and then the adjustment direction is determined according to the displacement direction in the displacement information, and the adjustment step size is determined according to the displacement size of the displacement information. Among them, vibration parameters such as vibration frequency can be obtained through the vibration sensing module of the video module, and the displacement information corresponding to the vibration information is calculated based on the calculation module of the video module.
[0096] Therefore, the shooting range of the ear video module can be adjusted according to the current shooting mode of the headset, thereby improving the flexibility of shooting adjustment.
[0097] Based on the above embodiment, in another embodiment of the present application, after controlling the rotation mechanism to operate, the image processing module of the video module can be used to verify whether the current shooting position is the required position, and then when the shooting position is not at the required position, a secondary adjustment can be triggered, and the rotation mechanism can be adjusted according to the recalculated parameters. Alternatively, the current deviation information is recorded, and the error parameters of the rotation mechanism are determined based on the recorded deviation information, so that when making subsequent adjustments, the calculated rotation parameters can be optimized based on the error parameters of the rotation mechanism.
[0098] Therefore, when the shooting position is not the required position, or the shooting target is not at the target position, the headset triggers the shooting range exception process, and then compares the current shooting range with the actually required shooting range to obtain exception information, which includes the actual deviation step and / or deviation direction, and then updates the error information of the rotation mechanism based on the exception information. For example, if an error of -1° occurs in the rotation distance, a parameter of 1° is added when the rotation parameters are subsequently calculated.
[0099] Optionally, if the error corresponding to the abnormal information is large, such as exceeding 5°, it is necessary to re-execute the step of determining the rotation parameters of the rotation mechanism based on the abnormal information, so as to optimize the shooting range through secondary adjustment.
[0100] In this embodiment, when the shooting range after the rotating mechanism rotates does not meet the requirements, the shooting range abnormal process is triggered and the rotating mechanism is readjusted or the error information of the rotating mechanism is updated based on the abnormal information, so that the shooting range rotation effect is optimized during the shooting process.
[0101] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the control method of the headphones of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0102] The present application provides a headset control device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the headset control method in the first embodiment described above.
[0103] Reference below Figure 3, which shows a schematic diagram of the structure of a headset control device suitable for implementing the embodiment of the present application. The headset control device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 3 The control device of the headset shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0104] like Figure 3 As shown, the control device of the headset may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the control device of the headset are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the control device of the headset to communicate with other devices wirelessly or by wire to exchange data. Although the control device of the headset with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0105] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0106] The headset control device provided by the present application adopts the headset control method in the above embodiment, which can solve the technical problem that the current camera module is fixed on the headset, resulting in poor shooting flexibility of the headset. Compared with the prior art, the beneficial effects of the headset control device provided by the present application are the same as the beneficial effects of the headset control method provided by the above embodiment, and other technical features in the headset control device are the same as the features disclosed in the previous embodiment method, which will not be repeated here.
[0107] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0108] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0109] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the earphone control method in the above-mentioned embodiment.
[0110] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0111] The computer-readable storage medium may be included in the control device of the headset; or may exist independently without being assembled into the control device of the headset.
[0112] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the control device of the headset, the control device of the headset:
[0113] If the shooting position adjustment process is triggered, the shooting range adjustment direction and adjustment step length are determined;
[0114] Determining the rotation parameters of the rotating mechanism according to the adjustment direction and the adjustment step;
[0115] The operation of the rotating mechanism is controlled according to the rotation parameter.
[0116] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0117] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0118] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0119] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned headset control method, and can solve the technical problem that the current camera module is fixed on the headset, resulting in poor shooting flexibility of the headset. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the headset control method provided by the above-mentioned embodiment, and will not be repeated here.
[0120] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A method for controlling a headset, characterized in that: Applied to earphones, the earphones include two independent earphone units, the earphone units are provided with video modules, a rotating mechanism is provided between the video module and the earphone units, and the method for controlling the earphones includes: If the shooting position adjustment process is triggered, the shooting range adjustment direction and adjustment step length are determined; Determining the rotation parameters of the rotating mechanism according to the adjustment direction and the adjustment step; The operation of the rotating mechanism is controlled according to the rotation parameter.
2. The method for controlling the earphone according to claim 1, characterized in that: The step of determining the shooting range adjustment direction and the adjustment step length comprises: Acquire gesture information according to the image data collected by the video module, and determine the moving direction corresponding to the gesture information; determining the adjustment direction according to the moving direction; The adjustment step size is determined according to a preset step size or an occlusion range corresponding to the image data.
3. The method for controlling the earphone according to claim 1, characterized in that: The step of determining the shooting range adjustment direction and the adjustment step length comprises: Determining the shooting range adjustment direction and the adjustment step length according to the operation information sent by the control terminal; or The sliding track corresponding to the control action is determined according to the operation information sent by the control terminal, and the adjustment direction and the adjustment step length of the shooting range are determined according to the sliding track.
4. The method for controlling the earphone according to claim 3, characterized in that: Before the step of determining the shooting range adjustment direction and the adjustment step length, the method further includes: Acquire image data collected by the video module, and send the image data to the control terminal; The operation information sent by the control terminal is received, and the shooting position adjustment process is triggered, wherein the control terminal sends the operation information to the headset when receiving a sliding operation in the display interface of the image data.
5. The method for controlling the earphone according to claim 1, characterized in that: If the shooting position adjustment process is triggered, the step of determining the shooting range adjustment direction and the adjustment step length includes: Determine the relative position of the tracking target in the field of view of the video module; Determining a posture difference between the relative position and a preset position; According to the posture difference, the shooting range adjustment direction and adjustment step length are determined.
6. The method for controlling the earphone according to claim 1, characterized in that: If the shooting position adjustment process is triggered, before the step of determining the shooting range adjustment direction and the adjustment step length, the process further includes: In the tracking mode, when it is detected that the relative position of the tracking target within the field of view changes, the shooting position adjustment process is triggered.
7. The method according to claim 5, characterized in that Before the step of determining the posture difference between the relative position and the preset position, the method further includes: Determine the shooting scene according to the image data collected by the video module, and identify the type of the tracking target; The target image is matched according to the type, and the preset position is determined based on the target image.
8. The method for controlling an earphone according to claim 1, wherein: The step of determining the shooting range adjustment direction and the adjustment step length comprises: If the vibration frequency of the video module is greater than a preset frequency, determining displacement information corresponding to the vibration parameters of the video module; The adjustment direction is determined according to the displacement direction of the displacement information, and the adjustment step is determined according to the displacement size of the displacement information.
9. A headset control device, characterized in that: The headset control device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the headset control method according to any one of claims 1 to 8.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the earphone control method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Camera fine adjustment control method and system
CN105141844A
Earphone with camera shooting function, and method and device for outputting control signal
CN109862274A
Following shot system based on earphones and following shot control method
CN111405179A
Earphone with camera
CN113490103A
Multifunctional bluetooth earphone
CN207304834U
Cited By
Earphone wearing adjustment method and system, earphone, readable storage medium and product
CN120455891A